mirror of
https://github.com/rancher/os.git
synced 2025-08-09 10:38:25 +00:00
Fix os-releases symlink
This commit is contained in:
parent
a57fb3e5c3
commit
eb762f903f
@ -85,9 +85,9 @@ case ${OS_CONSOLE} in
|
|||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
|
||||||
# TODO: usr/lib dir is overwritten by the kernel modules and firmware
|
pushd ${INITRD_DIR}/usr/etc
|
||||||
ln -s ${INITRD_DIR}/usr/share/ros/os-release ${INITRD_DIR}/usr/lib/
|
ln -s ../share/ros/os-release .
|
||||||
ln -s ${INITRD_DIR}/usr/share/ros/os-release ${INITRD_DIR}/usr/etc/
|
popd
|
||||||
|
|
||||||
# Support upgrades from old persistent consoles that bind mount these
|
# Support upgrades from old persistent consoles that bind mount these
|
||||||
touch ${INITRD_DIR}/usr/bin/docker-containerd
|
touch ${INITRD_DIR}/usr/bin/docker-containerd
|
||||||
|
Loading…
Reference in New Issue
Block a user