diff options
author | Kamil Dziezyk <kamil.dziezyk@arm.com> | 2022-01-13 12:30:58 +0100 |
---|---|---|
committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-01-19 13:20:40 -0500 |
commit | 6cde8f2ccbde5ecc9997cf727939a0ae5e0fe11d (patch) | |
tree | 6e6f0941b317fa67908f90d2d00ad3fc0460c0f7 | |
parent | ed52ba982179087ecc84f7dc3b0a16cfe25f2f8e (diff) | |
download | meta-virtualization-6cde8f2ccbde5ecc9997cf727939a0ae5e0fe11d.tar.gz |
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.inc | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/recipes-extended/xen/xen-tools.inc b/recipes-extended/xen/xen-tools.inc index d831941f..6b990406 100644 --- a/recipes-extended/xen/xen-tools.inc +++ b/recipes-extended/xen/xen-tools.inc | |||
@@ -653,10 +653,10 @@ FILES:${PN}-xm = "\ | |||
653 | " | 653 | " |
654 | 654 | ||
655 | FILES:${PN}-xencommons += "\ | 655 | FILES:${PN}-xencommons += "\ |
656 | ${nonarch_libdir}/modules-load.d/xen.conf \ | ||
656 | ${sysconfdir}/default/xencommons \ | 657 | ${sysconfdir}/default/xencommons \ |
657 | ${sysconfdir}/init.d/xencommons \ | 658 | ${sysconfdir}/init.d/xencommons \ |
658 | ${sysconfdir}/xen/scripts/launch-xenstore \ | 659 | ${sysconfdir}/xen/scripts/launch-xenstore \ |
659 | ${systemd_unitdir}/modules-load.d/xen.conf \ | ||
660 | ${systemd_unitdir}/system/proc-xen.mount \ | 660 | ${systemd_unitdir}/system/proc-xen.mount \ |
661 | ${systemd_unitdir}/system/xen-qemu-dom0-disk-backend.service \ | 661 | ${systemd_unitdir}/system/xen-qemu-dom0-disk-backend.service \ |
662 | ${systemd_unitdir}/system/xenconsoled.service \ | 662 | ${systemd_unitdir}/system/xenconsoled.service \ |
@@ -744,7 +744,6 @@ SYSTEMD_SERVICE:${PN}-xendomains = "xendomains.service" | |||
744 | 744 | ||
745 | EXTRA_OECONF += " \ | 745 | EXTRA_OECONF += " \ |
746 | --with-systemd=${systemd_unitdir}/system \ | 746 | --with-systemd=${systemd_unitdir}/system \ |
747 | --with-systemd-modules-load=${systemd_unitdir}/modules-load.d \ | ||
748 | --with-initddir=${INIT_D_DIR} \ | 747 | --with-initddir=${INIT_D_DIR} \ |
749 | --with-sysconfig-leaf-dir=default \ | 748 | --with-sysconfig-leaf-dir=default \ |
750 | --with-system-qemu=${bindir}/qemu-system-i386 \ | 749 | --with-system-qemu=${bindir}/qemu-system-i386 \ |