diff options
Diffstat (limited to 'scripts/contrib/mkefidisk.sh')
-rwxr-xr-x | scripts/contrib/mkefidisk.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/scripts/contrib/mkefidisk.sh b/scripts/contrib/mkefidisk.sh index 959307ae42..0d0674b4c2 100755 --- a/scripts/contrib/mkefidisk.sh +++ b/scripts/contrib/mkefidisk.sh @@ -241,7 +241,11 @@ mkdir $ROOTFS_MNT mkdir $BOOTFS_MNT mount -o loop $HDDIMG $HDDIMG_MNT +if [ $? -ne 0 ]; then echo "ERROR: Failed to mount $HDDIMG"; fi + mount -o loop $HDDIMG_MNT/rootfs.img $HDDIMG_ROOTFS_MNT +if [ $? -ne 0 ]; then echo "ERROR: Failed to mount rootfs.img"; fi + mount $ROOTFS $ROOTFS_MNT mount $BOOTFS $BOOTFS_MNT |