Compare commits

...

2 Commits

Author SHA1 Message Date
Itxaka
3b33562fc3 Merge pull request #46 from Itxaka/ignore_kpartx_failiure 2023-04-27 15:59:59 +02:00
Itxaka
30afd3535f 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 <itxaka.garcia@spectrocloud.com>
2023-04-27 15:16:53 +02:00

View File

@@ -446,7 +446,7 @@ sync
sleep 5
sync
kpartx -dv $DRIVE
kpartx -dv $DRIVE || true
umount $DRIVE || true