Openembedded Core Discussions
 help / color / mirror / Atom feed
* [PATCH] sysklogd: set INHIBIT_UPDATERCD_BBCLASS if 'sysvinit' not in DISTRO_FEATURES
@ 2014-09-19  4:06 Fahad Usman
  2014-09-19  4:50 ` ChenQi
  0 siblings, 1 reply; 3+ messages in thread
From: Fahad Usman @ 2014-09-19  4:06 UTC (permalink / raw)
  To: openembedded-core

We need to set INHIBIT_UPDATERCD_BBCLASS to "1" if 'sysvinit' is not
present in DISTRO_FEATURES so that any un-necessary package dependencies
are not added by update-rc.d.bbclass

Signed-off-by: Fahad Usman <fahad.usman@gmail.com>
---
 meta/recipes-extended/sysklogd/sysklogd.inc |    5 +++++
 1 file changed, 5 insertions(+)

diff --git a/meta/recipes-extended/sysklogd/sysklogd.inc b/meta/recipes-extended/sysklogd/sysklogd.inc
index bcf8aa7..3cbbdfd 100644
--- a/meta/recipes-extended/sysklogd/sysklogd.inc
+++ b/meta/recipes-extended/sysklogd/sysklogd.inc
@@ -56,3 +56,8 @@ pkg_prerm_${PN} () {
 	fi
 	fi
 }
+
+python __anonymous() {
+    if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d):
+        d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1")
+}
-- 
1.7.9.5



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

end of thread, other threads:[~2014-09-19  6:25 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-09-19  4:06 [PATCH] sysklogd: set INHIBIT_UPDATERCD_BBCLASS if 'sysvinit' not in DISTRO_FEATURES Fahad Usman
2014-09-19  4:50 ` ChenQi
2014-09-19  6:25   ` Usman, Fahad

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox