diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-09-12 18:32:37 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-09-12 22:33:19 -0400 |
commit | 73934ba2e660313bde6f191d3de7632a41db6cc5 (patch) | |
tree | 9625c1003c63a357647ff7f75bf6b79bb07fa88e /libre/notsystemd/initcpio-install-systemd | |
parent | 9ffca5fbaf194023453084db2907b58f50fe36a0 (diff) | |
download | abslibre-73934ba2e660313bde6f191d3de7632a41db6cc5.tar.gz abslibre-73934ba2e660313bde6f191d3de7632a41db6cc5.tar.bz2 abslibre-73934ba2e660313bde6f191d3de7632a41db6cc5.zip |
libre/notsystemd: update to 233.1
Diffstat (limited to 'libre/notsystemd/initcpio-install-systemd')
-rw-r--r-- | libre/notsystemd/initcpio-install-systemd | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/libre/notsystemd/initcpio-install-systemd b/libre/notsystemd/initcpio-install-systemd index f6d0afdb8..e53376ab4 100644 --- a/libre/notsystemd/initcpio-install-systemd +++ b/libre/notsystemd/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" |