mkimage: simplify.

This commit is contained in:
Juan RP 2014-12-06 09:42:17 +01:00
parent 8939262303
commit f3dea549e8

View File

@ -183,9 +183,7 @@ elif [ "$PLATFORM" = "odroid-u2" ]; then
dd if=${ROOTFSDIR}/boot/E4412_S.tzsw.signed.bin of=${LOOPDEV} seek=2111 >/dev/null 2>&1
fi
if [ "$PLATFORM" != "beaglebone" ]; then
umount ${ROOTFSDIR}/boot
fi
umount ${ROOTFSDIR}/boot || :
umount $ROOTFSDIR
losetup -d $LOOPDEV
rmdir $ROOTFSDIR