Ensure bootmnt is bound properly into device root
Missing slash caused bootmnt to be bound to /real_rootbootmnt instead of /real_root/bootmnt See FS#15356 Signed-off-by: Aaron Griffin <aaronmgriffin@gmail.com>
This commit is contained in:
parent
34af723fab
commit
2aca746d58
@ -104,7 +104,7 @@ run_hook ()
|
|||||||
done < "/bootmnt/isomounts"
|
done < "/bootmnt/isomounts"
|
||||||
|
|
||||||
# Bind our bootmnt dir into the live system
|
# Bind our bootmnt dir into the live system
|
||||||
_mnt_bind /bootmnt bootmnt
|
_mnt_bind /bootmnt /bootmnt
|
||||||
|
|
||||||
if [ -d /proc/sys/dev/cdrom ]; then
|
if [ -d /proc/sys/dev/cdrom ]; then
|
||||||
echo 0 > /proc/sys/dev/cdrom/lock
|
echo 0 > /proc/sys/dev/cdrom/lock
|
||||||
|
Loading…
Reference in New Issue
Block a user