Skip to content
Snippets Groups Projects
Commit a79559c8 authored by Gerardo Pozzi's avatar Gerardo Pozzi
Browse files

[archiso] Avoid journald log to /var/log/journal


This was recently enabled in [systemd] package.

Signed-off-by: default avatarGerardo Exequiel Pozzi <vmlinuz386@yahoo.com.ar>
parent aece3e3d
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment