mklive.sh: dont error out if loop module cannot be loaded.

This commit is contained in:
Juan RP 2014-12-05 12:45:43 +01:00
parent 3818e6d425
commit f5af7c32bd

View File

@ -177,7 +177,7 @@ generate_grub_efi_boot() {
-e "s|@@BOOT_CMDLINE@@|${BOOT_CMDLINE}|" \
-e "s|@@LOCALE@@|${LOCALE}|" $GRUB_DIR/grub_void.cfg
modprobe -q loop
modprobe -q loop || :
# Create EFI vfat image.
dd if=/dev/zero of=$GRUB_DIR/efiboot.img bs=1024 count=4096 >>$LOGFILE 2>&1