Kaynağa Gözat

mkimage: umount boot only in !beaglebone.

Juan RP 10 yıl önce
ebeveyn
işleme
a3675d092f
1 değiştirilmiş dosya ile 3 ekleme ve 1 silme
  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