aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/runit/runit/0005-patch-etc-runit-2-for-FHS.patch
diff options
context:
space:
mode:
authorKhem Raj <raj.khem@gmail.com>2017-05-27 15:39:44 -0700
committerKhem Raj <raj.khem@gmail.com>2019-01-02 10:23:00 -0800
commiteb4bd72f4372c742fd58dd1347d2b3176374d2e9 (patch)
tree2d07c5ac461decf57fa1461cd90971018c22f82f /meta/recipes-core/runit/runit/0005-patch-etc-runit-2-for-FHS.patch
parent69c1d05a82ee0173276477d1092e9c234add7db2 (diff)
downloadopenembedded-core-contrib-kraj/runit.tar.gz
recipes: Add runit and related recipeskraj/runit
* Another init system, very small in size with application life cycle management * Add runit-services recipe for additional runit services from void linux * socklog is a system/kernel logger * Add socklog-services to provide additional logging services Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta/recipes-core/runit/runit/0005-patch-etc-runit-2-for-FHS.patch')
-rw-r--r--meta/recipes-core/runit/runit/0005-patch-etc-runit-2-for-FHS.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/meta/recipes-core/runit/runit/0005-patch-etc-runit-2-for-FHS.patch b/meta/recipes-core/runit/runit/0005-patch-etc-runit-2-for-FHS.patch
new file mode 100644
index 0000000000..8bcfe8801c
--- /dev/null
+++ b/meta/recipes-core/runit/runit/0005-patch-etc-runit-2-for-FHS.patch
@@ -0,0 +1,17 @@
+Description: Make /etc/runit/2 respect FHS
+ On Debian system services directory is /etc/service, not /service.
+Author: Dmitry Bogatov <KAction@gnu.org>
+Last-Update: 2016-05-31
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/runit-2.1.2/etc/2
++++ b/runit-2.1.2/etc/2
+@@ -1,6 +1,6 @@
+ #!/bin/sh
+
+-PATH=/command:/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
++PATH=/usr/local/bin:/usr/local/sbin:/bin:/sbin:/usr/bin:/usr/sbin:/usr/X11R6/bin
+
+ exec env - PATH=$PATH \
+-runsvdir -P /service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'
++runsvdir -P /etc/service 'log: ...........................................................................................................................................................................................................................................................................................................................................................................................................'