Patchwork systemd_197.bb: Point to the place where we keep the /etc/rcN.d files

login
register
mail settings
Submitter Holger Hans Peter Freyther
Date Feb. 7, 2013, 7:39 p.m.
Message ID <20130207193943.GO27288@xiaoyu.lan>
Download mbox | patch
Permalink /patch/44237/
State New
Headers show

Comments

Holger Hans Peter Freyther - Feb. 7, 2013, 7:39 p.m.
By default /etc/rc.d is searched by systemd but we will keep rcN.d directories
inside /etc.
---
 meta/recipes-core/systemd/systemd_197.bb |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
Ross Burton - Feb. 8, 2013, 11:09 a.m.
On 7 February 2013 19:39, Holger Hans Peter Freyther
<holger@moiji-mobile.com> wrote:
> By default /etc/rc.d is searched by systemd but we will keep rcN.d directories
> inside /etc.

Acked.  I just noticed this was the simple reason why -sato doesn't just work.

> -PR = "r2"
> +PR = "r4"

Drop or r3, please.

Ross

Patch

diff --git a/meta/recipes-core/systemd/systemd_197.bb b/meta/recipes-core/systemd/systemd_197.bb
index 48188ba..d55206b 100644
--- a/meta/recipes-core/systemd/systemd_197.bb
+++ b/meta/recipes-core/systemd/systemd_197.bb
@@ -9,7 +9,7 @@  LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
 PROVIDES = "udev"
 
 PE = "1"
-PR = "r2"
+PR = "r4"
 
 DEPENDS = "xz kmod docbook-sgml-dtd-4.1-native intltool-native gperf-native acl readline dbus libcap libcgroup tcp-wrappers glib-2.0 libgcrypt"
 DEPENDS += "${@base_contains('DISTRO_FEATURES', 'pam', 'libpam', '', d)}"
@@ -65,6 +65,7 @@  EXTRA_OECONF = " --with-distro=${SYSTEMDDISTRO} \
                  --enable-split-usr \
                  --disable-microhttpd \
                  --without-python \
+                 --with-sysvrcnd-path=${sysconfdir} \
                "
 # uclibc does not have NSS
 EXTRA_OECONF_append_libc-uclibc = " --disable-myhostname "