mirror of
https://github.com/rancher/os.git
synced 2025-07-13 14:44:03 +00:00
Merge pull request #1188 from joshwget/upgrade-from-persistent-consoles
Fix upgrades from persistent consoles
This commit is contained in:
commit
f5be4686d5
@ -26,6 +26,11 @@ ln -s ros ${INITRD_DIR}/usr/bin/docker-runc
|
|||||||
ln -s ../../../../usr/bin/ros ${INITRD_DIR}/usr/var/lib/cni/bin/bridge
|
ln -s ../../../../usr/bin/ros ${INITRD_DIR}/usr/var/lib/cni/bin/bridge
|
||||||
ln -s ../../../../usr/bin/ros ${INITRD_DIR}/usr/var/lib/cni/bin/host-local
|
ln -s ../../../../usr/bin/ros ${INITRD_DIR}/usr/var/lib/cni/bin/host-local
|
||||||
|
|
||||||
|
# Support upgrades from old persistent consoles that bind mount these
|
||||||
|
touch ${INITRD_DIR}/usr/bin/docker-containerd
|
||||||
|
touch ${INITRD_DIR}/usr/bin/docker-containerd-shim
|
||||||
|
touch ${INITRD_DIR}/usr/bin/docker
|
||||||
|
|
||||||
if [ -e ${DOWNLOADS}/kernel.tar.gz ]; then
|
if [ -e ${DOWNLOADS}/kernel.tar.gz ]; then
|
||||||
mkdir -p ${BUILD}/kernel
|
mkdir -p ${BUILD}/kernel
|
||||||
tar xf ${DOWNLOADS}/kernel.tar.gz -C ${BUILD}/kernel
|
tar xf ${DOWNLOADS}/kernel.tar.gz -C ${BUILD}/kernel
|
||||||
|
Loading…
Reference in New Issue
Block a user