From 119349c48a0709faec1c06086029aadbdc86f3e5 Mon Sep 17 00:00:00 2001 From: Henning Heinold Date: Wed, 16 Jun 2010 23:03:24 +0200 Subject: systemd: add systemd to openembedded * not fully functional yet * needs udev-154 and cgroup enabled in kernel * halt/reboot don't work with busybox --- recipes/systemd/files/execute.patch | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 recipes/systemd/files/execute.patch (limited to 'recipes/systemd/files/execute.patch') 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 + -- cgit 1.2.3-korg