mirror of
https://github.com/systemd/systemd
synced 2024-09-06 00:41:36 +00:00
mkosi: Make sure we create an image without /var/log/journal
This allows journald to create the directory itself with the right chattr settings on first boot.
This commit is contained in:
parent
744fe45b8f
commit
742b77e1d2
|
@ -68,3 +68,7 @@ rm -f /etc/resolv.conf
|
|||
for f in "$BUILDROOT"/usr/share/*.verity.sig; do
|
||||
jq --join-output '.rootHash' "$f" >"${f%.verity.sig}.roothash"
|
||||
done
|
||||
|
||||
# We want /var/log/journal to be created on first boot so it can be created with the right chattr settings by
|
||||
# systemd-journald.
|
||||
rm -r "$BUILDROOT/var/log/journal"
|
||||
|
|
Loading…
Reference in a new issue