summaryrefslogtreecommitdiffstats
path: root/meta-openstack/recipes-support/tgt/tgt_git.bb
diff options
context:
space:
mode:
authorMihai Prica <prica.mihai@gmail.com>2013-07-25 16:50:34 +0300
committerBruce Ashfield <bruce.ashfield@windriver.com>2013-08-28 18:41:59 -0400
commit93d098797a068bbff8f1c9dd449e0b81904f97c8 (patch)
tree865da78909fd42782a6b0cb3da504671380d45f2 /meta-openstack/recipes-support/tgt/tgt_git.bb
parenta8bcd4dbd38ee0ca3fa1187dd8eeddb93cb1c8db (diff)
downloadmeta-cloud-services-93d098797a068bbff8f1c9dd449e0b81904f97c8.tar.gz
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 <prica.mihai@gmail.com>
Diffstat (limited to 'meta-openstack/recipes-support/tgt/tgt_git.bb')
-rw-r--r--meta-openstack/recipes-support/tgt/tgt_git.bb5
1 files changed, 4 insertions, 1 deletions
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 \
13 13
14S = "${WORKDIR}/git" 14S = "${WORKDIR}/git"
15 15
16inherit update-rc.d
17
16do_compile() { 18do_compile() {
17 oe_runmake -e programs conf scripts 19 oe_runmake -e programs conf scripts
18} 20}
@@ -54,5 +56,6 @@ RDEPENDS_${PN} = " \
54 perl-module-file-spec \ 56 perl-module-file-spec \
55 perl-module-file-spec-functions \ 57 perl-module-file-spec-functions \
56 " 58 "
59INITSCRIPT_PACKAGES = "${PN}"
60INITSCRIPT_NAME_${PN} = "tgtd"
57 61
58INITSCRIPT_NAME_${tgt} = "tgtd"