diff options
| author | Kamil Dziezyk <kamil.dziezyk@arm.com> | 2022-01-13 12:30:58 +0100 |
|---|---|---|
| committer | Bruce Ashfield <bruce.ashfield@gmail.com> | 2022-03-24 08:48:25 -0400 |
| commit | d03d2d78954ee20374a625ff70a4a1e613caf326 (patch) | |
| tree | 5e8dbc49b8d30faba8518d96510ead17edbd2788 | |
| parent | 8127e81efbf70f17a3e8b92d6e7449be57a8e0ea (diff) | |
| download | meta-virtualization-d03d2d78954ee20374a625ff70a4a1e613caf326.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>
[BA context adjusted for overrides syntax]
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 3560e798..5ab4265d 100644 --- a/recipes-extended/xen/xen-tools.inc +++ b/recipes-extended/xen/xen-tools.inc | |||
| @@ -649,10 +649,10 @@ FILES_${PN}-xm = "\ | |||
| 649 | " | 649 | " |
| 650 | 650 | ||
| 651 | FILES_${PN}-xencommons += "\ | 651 | FILES_${PN}-xencommons += "\ |
| 652 | ${nonarch_libdir}/modules-load.d/xen.conf \ | ||
| 652 | ${sysconfdir}/default/xencommons \ | 653 | ${sysconfdir}/default/xencommons \ |
| 653 | ${sysconfdir}/init.d/xencommons \ | 654 | ${sysconfdir}/init.d/xencommons \ |
| 654 | ${sysconfdir}/xen/scripts/launch-xenstore \ | 655 | ${sysconfdir}/xen/scripts/launch-xenstore \ |
| 655 | ${systemd_unitdir}/modules-load.d/xen.conf \ | ||
| 656 | ${systemd_unitdir}/system/proc-xen.mount \ | 656 | ${systemd_unitdir}/system/proc-xen.mount \ |
| 657 | ${systemd_unitdir}/system/xen-qemu-dom0-disk-backend.service \ | 657 | ${systemd_unitdir}/system/xen-qemu-dom0-disk-backend.service \ |
| 658 | ${systemd_unitdir}/system/xenconsoled.service \ | 658 | ${systemd_unitdir}/system/xenconsoled.service \ |
| @@ -715,7 +715,6 @@ SYSTEMD_SERVICE_${PN}-xendomains = "xendomains.service" | |||
| 715 | 715 | ||
| 716 | EXTRA_OECONF += " \ | 716 | EXTRA_OECONF += " \ |
| 717 | --with-systemd=${systemd_unitdir}/system \ | 717 | --with-systemd=${systemd_unitdir}/system \ |
| 718 | --with-systemd-modules-load=${systemd_unitdir}/modules-load.d \ | ||
| 719 | --with-initddir=${INIT_D_DIR} \ | 718 | --with-initddir=${INIT_D_DIR} \ |
| 720 | --with-sysconfig-leaf-dir=default \ | 719 | --with-sysconfig-leaf-dir=default \ |
| 721 | --with-system-qemu=${bindir}/qemu-system-i386 \ | 720 | --with-system-qemu=${bindir}/qemu-system-i386 \ |
