1
0
mirror of https://github.com/rancher/os.git synced 2025-07-31 06:32:09 +00:00

Fix os-releases symlink

This commit is contained in:
niusmallnan 2019-03-18 13:29:06 +08:00 committed by niusmallnan
parent a57fb3e5c3
commit eb762f903f

View File

@ -85,9 +85,9 @@ case ${OS_CONSOLE} in
;;
esac
# TODO: usr/lib dir is overwritten by the kernel modules and firmware
ln -s ${INITRD_DIR}/usr/share/ros/os-release ${INITRD_DIR}/usr/lib/
ln -s ${INITRD_DIR}/usr/share/ros/os-release ${INITRD_DIR}/usr/etc/
pushd ${INITRD_DIR}/usr/etc
ln -s ../share/ros/os-release .
popd
# Support upgrades from old persistent consoles that bind mount these
touch ${INITRD_DIR}/usr/bin/docker-containerd