1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-22 17:35:35 +03:00

mkosi: Don't fail if /var/log/journal does not exist

(cherry picked from commit 877842ed52)
This commit is contained in:
Daan De Meyer 2024-07-05 11:24:27 +02:00
parent 74475a5169
commit de6c473b40

View File

@ -32,7 +32,7 @@ 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"
rm -rf "$BUILDROOT/var/log/journal"
rm -f /etc/nsswitch.conf
cp "$SRCDIR/factory/etc/nsswitch.conf" /etc/nsswitch.conf