diff options
| author | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-05-08 23:19:32 -0400 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-05-08 23:22:07 -0400 |
| commit | b9e18c1dae0c0ad2251a36ada569323580115fe2 (patch) | |
| tree | e0ec3b68f0c9d99501525264c0fe970c0807220b | |
| parent | 973c8d0964c6f40338857efe5b8009b2f647d485 (diff) | |
| download | meta-virtualization-b9e18c1dae0c0ad2251a36ada569323580115fe2.tar.gz | |
xen-tools: correct xencommons initscript for systemd
commit [xen-tools: don't declare xencommons as an initscript for
systemd] was wrong in an amazing two ways. It has an extranenous
} and it has inverted logic.
The result is that xencommons is not being properly declared as
an initscript for sysvinit, and hence we don't fully boot. It
isn't a problem for most systemd configurations, so we were
booting as the initscript wasn't firing.
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
| -rw-r--r-- | recipes-extended/xen/xen-tools.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc index eabb8fac..d4999777 100644 --- a/recipes-extended/xen/xen-tools.inc +++ b/recipes-extended/xen/xen-tools.inc | |||
| @@ -717,7 +717,7 @@ INSANE_SKIP:${PN} = "already-stripped" | |||
| 717 | 717 | ||
| 718 | # configure init.d scripts | 718 | # configure init.d scripts |
| 719 | INITSCRIPT_PACKAGES = "${PN}-xend ${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_PACKAGES += "${@bb.utils.contains('DISTRO_FEATURES', 'systemd', '', '${PN}-xencommons', d)}" |
| 721 | INITSCRIPT_NAME:${PN}-xencommons = "xencommons" | 721 | INITSCRIPT_NAME:${PN}-xencommons = "xencommons" |
| 722 | INITSCRIPT_PARAMS:${PN}-xencommons = "defaults 80" | 722 | INITSCRIPT_PARAMS:${PN}-xencommons = "defaults 80" |
| 723 | INITSCRIPT_NAME:${PN}-xen-watchdog = "xen-watchdog" | 723 | INITSCRIPT_NAME:${PN}-xen-watchdog = "xen-watchdog" |
