summaryrefslogtreecommitdiff
path: root/pcr/systemd-knock/initcpio-install-systemd
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-06-27 12:07:40 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-06-27 12:13:14 -0300
commitf81e72b38c588164ec8da03e028a7e2d1e27001d (patch)
treedb88bcafb550d5831ce46fd4eafeac7a86925a03 /pcr/systemd-knock/initcpio-install-systemd
parent27332eca9590c5c39e43780d21b5fe998a586a25 (diff)
downloadabslibre-f81e72b38c588164ec8da03e028a7e2d1e27001d.tar.gz
abslibre-f81e72b38c588164ec8da03e028a7e2d1e27001d.tar.bz2
abslibre-f81e72b38c588164ec8da03e028a7e2d1e27001d.zip
systemd-knock-230-5: 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 'pcr/systemd-knock/initcpio-install-systemd')
-rw-r--r--pcr/systemd-knock/initcpio-install-systemd14
1 files changed, 9 insertions, 5 deletions
diff --git a/pcr/systemd-knock/initcpio-install-systemd b/pcr/systemd-knock/initcpio-install-systemd
index 96df98ada..30b542570 100644
--- a/pcr/systemd-knock/initcpio-install-systemd
+++ b/pcr/systemd-knock/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 \
@@ -108,8 +109,6 @@ build() {
/usr/lib/systemd/system-generators/systemd-gpt-auto-generator \
/usr/lib/systemd/system-generators/systemd-hibernate-resume-generator
- add_module "kdbus?"
-
# udev rules and systemd units
map add_udev_rule "$rules" \
50-udev-default.rules \
@@ -123,6 +122,7 @@ build() {
initrd-fs.target \
initrd-parse-etc.service \
initrd-root-fs.target \
+ initrd-root-device.target \
initrd-switch-root.service \
initrd-switch-root.target \
initrd-udevadm-cleanup-db.service \
@@ -145,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"
@@ -153,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() {