mirror of
https://github.com/flatcar/scripts.git
synced 2026-05-05 04:06:33 +02:00
fix(build_library): put lsb-release in usr too
This commit is contained in:
parent
ed19e9f559
commit
6620d7a5a7
@ -76,7 +76,7 @@ fi
|
||||
# update service.
|
||||
# DISTRIB_* are the standard names for the same values.
|
||||
sudo mkdir -p "${ROOT_FS_DIR}/etc"
|
||||
sudo_clobber "${ROOT_FS_DIR}/etc/lsb-release" <<EOF
|
||||
sudo_clobber "${ROOT_FS_DIR}/usr/share/coreos/lsb-release" <<EOF
|
||||
DISTRIB_ID=$COREOS_VERSION_NAME
|
||||
DISTRIB_RELEASE=$COREOS_VERSION_STRING
|
||||
DISTRIB_CODENAME="napping to fan noise / silence. the build successful / type git bisect good"
|
||||
@ -90,6 +90,8 @@ COREOS_AUSERVER=$COREOS_VERSION_AUSERVER
|
||||
COREOS_DEVSERVER=$COREOS_VERSION_DEVSERVER
|
||||
EOF
|
||||
|
||||
sudo ln -sf "../usr/share/coreos/lsb-release" "${ROOT_FS_DIR}/etc/lsb-release"
|
||||
|
||||
# For things like python which read gentoo-release
|
||||
sudo_clobber "${ROOT_FS_DIR}/etc/gentoo-release" <<EOF
|
||||
$COREOS_VERSION_NAME release $COREOS_VERSION_STRING
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user