diff options
author | Yurii Kolesnykov | 2017-06-21 17:47:16 +0300 |
---|---|---|
committer | Yurii Kolesnykov | 2017-08-08 22:55:43 +0300 |
commit | d282a28a0487c0dcb1ee29a8ef39a1c9d21ae33b (patch) | |
tree | d6123c90f8b1487b2825140397f57ad25726827b /initcpio-install-systemd | |
parent | 5ca0e078037c7020b0f92bd81acea4bf03d45e1e (diff) | |
download | aur-d282a28a0487c0dcb1ee29a8ef39a1c9d21ae33b.tar.gz |
meson
Diffstat (limited to 'initcpio-install-systemd')
-rw-r--r-- | initcpio-install-systemd | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/initcpio-install-systemd b/initcpio-install-systemd index f6d0afdb8285..5bf7b7f1639e 100644 --- a/initcpio-install-systemd +++ b/initcpio-install-systemd @@ -112,6 +112,7 @@ build() { map add_binary \ /usr/bin/systemd-tmpfiles \ /usr/lib/systemd/systemd-hibernate-resume \ + /usr/lib/systemd/systemd-sulogin-shell \ /usr/lib/systemd/system-generators/systemd-fstab-generator \ /usr/lib/systemd/system-generators/systemd-gpt-auto-generator \ /usr/lib/systemd/system-generators/systemd-hibernate-resume-generator @@ -160,9 +161,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" |