1
0
mirror of https://github.com/systemd/systemd.git synced 2025-08-31 09:49:54 +03:00

mkosi: Use /etc/nsswitch.conf from repo in mkosi image

This commit is contained in:
Daan De Meyer
2024-05-03 12:57:29 +02:00
parent ffda3c3de9
commit efbd22e476

View File

@ -72,3 +72,6 @@ done
# We want /var/log/journal to be created on first boot so it can be created with the right chattr settings by # We want /var/log/journal to be created on first boot so it can be created with the right chattr settings by
# systemd-journald. # systemd-journald.
rm -r "$BUILDROOT/var/log/journal" rm -r "$BUILDROOT/var/log/journal"
rm -f /etc/nsswitch.conf
cp "$SRCDIR/factory/etc/nsswitch.conf" /etc/nsswitch.conf