From: Franck Bui Date: Tue, 2 Jul 2024 08:33:29 +0000 (+0200) Subject: test: fix TEST-24-CRYPTSETUP on SUSE X-Git-Tag: v257-rc1~993^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=56a894e888002f44f3463b3188f9d5abdcca4bb0;p=thirdparty%2Fsystemd.git test: fix TEST-24-CRYPTSETUP on SUSE /etc/systemd/journald.conf.d drop-in dir already exists on SUSE. --- diff --git a/test/TEST-24-CRYPTSETUP/test.sh b/test/TEST-24-CRYPTSETUP/test.sh index a7e118c4f0d..a275cca302c 100755 --- a/test/TEST-24-CRYPTSETUP/test.sh +++ b/test/TEST-24-CRYPTSETUP/test.sh @@ -198,7 +198,7 @@ EOF # Forward journal messages to the console, so we have something to investigate even if we fail to mount # the encrypted /var - mkdir "$initdir/etc/systemd/journald.conf.d/" + mkdir -p "$initdir/etc/systemd/journald.conf.d/" echo -ne "[Journal]\nForwardToConsole=yes\n" >"$initdir/etc/systemd/journald.conf.d/99-forward.conf" # If $INITRD wasn't provided explicitly, generate a custom one with dm-crypt