mirror of
https://github.com/kairos-io/osbuilder.git
synced 2025-06-22 05:10:42 +00:00
Sync before trying to remove the devmappings
Signed-off-by: Itxaka <itxaka.garcia@spectrocloud.com>
This commit is contained in:
parent
2bd2a89003
commit
119c25f105
@ -442,6 +442,10 @@ sync
|
|||||||
echo ">> Performing $model specific bits.."
|
echo ">> Performing $model specific bits.."
|
||||||
/arm/boards/$model.sh ${DRIVE}
|
/arm/boards/$model.sh ${DRIVE}
|
||||||
|
|
||||||
|
sync
|
||||||
|
sleep 5
|
||||||
|
sync
|
||||||
|
|
||||||
kpartx -dv $DRIVE
|
kpartx -dv $DRIVE
|
||||||
|
|
||||||
umount $DRIVE || true
|
umount $DRIVE || true
|
||||||
|
Loading…
Reference in New Issue
Block a user