summaryrefslogtreecommitdiff
path: root/sys-apps/gentoo-systemd-integration/files/gentoo-systemd-integration-pure-systemd.patch
diff options
context:
space:
mode:
authorV3n3RiX <venerix@rogentos.ro>2015-05-25 16:27:56 +0100
committerV3n3RiX <venerix@rogentos.ro>2015-05-25 16:27:56 +0100
commit73d18d460dc6ae03d75ae9628db3b32a913d270c (patch)
tree6b4b4336092138bc9933475b2b6c6c02f183ff14 /sys-apps/gentoo-systemd-integration/files/gentoo-systemd-integration-pure-systemd.patch
parentd02fa50e1ca878de3ec257db88fc3ec09ce55d7c (diff)
make gentoo-local-generator to exit gracefully, as we don't have any openrc file in our system
Diffstat (limited to 'sys-apps/gentoo-systemd-integration/files/gentoo-systemd-integration-pure-systemd.patch')
-rw-r--r--sys-apps/gentoo-systemd-integration/files/gentoo-systemd-integration-pure-systemd.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/gentoo-systemd-integration/files/gentoo-systemd-integration-pure-systemd.patch b/sys-apps/gentoo-systemd-integration/files/gentoo-systemd-integration-pure-systemd.patch
new file mode 100644
index 00000000..e8e050e2
--- /dev/null
+++ b/sys-apps/gentoo-systemd-integration/files/gentoo-systemd-integration-pure-systemd.patch
@@ -0,0 +1,12 @@
+diff -Nur a/system-generators/gentoo-local-generator b/system-generators/gentoo-local-generator
+--- a/system-generators/gentoo-local-generator 2014-02-20 05:28:14.000000000 +0000
++++ b/system-generators/gentoo-local-generator 2015-05-25 16:20:26.847675246 +0100
+@@ -1,5 +1,8 @@
+ #!/bin/sh
+
++# we don't need those from below being systemd only so exit gracefully
++exit 0
++
+ locald_dir=/etc/local.d
+ cd "${locald_dir}" || exit 1
+