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
# systemd-journald.
rm -r "$BUILDROOT/var/log/journal"
rm -f /etc/nsswitch.conf
cp "$SRCDIR/factory/etc/nsswitch.conf" /etc/nsswitch.conf