Sfoglia il codice sorgente

mkimage: simplify.

Juan RP 10 anni fa
parent
commit
f3dea549e8
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  1. 1 3
      mkimage.sh.in

+ 1 - 3
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