[oe-commits] Chen Qi : krb5: add initscripts-functions to RDEPENDS

git at git.openembedded.org git at git.openembedded.org
Fri Nov 7 14:47:25 UTC 2014


Module: meta-openembedded.git
Branch: master-next
Commit: dac2422f737c351c37a8405a76b5f0b5df9311a0
URL:    http://git.openembedded.org/?p=meta-openembedded.git&a=commit;h=dac2422f737c351c37a8405a76b5f0b5df9311a0

Author: Chen Qi <Qi.Chen at windriver.com>
Date:   Tue Oct 28 15:19:29 2014 +0800

krb5: add initscripts-functions to RDEPENDS

As this recipe doesn't inherit update-rc.d, we need to add to its
runtime dependency initscripts-functions ourselves. Otherwise, we
would spot errors in systemd systems when we execute commands like
`systemctl start krb5-kdc'.

Signed-off-by: Chen Qi <Qi.Chen at windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa at gmail.com>

---

 meta-oe/recipes-connectivity/krb5/krb5_1.12.2.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-oe/recipes-connectivity/krb5/krb5_1.12.2.bb b/meta-oe/recipes-connectivity/krb5/krb5_1.12.2.bb
index d3c643c..f3f16b9 100644
--- a/meta-oe/recipes-connectivity/krb5/krb5_1.12.2.bb
+++ b/meta-oe/recipes-connectivity/krb5/krb5_1.12.2.bb
@@ -53,6 +53,9 @@ FILES_${PN} += "${datadir}/gnats"
 FILES_${PN}-doc += "${datadir}/examples"
 FILES_${PN}-dbg += "${libdir}/krb5/plugins/*/.debug"
 
+# As this recipe doesn't inherit update-rc.d, we need to add this dependency here
+RDEPENDS_${PN} += "initscripts-functions"
+
 krb5_do_unpack() {
     # ${P}-signed.tar contains ${P}.tar.gz.asc and ${P}.tar.gz
     tar xzf ${WORKDIR}/${BP}.tar.gz -C ${WORKDIR}/



More information about the Openembedded-commits mailing list