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

This commit is contained in:
Daan De Meyer
2024-07-05 11:24:27 +02:00
parent e842deeac6
commit 877842ed52

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