aboutsummaryrefslogtreecommitdiffstats
path: root/recipes/systemd/files/execute.patch
diff options
context:
space:
mode:
authorHenning Heinold <heinold@inf.fu-berlin.de>2010-06-16 23:03:24 +0200
committerHenning Heinold <heinold@inf.fu-berlin.de>2010-06-18 00:27:15 +0200
commit119349c48a0709faec1c06086029aadbdc86f3e5 (patch)
tree23c6d8f43f9a84aa1a9b936d93e96c0b4146d39e /recipes/systemd/files/execute.patch
parent1b78440c8d329621a4e8b433112f057833c4dc91 (diff)
downloadopenembedded-119349c48a0709faec1c06086029aadbdc86f3e5.tar.gz
systemd: add systemd to openembedded
* not fully functional yet * needs udev-154 and cgroup enabled in kernel * halt/reboot don't work with busybox
Diffstat (limited to 'recipes/systemd/files/execute.patch')
-rw-r--r--recipes/systemd/files/execute.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/recipes/systemd/files/execute.patch b/recipes/systemd/files/execute.patch
new file mode 100644
index 0000000000..c9f88c82ea
--- /dev/null
+++ b/recipes/systemd/files/execute.patch
@@ -0,0 +1,17 @@
+Index: git/src/execute.c
+===================================================================
+--- git.orig/src/execute.c 2010-06-15 11:41:02.792856752 +0200
++++ git/src/execute.c 2010-06-15 11:52:02.899046198 +0200
+@@ -47,6 +47,12 @@
+ #include "cgroup.h"
+ #include "namespace.h"
+
++#ifndef SCHED_RESET_ON_FORK
++# define SCHED_RESET_ON_FORK 0x40000000
++#endif
++
++
++
+ /* This assumes there is a 'tty' group */
+ #define TTY_MODE 0620
+