From b714d18b4a9553dd1b1e9779f1358e6500aaf706 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Sat, 23 Jul 2016 06:47:37 -0300 Subject: 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) --- libre/systemd/initcpio-install-systemd | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'libre/systemd/initcpio-install-systemd') 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 <