diff options
Diffstat (limited to 'mkimage.sh.in')
-rw-r--r-- | mkimage.sh.in | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mkimage.sh.in b/mkimage.sh.in index f1b267f..91096e9 100644 --- a/mkimage.sh.in +++ b/mkimage.sh.in @@ -184,7 +184,9 @@ elif [ "$PLATFORM" = "odroid-u2" ]; then dd if=${ROOTFSDIR}/boot/E4412_S.tzsw.signed.bin of=${LOOPDEV} seek=2111 >/dev/null 2>&1 fi -mountpoint -q ${ROOTFSDIR}/boot || umount ${ROOTFSDIR}/boot +if [ "$PLATFORM" != "beaglebone" ]; then + umount ${ROOTFSDIR}/boot +fi umount $ROOTFSDIR partx -d $LOOPDEV losetup -d $LOOPDEV |