mirror of
https://github.com/systemd/systemd.git
synced 2024-11-27 04:03:36 +08:00
test: fix TEST-24-CRYPTSETUP on SUSE
/etc/systemd/journald.conf.d drop-in dir already exists on SUSE.
This commit is contained in:
parent
a09825ce9f
commit
56a894e888
@ -198,7 +198,7 @@ EOF
|
|||||||
|
|
||||||
# Forward journal messages to the console, so we have something to investigate even if we fail to mount
|
# Forward journal messages to the console, so we have something to investigate even if we fail to mount
|
||||||
# the encrypted /var
|
# 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"
|
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
|
# If $INITRD wasn't provided explicitly, generate a custom one with dm-crypt
|
||||||
|
Loading…
Reference in New Issue
Block a user