Skip to content

Commit 30afd35

Browse files
committed
Ignore kpartx failure on arm image
Seems that if the system is slow enough, kpartx will fail to remove the devmapping and will fail the script Signed-off-by: Itxaka <[email protected]>
1 parent c07dfad commit 30afd35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tools-image/build-arm-image.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -446,7 +446,7 @@ sync
446446
sleep 5
447447
sync
448448

449-
kpartx -dv $DRIVE
449+
kpartx -dv $DRIVE || true
450450

451451
umount $DRIVE || true
452452

0 commit comments

Comments
 (0)