mirror of
https://github.com/flatcar/scripts.git
synced 2025-09-23 22:51:03 +02:00
fix(set_lsb_release): Make sure $ROOT/etc exists.
Useful for generating a root filesystem overlay that catalyst can apply.
This commit is contained in:
parent
ff6af5ea8f
commit
a21a545f2e
@ -67,6 +67,7 @@ fi
|
||||
# COREOS_RELEASE_TRACK and COREOS_RELEASE_VERSION are used by the software
|
||||
# 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
|
||||
DISTRIB_ID=$COREOS_VERSION_NAME
|
||||
DISTRIB_RELEASE=$COREOS_VERSION_STRING
|
||||
|
Loading…
x
Reference in New Issue
Block a user