From beb0e21d1829fa4e7cace72f57237cd3af6bb38f Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Fri, 7 Jul 2017 00:29:21 -0400 Subject: libre/systemd: update to 233 --- libre/systemd/initcpio-install-systemd | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'libre/systemd/initcpio-install-systemd') diff --git a/libre/systemd/initcpio-install-systemd b/libre/systemd/initcpio-install-systemd index f6d0afdb8..e53376ab4 100644 --- a/libre/systemd/initcpio-install-systemd +++ b/libre/systemd/initcpio-install-systemd @@ -160,9 +160,11 @@ build() { add_symlink "/usr/lib/systemd/system/default.target" "initrd.target" add_symlink "/usr/lib/systemd/system/ctrl-alt-del.target" "reboot.target" - # udev wants /etc/group since it doesn't launch with --resolve-names=never - add_file "/etc/nsswitch.conf" add_binary "$(readlink -f /usr/lib/libnss_files.so)" + printf '%s\n' >"$BUILDROOT/etc/nsswitch.conf" \ + 'passwd: files' \ + 'group: files' \ + 'shadow: files' echo "root:x:0:0:root:/:/bin/sh" >"$BUILDROOT/etc/passwd" echo "root:x:0:root" >"$BUILDROOT/etc/group" -- cgit v1.2.3