Commit Graph

629 Commits

Author SHA1 Message Date
Christopher Clark
fb52b8d574 xen-image-minimal: reduce the x86 wic build dependencies
The Xen image recipe provides a default WKS_FILE for x86 builds to enable
booting the image either in qemu or directly on hardware. Add settings
for WKS_FILE_DEFAULT_DEPENDS that specify the wic image build
dependencies, which are lower than the defaults used without it.

This change reduces the amount of build resources required for CI of
this image and images that are derived from it.

Since WKS_FILE is specified separately for x86-64 and qemux86-64
overrides, do the same for WKS_FILE_DEFAULT_DEPENDS, even though the
dependencies for the two separate WKS_FILEs are currently the same.

Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-07-20 16:04:53 -04:00
Andrei Gherzan
21cd0c24e3 fuse-overlayfs: Update to v1.9
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-07-15 17:13:35 -04:00
Andrei Gherzan
81d62914ce fuse-overlayfs: Fix buffer overflow bug on workdir path
Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-07-15 17:11:58 -04:00
Ross Burton
11c1003e87 xen: remove obsolete sdl PACKAGECONFIG
Nothing in Xen respects --enable-sdl, and nothing in Xen links to libSDL,
so this PACKAGECONFIG is obsolete.

It looks like the last user of SDL in Xen was removed in "Remove
internal tools/ioemu tree"[1] back in 2008.

[1] xen 19dc3860dcfde9bc4ec4ef35bb1337e13276f630

Signed-off-by: Ross Burton <ross.burton@arm.com>
Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-07-13 16:31:43 -04:00
Christopher Clark
40a4c292e3 xen, xen-tools: pass prefix maps to fix buildpaths reproducible build issues
To fix warnings when the buildpaths QA test is enabled, pass the file
and debug prefix map options that were previously supplied only for
reproducible builds, adding them to the DEBUG_PREFIX_MAP variable
and supplying that to CC.

Testing indicates that passing the prefix maps needs to be via CC
rather than the EXTRA_CFLAGS_XEN_CORE/TOOLS variables.

Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-07-10 21:25:42 -04:00
Jeremy Puhlman
320f44c6e9 cloud-init: install sysvinit initscripts
The redhat versions work with out modification.

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-06-27 23:38:33 -04:00
Jeremy Puhlman
c40479b735 cloud-init: add rdpends for netifaces and charset-normalizer
Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-06-27 23:38:33 -04:00
Jeremy Puhlman
66a2fa470b cloud-init: add depend on udev in sysvinit case.
Just as with systemd, the build needs the dev manager installed
as a dependancy

Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-06-27 23:38:33 -04:00
Ross Burton
55bf71938e xen: make LZO dependency optional
xen-tools has an optional dependency on LZO.  As this is a unmaintained
compression format with better alternatives (such as Zstd), disable it
by default.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-25 11:39:14 -04:00
Chen Qi
d9189db0aa ceph: fix gcc-12 compile failure
Add two patches to fix gcc-12 compile failure.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-25 11:39:13 -04:00
Bertrand Marquis
3e6c50b794 xen: Fix class inherit in xen-image
Remove inherit of qemuboot classes when not build for qemu in
xen-image-minimal.
When reverted the handling for only adding inherited classes for qemu
was kept but the line always inheriting them was kept to.
This patch is fixing that so that qemuboot classes are now only added
when the image is built for qemu.

This fixes commit 27e5ade0ab

Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-18 13:52:14 -04:00
He Zhe
b7e5662405 libvirt: Fix keeping restarting
LIBVIRTD_ARGS has been moved to libvirtd.service since v8.1.0. Move our mode
setting accordingly, otherwise libvirt would keep restarting and VMs would be
constantly stopped.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-18 13:52:14 -04:00
Khem Raj
aa86460a93 ipxe: Pin to use gcc
Use single quote instead of double quotes to help bitabake syntax
highlighter do right job

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-12 00:01:51 -04:00
Khem Raj
d32042ea1a xen-tools: Fix build with GCC 12
Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-09 13:08:06 -04:00
Khem Raj
6a43be4c3e seabios: Upgrade to 1.16 release
Pin to use gcc as compiler always

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-09 13:08:06 -04:00
Bruce Ashfield
27e5ade0ab Revert "qemuboot, xen-image-minimal: enable runqemu for qemuarm Xen images"
This reverts commit 1c746a9768.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-09 12:22:11 -04:00
Bruce Ashfield
bd66956ceb xen/4.16: fix gcc 12 build
There's no fix in the xen repository to fix gcc 12 issues yet, but
there is one in the opensuse infrastructure.

We import that change from: https://build.opensuse.org/package/view_file/openSUSE:Factory/xen/gcc12-fixes.patch?expand=1
to at least get things building and allow runtime testing against gcc
12.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-09 09:12:09 -04:00
Christopher Clark
d7a2d1b7ab xen images, qemuboot: configure xenbr0 bridge for runqemu, testimage
Networking for Xen guest virtual machines is commonly configured via
bridging in the host system between a physical interface and the
guest virtual interfaces.

To make it easier to test networking and use testimage with Xen guest
virtual machines, extend the bbclass that provides network configuration
for qemu machines for the Xen images to configure a Xen bridge and put
eth0 onto it when QB_XEN_HOST_BRIDGE is set.

Signed-off-by: Christopher Clark <christopher.clark@starlab.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-09 08:08:31 -04:00
Christopher Clark
1c746a9768 qemuboot, xen-image-minimal: enable runqemu for qemuarm Xen images
The Xen hypervisor built for Arm 32-bit targets can be launched with
runqemu by providing a u-boot script and configuration for Qemu, which
enables interactive testing of Xen images.

Add qemuboot-xen-u-boot.bbclass to add a new bitbake task for generating
the u-boot script. Since this increases the number of qemuboot-specific
classes that are inherited by the xen-image-minimal recipe, change the
inherit of all of these to only apply to qemu machines with the qemuall
override.

Update qemuboot-xen-defaults.bbclass to supply working default
parameters for the qemuarm machine needed to boot successfully in
testing. Also change all the arch-specific variable overrides into
narrower qemu platform overrides instead to avoid unnecessary
interactions with other Arm platform machines.

Signed-off-by: Christopher Clark <christopher.clark@starlab.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-09 08:08:25 -04:00
Christopher Clark
da1e54ca79 xen, xen-tools: add recommendation for Qemu for non-hvm x86
The Spectre and Meltdown mitigations for Xen run PV guests within
HVM virtual machines, so Qemu is no longer only needed for systems
configured to run HVM guests.

With the split xen hypervisor and tools recipes, the bios dependencies
belong in the tools recipe, so move them and replace the hvm
PACKAGECONFIG option with the recommendation based on target arch.

Signed-off-by: Christopher Clark <christopher.clark@starlab.io>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-09 08:08:20 -04:00
Bruce Ashfield
b9e18c1dae 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>
2022-05-08 23:22:07 -04:00
Ross Burton
973c8d0964 xen: use vgabios 0.8a
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-02 14:07:30 -04:00
Ross Burton
8386caefb7 vgabios: upgrade to 0.8a and cleanup recipe
Upgrade to 0.8a.

License checksum updated as the FSF street address changed.

Apply a patch to use the correct host compiler when building biossums,
removing the need for a separate biossums-native recipe.

Don't hardcode /usr/share, use ${datadir}.

Install all found firmware (including the new Banshee BIOS in 0.8a) and
the debug files which were not installed but intended to be packaged.

Remove redundant PR and S assignments, as these are the default values.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-02 14:07:30 -04:00
Ross Burton
36433bfef3 dev86: fix a build race
Fix a race in cpp/ where token[12].h are written to a temporary file
with the same name.

Also update the status of cross.patch.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-05-02 14:07:30 -04:00
Bertrand Marquis
21a5c29a10 xen: Add missing space in append to IMAGE_INSTALL
Add a space before doing an append in IMAGE_INSTALL on x86.
This is solving issues happening if someone is using IMAGE_INSTALL in
local.conf to add things to the generated image.

Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-04-26 23:03:42 -04:00
He Zhe
c21e22e8e6 libvirt: Fix error on undefining domain and segfault on libvirt_driver_qemu.so
Backport a patch to fix segfault when undefining virtual machines.

virsh undefine vm
rpc-libvirtd[9725]: segfault at 18 ip 00007f8b0a5f17a9 sp 00007f8b3f8cbb60
error 4 in libvirt_driver_qemu.so[7f8b0a56e000+113000]
error: Code: a4 01 0f 84 89 03 00 00 4c 89 ff e8 d1 ed f7 ff 85 c0 0f 88 b9
             02 00 00 48 8b 45 b8 48 8b b0 80 00 00 00 48 8b 86 b0 02 00 00
             <48> 8b 78 18 48 85 ff 0f 84 42 01 00 00 e8 b5 02 f8 ff 48 89 45 c0
Disconnected from qemu:///system due to end of file
error: Failed to undefine domain 'vm'
error: End of file while reading data: Input/output error

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-04-26 17:03:20 -04:00
Bruce Ashfield
48ef7901ab 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>
2022-04-21 11:58:56 -04:00
Michal Orzel
7df9b0f1e1 xen: Remove 4.14 recipes and related patches
We shall only have recipes for the last two stable releases, thus
get rid of the 4.14 recipes and the corresponding patches.

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-04-20 14:09:30 -04:00
Michal Orzel
265518e689 xen: Add recipes for stable Xen 4.16 release and update master
Add recipes for Xen 4.16 release as, according to the documentation
we shall have recipes for the latest stable major version of Xen
before the next Yocto release. Bump PREFERED_VERSION to 4.16 as well.

Take the opportunity to update SRCREV of xen recipes for master
and bump XEN_REL version to 4.17 as this is the current development
version.

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-04-20 14:09:23 -04:00
Michal Orzel
aa4ebb5dad xen: Bump SRCREV of 4.15 recipes to 4.15.2
Bump SRCREV version of xen recipes to use the latest 4.15 release
which is 4.15.2.

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com>
Reviewed-by: Bertrand Marquis <bertrand.marquis@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-04-20 14:09:15 -04:00
Bruce Ashfield
51e404af98 xen-tools: remove unused systemd/sysvinit files
The commit [ xen: only package xencommon systemd components if systemd
is enabled] attempted to only package init.d scripts for non-systemd
systems (and vice-versa for unit files).

But the xen-tools builds installs the files uncondtionally, so we can
end up with unpackaged files in some configurations. We can test on
the init system and removed the unused versions of the init to avoid
both packging and runtime issues.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-04-19 20:11:39 -04:00
He Zhe
1f9c37e1a6 libvmi: Fix out of box build failure with xen disabled
vbd was added for xen based VMs since
bdee00fac9b4 ("Disk reading interface for Xen based VMs and example")
and should be built only when xen is enabled, otherwise there would not be
necessary xen headers and cause the following failure.

Signed-off-by: He Zhe <zhe.he@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-04-13 23:16:49 -04:00
Bruce Ashfield
d4f84ae3cd libvirt: fix QA packaging issue when multlib is enabled
The uprev of libvirt introduced a new sysctl file:
60-qemu-postcopy-migration.conf

In a standard configuration, the FILES variable of
python-libvirt picks up the fiel, but in a multiconfig setup,
the definition of ${libdir} changes and the file is missed.

Since systcl always looks in /usr/lib, we can't rely only
on ${libdir}, so we explicitly add the new .conf file into
the packaging. This will allow new additions in the future
to be considered as to in which package they belong.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Preeti Sachan <preeti.sachan@intel.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-04-11 10:16:46 -04:00
Ross Burton
98575878df virt-what: add new recipe
Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-04-07 17:48:39 -04:00
Bruce Ashfield
f17c020e20 irqbalance: update to 1.8.0-tip
Bumping irqbalance to version v1.6.0-154-gb3adb5f, which comprises the following commits:

    0f594a6 Separate variable declaration from assignment
    9b004c6 Ensure that we get all of a unix message
    df7b543  Add '\0' to the end of strings to avoid heap buffer overflow
    f8bdd0e ui/ui.c: always use "%s"-style format for printf()-style functions
    efab272 Drop CapabilityBoundingSet from irqbalance service

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-29 10:06:20 -04:00
Bruce Ashfield
c77f64d100 kvmtool: update to -tip
Bumping kvmtool to latest, which comprises the following commits:

    faae833 Revert "kvm tools: Filter out CPU vendor string"
    1b76b6e Add --no-pvtime command line argument
    7d4671e aarch64: Add stolen time support
    ff69582 aarch64: Populate the vCPU struct before target->init()
    95f4796 arm: pci: Generate "msi-parent" property only with a MSI controller
    c334a68 arm: Use pr_debug() to print memory layout when loading a firmware image
    9b681b0 Remove initrd magic check
    2108c86 virtio/pci: Signal INTx interrupts as level instead of edge
    20b93be x86: Set the correct APIC ID
    d4d6f15 x86: Fix initialization of irq mptable
    cdd7d8c riscv: Generate PCI host DT node
    721da16 riscv: Handle SBI calls forwarded to user space
    7c9aac0 riscv: Generate FDT at runtime for Guest/VM
    762224e riscv: Add PLIC device emulation
    42bfe44 riscv: Implement Guest/VM VCPU arch functions
    867159a riscv: Implement Guest/VM arch functions
    2e99678 riscv: Initial skeletal support
    5968b5f update_headers: Sync-up ABI headers with Linux-5.16-rc1
    642f35b Makefile: Calculate the correct kvmtool version
    7a60af0 arm/pci: update interrupt-map only for legacy interrupts
    39181fc vfio/pci: Align MSIX Table and PBA size to guest maximum page size
    b20d6e3 vfio/pci: Print an error when offset is outside of the MSIX table or PBA
    f93acc0 vfio/pci: Rework MSIX table and PBA physical size allocation
    5f44d5d vfio/pci: Rename PBA offset in device descriptor to fd_offset
    34bfe5f pci: Fix pci_dev_* print macros
    3d3dca0 vfio/pci.c: Remove double include for assert.h
    e3b0ade arm/gicv2m: Set errno when gicv2_update_routing() fails
    dc66461 arm64: Be more permissive when parsing the kernel header
    5303f09 arm64: Use the default offset when the kernel image magic is not found
    5613ae2 Add --nodefaults command line argument
    a5253f7 builtin-run: Move kernel command line generation to a separate function
    39ab3a0 Use kvm->nr_disks instead of kvm->cfg.image_count
    cce9616 builtin-run: Abstract argument validation into a separate function
    638630c builtin-run: Do not attempt to find vmlinux if --firmware
    6cbec43 builtin-run: Warn when ignoring initrd because --firmware was specified
    6810e75 builtin-run: Treat specifying both --kernel and --firmware as an error
    2e7380d virtio/pci: Size the MSI-X bar according to the number of MSI-X
    bdb86d0 kvmtool: arm64: Configure VM with the minimal required IPA space
    066b5c0 kvmtool: arm64: Use the maximum supported IPA size when creating the VM
    4250819 kvmtool: Abstract KVM_VM_TYPE into a weak function
    25c1dc6 arm/arm64: vfio: Add PCI Express Capability Structure
    e69b766 arm/arm64: Add PCI Express 1.1 support
    6b74f68 arm/fdt.c: Don't generate the node if generator function is NULL
    070fb91 Move fdt_irq_fn typedef to fdt.h
    415f92c arm: Fail early if KVM_CAP_ARM_PMU_V3 is not supported

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-29 10:04:49 -04:00
Bruce Ashfield
cd8f8873a0 libvmi: update to 0.14-tip
Bumping libvmi to version v0.10-1073-g41600b6, which comprises the following commits:

    41600b6 Actually define __XS_EVENT_REASON_MAX (#1016)

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-29 08:11:27 -04:00
Bruce Ashfield
2a355647b9 libvirt: uprev to 8.1.0
Bumping libvirt to a newer version. We drop our backported patches,
update the checksums, change the meson configuration slightly and
adjust the location of the systemd manipulations.

Along with functionality changes and bugfixes, we pickup newer
python components, so we can survive the depreciation of distutils
more easily.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-25 16:48:36 -04:00
sakib.sajal@windriver.com
e7516708fe ceph: set CXXFLAGS and CFLAGS
commit a83623a54a375d3ae9198a135b94379881a2b7a5 was added
to oe-core which removes CXXFLAGS and CFLAGS causing
compilation for ceph to fail.

Set CXXFLAGS and CFLAGS to resolve the issue.

Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-22 15:59:52 -04:00
Bruce Ashfield
c9554c6937 xen: only package xencommon systemd components if systemd is enabled
We've had reports of both the init.d xencommons and the systemd
services attempting to initialize the console, and breaking boot.

The systemd initialization really only needs to be enabled when
systemd is in DISTRO_FEATURES, and init.d the opposite.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-21 17:31:29 -04:00
Tim Orling
0ffb6e56b6 cloud-init: inherit setuptools3_legacy
cloud-init still requires legacy setup.py behavior.

Signed-off-by: Tim Orling <tim.orling@konsulko.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-11 06:02:13 -05:00
Michal Orzel
ca4601a54a xen: Override CC and CPP in make command line
After 4.16 release, Xen build system has been changed significantly.
When building latest status of Xen it was observed that commit
317c98cb91 broke the hypervisor build on arm32 due to the change in
handling Rules.mk that xen.inc modifies to override CC and CPP.

In order to fix the issue this patch moves overriding CC and CPP from
Rules.mk to make command line by adding them to EXTRA_OEMAKE:arm.

Take the opportunity to bump SRCREV of xen_git.bb and xen-tools_git.bb
to the current status of master.

Signed-off-by: Michal Orzel <michal.orzel@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-10 14:42:22 -05:00
Kai Kang
2dc502a269 libvirt: backport patch to fix compile error
Backport patch to fix compile error of libvirt:

| runtime error: file ../libvirt-7.2.0/docs/page.xsl line 217 element element
| xsl:element: The effective name '' is not a valid QName.

Signed-off-by: Kai Kang <kai.kang@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-10 14:42:10 -05:00
Kamil Dziezyk
4369415b91 xen-*image-minimal: Install *xen-acpi-processor package only for x86* machines
Kernel module xen_acpi_processor is built only for x86* architectures,
therefore 'kernel-module-xen-acpi-processor' package is compatible only with
x86* machines.

Issue-Id: SCM-3892
Signed-off-by: Kamil Dziezyk <kamil.dziezyk@arm.com>
Change-Id: I8dde00e3c78a1f9eea50b19fbc1981f5e26df133
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-03-02 15:47:55 -05:00
Kasper Revsbech
e6f165dcec xvisor: Remove bb.error when builing for non-supported arch
Change bb.error to bb.note when getting config and arch of target/host
as it is not an error if arch is not supported that should flag when
parsing the recipe.
It is an error if trying to include in image and that is already handled
in COMPATIBLE_HOST

Signed-off-by: Kasper Revsbech <kasper.revsbech.ext@siemensgamesa.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-02-24 10:47:31 -05:00
Bruce Ashfield
108e089f7e global: update licence values to SPDX values
These changes are the result of running the convert-spdx-licenses.py
oe-core script.

There's no impact to the build, but we will avoid issues when
interacting with core QA by the alignment.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-02-18 13:07:10 -05:00
Bruce Ashfield
48c9b9a891 nagios: update to use SKIP_RECIPE
oe-core has remove PNBLACKLIST in favour of SKIP_RECIPE, so we update
our recipe accordingly to avoid warnings.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-02-04 12:21:32 -05:00
Ross Burton
ce8f2e0df4 libibverbs: update LICENSE
As per COPYING, this is BSD-2-Clause or GPLv2.

Signed-off-by: Ross Burton <ross.burton@arm.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2022-02-04 12:18:53 -05:00
Kamil Dziezyk
b0c10d29cb xen: Clear TUNE_CCARGS for Xen build for aarch64 machines
Xen build may fail for arm machines that have enabled extra flags,
that can be enabled only for specific architecture version, e.g. armv8-2a.

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>
2022-01-18 22:43:28 -05:00
Kamil Dziezyk
44dad5105d 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>
2022-01-18 22:43:28 -05:00