[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:
Gerardo Exequiel Pozzi 2011-11-16 21:35:46 -03:00
parent 54d2e0336a
commit baf0ae0013

View File

@ -242,9 +242,6 @@ archiso_mount_handler() {
if [[ "${copytoram}" == "y" ]]; then
umount /run/archiso/bootmnt
else
mkdir -p "${newroot}/bootmnt"
mount --bind /run/archiso/bootmnt "${newroot}/bootmnt"
fi
}