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@windriver.com>
Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Chen Qi 2014-10-28 15:19:29 +08:00 committed by Martin Jansa
parent 47cc7a8d16
commit dac2422f73

View File

@ -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}/