diff options
author | Noor <noor_ahsan@mentor.com> | 2015-08-10 19:50:51 +0500 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@windriver.com> | 2015-08-13 23:39:22 -0400 |
commit | d114a62dd8a2121fa3026b83c5b250eb0ee6f21d (patch) | |
tree | c81695dd71b01797417f1d5d3f4bbcaf5f4a3124 | |
parent | ea78c5b91e6bbfa0d02b60ab25592d53b9c5134f (diff) | |
download | meta-virtualization-d114a62dd8a2121fa3026b83c5b250eb0ee6f21d.tar.gz |
libvirt: kill update-rc.d when not using sysvinit
* Fixes a dependency on a nonexistent initscripts-functions package.
Signed-off-by: Noor Ahsan <noor_ahsan@mentor.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
-rw-r--r-- | recipes-extended/libvirt/libvirt_1.2.17.bb | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/recipes-extended/libvirt/libvirt_1.2.17.bb b/recipes-extended/libvirt/libvirt_1.2.17.bb index 9f8c3af2..a9457921 100644 --- a/recipes-extended/libvirt/libvirt_1.2.17.bb +++ b/recipes-extended/libvirt/libvirt_1.2.17.bb | |||
@@ -239,3 +239,8 @@ pkg_postinst_libvirt() { | |||
239 | /etc/init.d/populate-volatile.sh update | 239 | /etc/init.d/populate-volatile.sh update |
240 | fi | 240 | fi |
241 | } | 241 | } |
242 | |||
243 | python () { | ||
244 | if not bb.utils.contains('DISTRO_FEATURES', 'sysvinit', True, False, d): | ||
245 | d.setVar("INHIBIT_UPDATERCD_BBCLASS", "1") | ||
246 | } | ||