diff options
Diffstat (limited to 'archiso/mkarchiso')
-rwxr-xr-x | archiso/mkarchiso | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/archiso/mkarchiso b/archiso/mkarchiso index b8d14e1..a1ff68d 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -255,6 +255,10 @@ _cleanup () { if [[ -d "${work_dir}/root-image/var/log" ]]; then find "${work_dir}/root-image/var/log" -type f -delete fi + # Avoid journald use permanent storage (Storage=auto) + if [[ -d "${work_dir}/root-image/var/log/journal" ]]; then + rm -rf "${work_dir}/root-image/var/log/journal" + fi # Delete all temporary files and dirs if [[ -d "${work_dir}/root-image/var/tmp" ]]; then find "${work_dir}/root-image/var/tmp" -mindepth 1 -delete |