summaryrefslogtreecommitdiff
path: root/libre/systemd/initcpio-install-systemd
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-07-07 00:29:21 -0400
committerLuke Shumaker <lukeshu@lukeshu.com>2017-07-07 00:29:29 -0400
commitbeb0e21d1829fa4e7cace72f57237cd3af6bb38f (patch)
tree5623f9bce6cfdff55cf47251d42419be12fa17fb /libre/systemd/initcpio-install-systemd
parent3f10cca999669200eeb5fc49d8411082fb5278a5 (diff)
downloadabslibre-beb0e21d1829fa4e7cace72f57237cd3af6bb38f.tar.gz
abslibre-beb0e21d1829fa4e7cace72f57237cd3af6bb38f.tar.bz2
abslibre-beb0e21d1829fa4e7cace72f57237cd3af6bb38f.zip
libre/systemd: update to 233
Diffstat (limited to 'libre/systemd/initcpio-install-systemd')
-rw-r--r--libre/systemd/initcpio-install-systemd6
1 files changed, 4 insertions, 2 deletions
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"