aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKamil Dziezyk <kamil.dziezyk@arm.com>2022-01-13 12:30:58 +0100
committerBruce Ashfield <bruce.ashfield@gmail.com>2022-01-18 22:43:28 -0500
commit44dad5105d408e7b6217600eba3672e72db0f42f (patch)
tree034344281d98b7c62420374cf30b5f1fbbe55080
parentcb0884d16eaf24304b9b84d730ec152745c3ec69 (diff)
downloadmeta-virtualization-44dad5105d408e7b6217600eba3672e72db0f42f.tar.gz
meta-virtualization-44dad5105d408e7b6217600eba3672e72db0f42f.tar.bz2
meta-virtualization-44dad5105d408e7b6217600eba3672e72db0f42f.zip
xen-tools: Load xen related kernel modules during system boot
This patch changes the location of xen.conf file, that contains list of kernel modules to be loaded during system boot, to "${nonarch_libdir}". This is done by removing '--with-systemd-modules-load=' flag from EXTRA_OECONF variable. Previous path based on "${systemd_unitdir}" was not considered by default by systemd-modules-load.service. Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com> Acked-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
-rw-r--r--recipes-extended/xen/xen-tools.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc
index ca924f4..6e25046 100644
--- a/recipes-extended/xen/xen-tools.inc
+++ b/recipes-extended/xen/xen-tools.inc
@@ -653,10 +653,10 @@ FILES:${PN}-xm = "\
"
FILES:${PN}-xencommons += "\
+ ${nonarch_libdir}/modules-load.d/xen.conf \
${sysconfdir}/default/xencommons \
${sysconfdir}/init.d/xencommons \
${sysconfdir}/xen/scripts/launch-xenstore \
- ${systemd_unitdir}/modules-load.d/xen.conf \
${systemd_unitdir}/system/proc-xen.mount \
${systemd_unitdir}/system/xen-qemu-dom0-disk-backend.service \
${systemd_unitdir}/system/xenconsoled.service \
@@ -744,7 +744,6 @@ SYSTEMD_SERVICE:${PN}-xendomains = "xendomains.service"
EXTRA_OECONF += " \
--with-systemd=${systemd_unitdir}/system \
- --with-systemd-modules-load=${systemd_unitdir}/modules-load.d \
--with-initddir=${INIT_D_DIR} \
--with-sysconfig-leaf-dir=default \
--with-system-qemu=${bindir}/qemu-system-i386 \