about summary refs log tree commit diff
diff options
context:
space:
mode:
authorJuan RP <xtraeme@gmail.com>2014-12-06 09:42:17 +0100
committerJuan RP <xtraeme@gmail.com>2014-12-06 09:42:17 +0100
commitf3dea549e8420b9dd583c9148e59587d81fc5038 (patch)
tree5bd800d002f1e844df66089b1652e29ec92311a0
parent8939262303d6876b94b48820081e4bc908ab7f5a (diff)
downloadhrmpf-f3dea549e8420b9dd583c9148e59587d81fc5038.tar.gz
hrmpf-f3dea549e8420b9dd583c9148e59587d81fc5038.tar.xz
hrmpf-f3dea549e8420b9dd583c9148e59587d81fc5038.zip
mkimage: simplify.
-rw-r--r--mkimage.sh.in4
1 files changed, 1 insertions, 3 deletions
diff --git a/mkimage.sh.in b/mkimage.sh.in
index c154666..ded9b7d 100644
--- a/mkimage.sh.in
+++ b/mkimage.sh.in
@@ -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