mkimage: umount boot only in !beaglebone.
This commit is contained in:
parent
f5af7c32bd
commit
a3675d092f
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user