Drop rm images
This commit is contained in:
parent
a1f2e9a113
commit
94b1d87b7b
1 changed files with 0 additions and 6 deletions
6
arkdep
6
arkdep
|
@ -704,9 +704,6 @@ deploy () {
|
||||||
btrfs receive $arkdep_dir/deployments/${data[0]} ||
|
btrfs receive $arkdep_dir/deployments/${data[0]} ||
|
||||||
cleanup_and_quit 'Failed to receive root'
|
cleanup_and_quit 'Failed to receive root'
|
||||||
|
|
||||||
# Cleanup root image
|
|
||||||
rm $arkdep_dir/cache/${data[0]}-rootfs.img
|
|
||||||
|
|
||||||
# Extract the etc image if not yet extracted
|
# Extract the etc image if not yet extracted
|
||||||
printf '\e[1;34m-->\e[0m\e[1m Writing etc\e[0m\n'
|
printf '\e[1;34m-->\e[0m\e[1m Writing etc\e[0m\n'
|
||||||
|
|
||||||
|
@ -723,9 +720,6 @@ deploy () {
|
||||||
btrfs property set -f -ts $arkdep_dir/deployments/${data[0]}/rootfs/etc ro false ||
|
btrfs property set -f -ts $arkdep_dir/deployments/${data[0]}/rootfs/etc ro false ||
|
||||||
cleanup_and_quit 'Failed to unlock root to write etc'
|
cleanup_and_quit 'Failed to unlock root to write etc'
|
||||||
|
|
||||||
# Cleanup etc image
|
|
||||||
rm $arkdep_dir/cache/${data[0]}-etc.img
|
|
||||||
|
|
||||||
# Write the var image
|
# Write the var image
|
||||||
printf '\e[1;34m-->\e[0m\e[1m Writing var\e[0m\n'
|
printf '\e[1;34m-->\e[0m\e[1m Writing var\e[0m\n'
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue