summaryrefslogtreecommitdiff
path: root/libre/systemd/initcpio-install-systemd
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-06-27 12:04:55 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-06-27 12:13:14 -0300
commit27332eca9590c5c39e43780d21b5fe998a586a25 (patch)
tree78852ad3dd477cd09c3bf03cca9211a686c36879 /libre/systemd/initcpio-install-systemd
parentd3bead6e6ee8703915dcc7c501fd3e198899ba5c (diff)
systemd-230-5.parabola1: bump to Arch's revision
* backport fix for ipv6 gateway autoconfiguration - FS#47572 -> https://bugs.archlinux.org/task/47572 * add rescue/emergency targets and needed machinery - FS#36265 -> https://bugs.archlinux.org/task/36265
Diffstat (limited to 'libre/systemd/initcpio-install-systemd')
-rw-r--r--libre/systemd/initcpio-install-systemd11
1 files changed, 8 insertions, 3 deletions
diff --git a/libre/systemd/initcpio-install-systemd b/libre/systemd/initcpio-install-systemd
index d8d30aa3d..30b542570 100644
--- a/libre/systemd/initcpio-install-systemd
+++ b/libre/systemd/initcpio-install-systemd
@@ -100,6 +100,7 @@ build() {
add_binary /bin/mount
add_binary /usr/bin/kmod /usr/bin/modprobe
add_binary /usr/lib/systemd/systemd /init
+ add_binary /usr/bin/sulogin
map add_binary \
/usr/bin/systemd-tmpfiles \
@@ -144,7 +145,9 @@ build() {
systemd-udevd-control.socket \
systemd-udevd-kernel.socket \
systemd-udevd.service \
- timers.target
+ timers.target \
+ rescue.target \
+ emergency.target
add_symlink "/usr/lib/systemd/system/default.target" "initrd.target"
add_symlink "/usr/lib/systemd/system/ctrl-alt-del.target" "reboot.target"
@@ -152,8 +155,10 @@ build() {
# 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)"
- add_file "/etc/passwd"
- add_file "/etc/group"
+
+ echo "root:x:0:0:root:/:/bin/sh" >"$BUILDROOT/etc/passwd"
+ echo "root:x:0:root" >"$BUILDROOT/etc/group"
+ echo "root::::::::" >"$BUILDROOT/etc/shadow"
}
help() {