All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-ivi] [PATCH] connman: delete init scripts if 'sysvinit' feature is enabled
@ 2013-07-03 11:28 Sergey Matyukevich
  2013-07-03 11:36 ` Burton, Ross
  0 siblings, 1 reply; 7+ messages in thread
From: Sergey Matyukevich @ 2013-07-03 11:28 UTC (permalink / raw)
  To: Holger Behrens, Florin Sarbu; +Cc: yocto

connman bbappend: delete init scripts if 'sysvinit' feature is enabled

Connman init scripts are installed only if 'sysvinit' feature is enabled
in DISTRO_FEATURES: see commit 7c8160ccbe17d6e10bd7a09b91843182a89b9055 in
poky.

Signed-off-by: Sergey Matyukevich <sergey_matyukevich@mentor.com>
---
 recipes-connectivity/connman/connman_1.15.bbappend |    6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/recipes-connectivity/connman/connman_1.15.bbappend b/recipes-connectivity/connman/connman_1.15.bbappend
index cda612b..236f244 100644
--- a/recipes-connectivity/connman/connman_1.15.bbappend
+++ b/recipes-connectivity/connman/connman_1.15.bbappend
@@ -4,6 +4,8 @@ INITSCRIPT_NAME = ""
 INITSCRIPT_PARAMS = ""
 
 do_install_append() {
-	# Remove init scripts
-	rm -r ${D}${sysconfdir}/init.d
+    if ${@base_contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then
+        # Remove init scripts
+        rm -r ${D}${sysconfdir}/init.d
+    fi
 }
-- 
1.7.2.5



^ permalink raw reply related	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2013-07-03 16:13 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-07-03 11:28 [meta-ivi] [PATCH] connman: delete init scripts if 'sysvinit' feature is enabled Sergey Matyukevich
2013-07-03 11:36 ` Burton, Ross
2013-07-03 11:59   ` [meta-ivi] [PATCHv2] connman: do not delete init scripts in bbappend Sergey Matyukevich
2013-07-03 12:09     ` Burton, Ross
2013-07-03 12:31       ` Martin Jansa
2013-07-03 12:38       ` Behrens, Holger
2013-07-03 16:13         ` Sergey Matyukevich

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.