mirror of
https://github.com/Dasharo/systemd.git
synced 2026-03-06 15:02:31 -08: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:
@@ -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"
|
||||
|
||||
Reference in New Issue
Block a user