[archiso] Do not bind mount on /bootmnt
Boot media is already available in /run/archiso/bootmnt if no copytoram is used. Signed-off-by: Gerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
This commit is contained in:
parent
54d2e0336a
commit
baf0ae0013
@ -242,9 +242,6 @@ archiso_mount_handler() {
|
|||||||
|
|
||||||
if [[ "${copytoram}" == "y" ]]; then
|
if [[ "${copytoram}" == "y" ]]; then
|
||||||
umount /run/archiso/bootmnt
|
umount /run/archiso/bootmnt
|
||||||
else
|
|
||||||
mkdir -p "${newroot}/bootmnt"
|
|
||||||
mount --bind /run/archiso/bootmnt "${newroot}/bootmnt"
|
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user