summaryrefslogtreecommitdiff
path: root/libre/systemd/initcpio-install-systemd
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-07-23 06:47:37 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2016-07-23 07:10:27 -0300
commitb714d18b4a9553dd1b1e9779f1358e6500aaf706 (patch)
tree19f13f54a9015f858e357d7fec994fd0ac498173 /libre/systemd/initcpio-install-systemd
parente2ece23d4f92d602f8154222a12b13142308f36f (diff)
systemd-230-7.parabola1: bump to Arch's revision
* backport some more trivial fixes * ensure udevd runs with --resolve-names=never in early userspace - FS#49849 -> https://bugs.archlinux.org/task/49849 * remove upgrade transitions for anything older than 2 years * add --with-dbuspolicydir=/usr/share/dbus-1/system.d, drop backup entries * backport fix for assertion fail on boot (upstream #3747 and #3438)
Diffstat (limited to 'libre/systemd/initcpio-install-systemd')
-rw-r--r--libre/systemd/initcpio-install-systemd13
1 files changed, 13 insertions, 0 deletions
diff --git a/libre/systemd/initcpio-install-systemd b/libre/systemd/initcpio-install-systemd
index 30b542570..b57661b3e 100644
--- a/libre/systemd/initcpio-install-systemd
+++ b/libre/systemd/initcpio-install-systemd
@@ -93,6 +93,13 @@ add_systemd_unit() {
fi
}
+add_systemd_drop_in() {
+ local unit=$1 dropin_name=$2
+
+ mkdir -p "$BUILDROOT/etc/systemd/system/$unit.d"
+ cat >"$BUILDROOT/etc/systemd/system/$unit.d/$2.conf"
+}
+
build() {
local rules unit
@@ -159,6 +166,12 @@ build() {
echo "root:x:0:0:root:/:/bin/sh" >"$BUILDROOT/etc/passwd"
echo "root:x:0:root" >"$BUILDROOT/etc/group"
echo "root::::::::" >"$BUILDROOT/etc/shadow"
+
+ add_systemd_drop_in systemd-udevd.service resolve-names <<EOF
+[Service]
+ExecStart=
+ExecStart=/usr/lib/systemd/systemd-udevd --resolve-names=never
+EOF
}
help() {