mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-04 19:56:32 +02:00
set_lsb_release: Drop the "Oklo" release codename
It was never updated in a meaningful way. It was only used directly in lsb_release, which is a dead standard. It was included in the os-release `PRETTY_NAME` but not as a field on its own. Closes: https://github.com/flatcar/scripts/pull/88 Signed-off-by: James Le Cuirot <jlecuirot@microsoft.com>
This commit is contained in:
parent
e4b22372ce
commit
b82850d1c9
@ -26,10 +26,9 @@ ROOT_FS_DIR="$FLAGS_root"
|
||||
[ -d "$ROOT_FS_DIR" ] || die "Root FS does not exist? ($ROOT_FS_DIR)"
|
||||
|
||||
OS_NAME="Flatcar Container Linux by Kinvolk"
|
||||
OS_CODENAME="Oklo"
|
||||
OS_ID="flatcar"
|
||||
OS_ID_LIKE="coreos"
|
||||
OS_PRETTY_NAME="$OS_NAME $FLATCAR_VERSION (${OS_CODENAME})"
|
||||
OS_PRETTY_NAME="$OS_NAME $FLATCAR_VERSION"
|
||||
|
||||
FLATCAR_APPID="{e96281a6-d1af-4bde-9a0a-97b76e56dc57}"
|
||||
|
||||
@ -38,8 +37,7 @@ sudo mkdir -p "${ROOT_FS_DIR}/usr/share/flatcar" "${ROOT_FS_DIR}/etc/flatcar"
|
||||
sudo_clobber "${ROOT_FS_DIR}/usr/share/flatcar/lsb-release" <<EOF
|
||||
DISTRIB_ID="$OS_NAME"
|
||||
DISTRIB_RELEASE=$FLATCAR_VERSION
|
||||
DISTRIB_CODENAME="$OS_CODENAME"
|
||||
DISTRIB_DESCRIPTION="$OS_PRETTY_NAME"
|
||||
DISTRIB_DESCRIPTION="$BRANDING_OS_PRETTY_NAME"
|
||||
EOF
|
||||
sudo ln -sf "../usr/share/flatcar/lsb-release" "${ROOT_FS_DIR}/etc/lsb-release"
|
||||
|
||||
|
||||
1
changelog/changes/2026-02-23-oklo-codename.md
Normal file
1
changelog/changes/2026-02-23-oklo-codename.md
Normal file
@ -0,0 +1 @@
|
||||
- Dropped the "Oklo" release codename as it was never updated in a meaningful way.
|
||||
Loading…
x
Reference in New Issue
Block a user