From 93d098797a068bbff8f1c9dd449e0b81904f97c8 Mon Sep 17 00:00:00 2001 From: Mihai Prica Date: Thu, 25 Jul 2013 16:50:34 +0300 Subject: tgt: Inherit update-rc.d for initscripts The initscript was not ran because the update-rc.d class was not inherited. Signed-off-by: Mihai Prica --- meta-openstack/recipes-support/tgt/tgt_git.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'meta-openstack') diff --git a/meta-openstack/recipes-support/tgt/tgt_git.bb b/meta-openstack/recipes-support/tgt/tgt_git.bb index 459c6a9..c711a62 100644 --- a/meta-openstack/recipes-support/tgt/tgt_git.bb +++ b/meta-openstack/recipes-support/tgt/tgt_git.bb @@ -13,6 +13,8 @@ SRC_URI = "git://github.com/fujita/${PN}.git;protocol=git \ S = "${WORKDIR}/git" +inherit update-rc.d + do_compile() { oe_runmake -e programs conf scripts } @@ -54,5 +56,6 @@ RDEPENDS_${PN} = " \ perl-module-file-spec \ perl-module-file-spec-functions \ " +INITSCRIPT_PACKAGES = "${PN}" +INITSCRIPT_NAME_${PN} = "tgtd" -INITSCRIPT_NAME_${tgt} = "tgtd" -- cgit v1.2.3-54-g00ecf