sbin/overlayRoot.sh aktualisiert
This commit is contained in:
@@ -56,8 +56,8 @@ cd /overlay/newroot
|
|||||||
pivot_root . overlay || fail "ERROR: pivot_root fehlgeschlagen."
|
pivot_root . overlay || fail "ERROR: pivot_root fehlgeschlagen."
|
||||||
|
|
||||||
exec chroot . /bin/bash -c "
|
exec chroot . /bin/bash -c "
|
||||||
mount --move /overlay/overlay/lower /ro || fail 'ERROR: /ro konnte nicht verschoben werden.'
|
mount --move /overlay/overlay/lower /overlay/ro || fail 'ERROR: /ro konnte nicht verschoben werden.'
|
||||||
mount --move /overlay/overlay/rw /rw || fail 'ERROR: /rw konnte nicht verschoben werden.'
|
mount --move /overlay/overlay/rw /overlay/rw || fail 'ERROR: /rw konnte nicht verschoben werden.'
|
||||||
umount /overlay/overlay || true
|
umount /overlay/overlay || true
|
||||||
umount /overlay/proc || true
|
umount /overlay/proc || true
|
||||||
umount -l -f /overlay/dev || true
|
umount -l -f /overlay/dev || true
|
||||||
|
|||||||
Reference in New Issue
Block a user