From 30afd3535f35971db729a76a365d8b99dc65b634 Mon Sep 17 00:00:00 2001 From: Itxaka Date: Thu, 27 Apr 2023 15:16:53 +0200 Subject: [PATCH] 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 --- tools-image/build-arm-image.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools-image/build-arm-image.sh b/tools-image/build-arm-image.sh index 86f651e..8f5824e 100755 --- a/tools-image/build-arm-image.sh +++ b/tools-image/build-arm-image.sh @@ -446,7 +446,7 @@ sync sleep 5 sync -kpartx -dv $DRIVE +kpartx -dv $DRIVE || true umount $DRIVE || true