mirror of
https://github.com/systemd/systemd.git
synced 2025-03-03 16:58:37 +03: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…
x
Reference in New Issue
Block a user