diff options
author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-04-21 11:58:56 -0400 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-04-21 11:58:56 -0400 |
commit | 48ef7901abbb8e7b5726f224778b7b5f347a27e3 (patch) | |
tree | ae51ca0400921d604587335c9d6552e942d0f87c /recipes-extended | |
parent | 6ed391fdb046eaf4eb0c4ade3cd184231b985f10 (diff) | |
download | meta-virtualization-48ef7901abbb8e7b5726f224778b7b5f347a27e3.tar.gz |
xen-tools: don't declare xencommons as an initscript for systemd
We previously disabled init.d/xencommons when systemd is the
init system (to fix duplicate initialization of some resources),
but during rootfs install, update-rc.d will look for the script
if xencommons is declared as an initscript package.
We match the installation and only delcare it as an initscript
in a non systemd configuration.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
Diffstat (limited to 'recipes-extended')
-rw-r--r-- | recipes-extended/xen/xen-tools.inc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc index 27972c16..eabb8fac 100644 --- a/recipes-extended/xen/xen-tools.inc +++ b/recipes-extended/xen/xen-tools.inc | |||
@@ -716,7 +716,8 @@ ALLOW_EMPTY:${PN}-xen-vmtrace = "1" | |||
716 | INSANE_SKIP:${PN} = "already-stripped" | 716 | INSANE_SKIP:${PN} = "already-stripped" |
717 | 717 | ||
718 | # configure init.d scripts | 718 | # configure init.d scripts |
719 | INITSCRIPT_PACKAGES = "${PN}-xend ${PN}-xencommons ${PN}-xen-watchdog ${PN}-xendomains ${PN}-devd" | 719 | INITSCRIPT_PACKAGES = "${PN}-xend ${PN}-xen-watchdog ${PN}-xendomains ${PN}-devd" |
720 | INITSCRIPT_PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '${PN}-xencommons}', '', d)}" | ||
720 | INITSCRIPT_NAME:${PN}-xencommons = "xencommons" | 721 | INITSCRIPT_NAME:${PN}-xencommons = "xencommons" |
721 | INITSCRIPT_PARAMS:${PN}-xencommons = "defaults 80" | 722 | INITSCRIPT_PARAMS:${PN}-xencommons = "defaults 80" |
722 | INITSCRIPT_NAME:${PN}-xen-watchdog = "xen-watchdog" | 723 | INITSCRIPT_NAME:${PN}-xen-watchdog = "xen-watchdog" |