Ver Fonte

mkimage: umount boot only in !beaglebone.

Juan RP há 10 anos atrás
pai
commit
a3675d092f
1 ficheiros alterados com 3 adições e 1 exclusões
  1. 3 1
      mkimage.sh.in

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