From a79559c897fe346ff51afbc54ac4a93ef194576a Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Wed, 24 Oct 2012 13:18:17 -0300 Subject: [archiso] Avoid journald log to /var/log/journal This was recently enabled in [systemd] package. Signed-off-by: Gerardo Exequiel Pozzi --- archiso/mkarchiso | 4 ++++ 1 file changed, 4 insertions(+) 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 -- cgit v1.2.3-70-g09d2