mirror of
https://github.com/flatcar/scripts.git
synced 2025-12-09 03:11:49 +01:00
fix(set_lsb_release): swap BUILD_ID and VERSION_ID
This is what happens when you run off without finishing testing.
This commit is contained in:
parent
a5366ee685
commit
fcb2a614b6
@ -85,8 +85,8 @@ EOF
|
||||
# Aaaannd for the new systemd world order
|
||||
# os-release provides a seperate build-id field, so split it from version
|
||||
OS_ID=$(tr '[:upper:]' '[:lower:]' <<<"$COREOS_VERSION_NAME")
|
||||
OS_VERION_ID="${COREOS_VERSION_STRING#*+}"
|
||||
OS_BUILD_ID="${COREOS_VERSION_STRING%%+*}"
|
||||
OS_VERION_ID="${COREOS_VERSION_STRING%%+*}"
|
||||
OS_BUILD_ID="${COREOS_VERSION_STRING#*+}"
|
||||
sudo_clobber "${ROOT_FS_DIR}/etc/os-release" <<EOF
|
||||
NAME=$COREOS_VERSION_NAME
|
||||
ID=$OS_ID
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user