From c5539c799c6d001f5360f8bac94d7c4c0da712f2 Mon Sep 17 00:00:00 2001 From: Gerardo Exequiel Pozzi Date: Sat, 21 Sep 2013 16:53:45 -0300 Subject: [configs/releng] explicit set 'Storage=volatile' for journald Signed-off-by: Gerardo Exequiel Pozzi --- archiso/mkarchiso | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'archiso') diff --git a/archiso/mkarchiso b/archiso/mkarchiso index 8f9ed42..fb65f09 100755 --- a/archiso/mkarchiso +++ b/archiso/mkarchiso @@ -236,7 +236,7 @@ _cleanup () { _msg_info "Cleaning up what we can on root-image..." # Delete initcpio image(s) - if [[ -d "${work_dir}/root-image/boot" ]]; then + if [[ -d "${work_dir}/root-image/boot" ]]; then find "${work_dir}/root-image/boot" -type f -name '*.img' -delete fi # Delete kernel(s) @@ -259,10 +259,6 @@ _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-54-g00ecf