diff options
| author | Mihai Prica <prica.mihai@gmail.com> | 2013-07-25 16:50:34 +0300 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2013-08-28 18:41:59 -0400 |
| commit | 93d098797a068bbff8f1c9dd449e0b81904f97c8 (patch) | |
| tree | 865da78909fd42782a6b0cb3da504671380d45f2 /meta-openstack/recipes-support/tgt | |
| parent | a8bcd4dbd38ee0ca3fa1187dd8eeddb93cb1c8db (diff) | |
| download | meta-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')
| -rw-r--r-- | meta-openstack/recipes-support/tgt/tgt_git.bb | 5 |
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 | ||
| 14 | S = "${WORKDIR}/git" | 14 | S = "${WORKDIR}/git" |
| 15 | 15 | ||
| 16 | inherit update-rc.d | ||
| 17 | |||
| 16 | do_compile() { | 18 | do_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 | " |
| 59 | INITSCRIPT_PACKAGES = "${PN}" | ||
| 60 | INITSCRIPT_NAME_${PN} = "tgtd" | ||
| 57 | 61 | ||
| 58 | INITSCRIPT_NAME_${tgt} = "tgtd" | ||
