Skip to content
Snippets Groups Projects

Remove the pacstrap directory early to lower the maximum size of the working directory

Merged Julian requested to merge ateles/archiso:master into master
2 files
+ 9
0
Compare changes
  • Side-by-side
  • Inline
Files
2
+ 7
0
@@ -1704,6 +1704,13 @@ _build_bootstrap_image() {
# Build ISO
_build_iso_image() {
# Remove the pacstrap directory early to lower the maximum size of the working directory.
# The creation of the airootfs image has already been completed.
if (( rm_work_dir )); then
_msg_info 'Removing pacstrap directory...'
rm -rf -- "${work_dir:?}/${arch}/airootfs"
fi
local xorriso_options=() xorrisofs_options=()
local bootmode
Loading