Remove the trap, THEN cleanup
This commit is contained in:
parent
c4b91aa64a
commit
9e926a90dc
1 changed files with 1 additions and 1 deletions
|
@ -131,8 +131,8 @@ env ASSUME_ALWAYS_YES=YES pkg -c /mnt install sudo bash curl base64 ruby open-vm
|
||||||
env ASSUME_ALWAYS_YES=YES pkg -c /mnt clean --all
|
env ASSUME_ALWAYS_YES=YES pkg -c /mnt clean --all
|
||||||
rm /mnt/one-context.txz
|
rm /mnt/one-context.txz
|
||||||
|
|
||||||
cleanup
|
|
||||||
trap : EXIT
|
trap : EXIT
|
||||||
|
cleanup
|
||||||
|
|
||||||
mkdir -p "$ARCH"
|
mkdir -p "$ARCH"
|
||||||
qemu-img convert -f raw -O qcow2 "$disk" "$IMAGE_PATH"
|
qemu-img convert -f raw -O qcow2 "$disk" "$IMAGE_PATH"
|
||||||
|
|
Loading…
Reference in a new issue