[archiso] archiso_shutdown: Avoid mtab warning (not found)
Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
6f9c629393
commit
ab5d67fe43
@ -2,7 +2,7 @@
|
||||
|
||||
# /oldroot depends on things inside /oldroot/run/archiso...
|
||||
mkdir /oldrun
|
||||
mount --move /oldroot/run /oldrun
|
||||
mount -n --move /oldroot/run /oldrun
|
||||
|
||||
# Unmount all mounts now.
|
||||
umount $(mount | awk '$3 ~/^\/oldroot/ {print $3}' | sort -r)
|
||||
|
Loading…
Reference in New Issue
Block a user