summaryrefslogtreecommitdiffstats
path: root/recipes-extended
Commit message (Collapse)AuthorAgeFilesLines
...
* cloud-init: update to 23.1Bruce Ashfield2023-04-053-44/+4
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* images/kvm: check for kvm distro featureBruce Ashfield2023-03-171-0/+3
| | | | | | | | | | | We need the kvm distro feature to trigger the proper KERNEL_FEATURES and hence the proper kvm kernel module packages as listed in this image. We can avoid questions and issues by checking for the required distro feature in the image recipe. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: force usage of gccJon Mason2023-01-271-0/+2
| | | | | | | | | | | | | xen-tools and xen (and possibly others) fail to compile with clang, with the following error: configure: error: in `/builder/meta-arm/build/tmp/work/cortexa15t2hf-neon-poky-linux-gnueabi/xen-tools/4.17+stableAUTOINC+11560248ff-r0/git/tools': configure: error: C compiler cannot create executables See `config.log' for more details configure: error: ./configure failed for tools Force all of xen to use gcc until this issue can be resolved. Signed-off-by: Jon Mason <jdmason@kudzu.us> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* treewide: bulk update patches with status fieldBruce Ashfield2023-01-2734-10/+67
| | | | | | | | | | | | | | | While the insane.bbclass upstream-status check hasn't been made default, users of meta-virtualization may have it enabled in their distros .. so the effect is the same. We must have this tracking tag in out patches. This is a bulk update to add the tag and silence the QA message. As packages get updated, the normal/routine process of checking the patches will continue, and the status fields may (or may not) get more useful. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: fix Upstream-Status formattingMartin Jansa2023-01-273-4/+4
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: fix build race conditionBruce Ashfield2023-01-203-0/+56
| | | | | | | | | | | | | | | | | | It has been reported that xen can fail to build with the following error: | In file included from xsm/flask/ss/services.c:46: | ./xsm/flask/include/avc.h:18:10: fatal error: av_permissions.h: No such file or directory | 18 | #include "av_permissions.h" | | ^~~~~~~~~~~~~~~~~~ This fix has been proposed upstream: https://lore.kernel.org/xen-devel/20230120133626.55680-1-anthony.perard@citrix.com/T/#u It doesn't break our build, so we include it for stress testing. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: skip buildpath QA check for libvirt-python-dbgXiangyu Chen2023-01-201-0/+3
| | | | | | | | | | The /usr/lib64/python3.11/site-packages/.debug/libvirtmod_lxc*.so libraries with build path embedded, and the setup.py doesn't respect our CFLAGS with -ffile-prefix-map argument, so try to skip the libvirt-python-dbg buildpath check until that solved. Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: move var-lib-xenstored.mount to be version specificBruce Ashfield2023-01-202-1/+4
| | | | | | | | | | | We adjusted xen-tools in 4.17 to account for /var/lib/xenstored not being present, but we didn't apply the same adjustment to the systemd packages. We move the service packaging to the 4.16 versioned recipe, as anything newer than that, won't have the .mount file. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: fix libraries contain build folder path cause QA warningXiangyu Chen2023-01-192-0/+59
| | | | | | | | | libvirt debug trace contains source path, and some utils was located to yocto sysroot folder, those full source path cause yocto QA buildpath check failed and report "xxxx contains reference to TMPDIR" warnings. Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: fix soruce code comments contain build folder path cause QA Issue ↵Xiangyu Chen2023-01-192-0/+55
| | | | | | | | | | | | | | | | | | | warning gendispatch.pl add build dir in code comments which was generated by itself. those build dir information would cause yocto qa report warnings like: WARNING: libvirt-8.1.0-r0 do_package_qa: QA Issue: File /usr/src/debug/libvirt/8.1.0-r0/src/access/viraccessapicheckqemu.h in package libvirt-src contains reference to TMPDIR File /usr/src/debug/libvirt/8.1.0-r0/src/access/viraccessapichecklxc.h in package libvirt-src contains reference to TMPDIR File /usr/src/debug/libvirt/8.1.0-r0/src/access/viraccessapicheckqemu.c in package libvirt-src contains reference to TMPDIR File /usr/src/debug/libvirt/8.1.0-r0/src/access/viraccessapichecklxc.c in package libvirt-src contains reference to TMPDIR File /usr/src/debug/libvirt/8.1.0-r0/src/access/viraccessapicheck.h in package libvirt-src contains reference to TMPDIR File /usr/src/debug/libvirt/8.1.0-r0/src/access/viraccessapicheck.c in package libvirt-src contains reference to TMPDIR [buildpaths] Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: Add recipes for stable Xen 4.17 release and update masterMichal Orzel2023-01-105-8/+49
| | | | | | | | | | | | | | | | Add recipes for xen and tools for the newly released 4.17 version and take the opportunity to update master recipes. Reflect 4.17 tools changes in xen-tools.inc: - add test-paging-mempool to test package, - add init-dom0less script to xl package, - add localstatedir to xencommons package (this is needed as from 4.17 onwards, there is no /var/lib/xenstored resulting in /var being installed but not shipped in any package). Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Michal Orzel <michal.orzel@amd.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: Bump SRCREV of 4.16 recipes to 4.16.3Michal Orzel2023-01-103-439/+4
| | | | | | | | | Update 4.16 recipes to use the latest 4.16.3 release. Also, remove the GCC 12 fix patch as it seems to be no longer needed. Reviewed-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Michal Orzel <michal.orzel@amd.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* virt-viewer: add opengl to REQUIRED_DISTRO_FEATURESMingli Yu2022-12-221-1/+3
| | | | | | | | | | | Fixes: ERROR: Nothing PROVIDES 'spice-gtk' (but /build/layers/meta-virtualization/recipes-extended/virt-viewer/virt-viewer_11.0.bb DEPENDS on or otherwise requires it) spice-gtk was skipped: missing required distro feature 'opengl' (not in DISTRO_FEATURES) ERROR: Required build target 'meta-world-pkgdata' has no buildable providers. Missing or unbuildable dependency chain was: ['meta-world-pkgdata', 'virt-viewer', 'spice-gtk'] Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kvmtool: refresh crosscompiler patchBruce Ashfield2022-12-071-13/+13
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* upx: Use git fetcher instead of gitsmJoakim Roubert2022-12-071-2/+11
| | | | | | | | | | | The current upx will trigger the Bitbake Fetcher Error added in Kirkstone 4.0.5 189a6d452e3037c9e94ccdf6af38359fc6058064 commit. This patch replaces gitsm with git and explicitly adds the git submodules with the corresponding commits. Change-Id: I1b1231f06481f7a1e25dc35277d0f1725c7631e0 Signed-off-by: Joakim Roubert <joakimr@axis.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* upx: update to latest devel releaseBruce Ashfield2022-12-072-35/+5
| | | | | | | | | | | | | | | | The upx development branch history has been rebaseed, so we update our SRCREV to match. As part of this update, we can drop our patch as it has now been merged into the project. The cmake structure has changed slightly, so we inherit cmake-native to make it available as part of the Makefile driven build. And finally, the name and location of the binary has changed, so we adapt our install rule to match. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt-glib: fix pointer-sign issueMarkus Volk2022-12-071-1/+1
| | | | | | | Update to latest commit to fix a build issue with latest glib-2-0 Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* virt-viewer: fix buildpaths QA warningBruce Ashfield2022-12-071-0/+7
| | | | | | | | | | | | | | The file virt-viewer-enums.c in the virt-viewer src is generated by glib-mkenums. glib-mkenums is embedding full paths into this file. There's no option for this utility to use a sysroot style variable. So to avoid QA errors, we sed WORKDIR out of the generated file (after build, before packaging) and make its includes relative. The file can then be packaged into virt-viewer-src without a QA error. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* virt-viewer: add recipeMarkus Volk2022-12-071-0/+29
| | | | | | | | | | | | | | | | | | | virt-viewer is a minimal tool for displaying the graphical console of a virtual machine. The console is accessed using the VNC or SPICE protocol. The guest can be referred to based on its name, ID, or UUID. If the guest is not already running, then the viewer can be told to wait until it starts before attempting to connect to the console. The viewer can connect directly to both local and remotely hosted machines , optionally using SSL/TLS encryption. virt-viewer is the required client for the debian based proxmox ve. That's also the environ- ment for which it was tested at runtime (only on x86_64). I have successfully compiled it for x86_64, aarch64 and qemumips. Other platforms might work (as long as gobject-introspection is available), but are untested. Adding the vnc protocol would pull in a layer dependency on meta-gnome. Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt-glib: add recipeMarkus Volk2022-12-071-0/+14
| | | | | | | | | | | | | | | | | libvirt-glib wraps libvirt to provide a high-level object-oriented API better suited for glib-based applications, via three libraries: - libvirt-glib - GLib main loop integration & misc helper APIs - libvirt-gconfig - GObjects for manipulating libvirt XML documents - libvirt-gobject - GObjects for managing libvirt objects It is needed as a dependency for glib based projects that make use of libvirt e.g. virt-manager, virt-viewer or gnome boxes. Compilation was tested for x86_64, aarch64 and qemumips Signed-off-by: Markus Volk <f_l_k@t-online.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: support python 3.11sakib.sajal@windriver.com2022-11-222-2/+2
| | | | | | | | | | | | | | python3 has been upgraded to 3.11 in oe-core causing ceph do_configure to fail with the error: | Could NOT find Python3 (missing: Python3_LIBRARY Python3_INCLUDE_DIR | Development) (found suitable version "3.6.9", minimum required is "3") Support python 3.11 to fix the issue Upstream-Status: sent to upstream (https://github.com/ceph/ceph/pull/48947) Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: remove package config qemu for powerpc and riscv32Kai Kang2022-10-261-1/+3
| | | | | | | | qemu is not compatible with ppc32 and riscv32, so remove libvirt's package config 'qemu' for them. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: remove the version 4.15 recipesChristopher Clark2022-10-082-38/+0
| | | | | | | | The existing 4.16 recipes are the current preferred Xen version, so per the Xen version update policy, the 4.15 recipes can now be removed. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: Bump SRCREV of the 4.16 recipes to 4.16.2Christopher Clark2022-10-082-4/+4
| | | | | | | Update to use the latest stable 4.16 release. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cloud-init: add Apache-2.0 as a LICENSE optionDan McGregor2022-10-041-2/+5
| | | | | | | | | | cloud-init has been dual licensed for a while. According to the LICENSE file this package is dual-licensed Apache 2 and GPL 3. This has been the case since commit b2a9f3361 in 2016. This has applied to every release since 17.1. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cloud-init: package nonarch_libdirDan McGregor2022-10-041-1/+2
| | | | | | | | cloud-init installs its data in nonarch_libdir, not libdir, so package that. On non-multilib builds this wouldn't be noticed. Signed-off-by: Dan McGregor <dan.mcgregor@usask.ca> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: fix compile issuesakib.sajal@windriver.com2022-10-047-0/+576
| | | | | | | | | | | rocksdb has been updated to 7.5.3 in meta-oe causing ceph compilation to fail. Backport necessary patches to allow ceph to work with newer versions rocksdb. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kvmtool: update to latestBruce Ashfield2022-09-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping kvmtool to latest, which comprises the following commits: 336751f Makefile: Introduce LIBFDT_DIR to specify libfdt location 6c88c26 virtio/rng: Zero-initialize the device fe21827 virtio/pci: Deassert IRQ line on ISR read ae22ac7 Makefile: Fix ARCH override 3863f34 Makefile: Add missing build dependencies 6a1f699 arm64: pvtime: Use correct region size c86ef0b virtio/pci: Remove VIRTIO_PCI_F_SIGNAL_MSI 3d5cefc virtio/pci: Initialize all vectors to VIRTIO_MSI_NO_VECTOR 5fe5eb0 virtio: Add support for modern virtio-mmio 22a0823 virtio: Move MMIO transport to mmio-legacy b0d56e3 virtio: Add support for modern virtio-pci 930876d virtio: Move PCI transport to pci-legacy 3c8f82b virtio: Prepare for more feature bits de166e5 virtio/net: Set vhost backend after queue address 73fd136 virtio/pci: Use the correct eventfd for vhost notification 21c9bc7 virtio/pci: Make doorbell offset dynamic d060729 virtio: Extract init_vq() for PCI and MMIO c6590f7 virtio/pci: Delete MSI routes 8b91a18 arm64: Allow the user to specify the RAM base address 3f7e48f Introduce kvm__arch_default_ram_address() a37dad0 arm/arm64: Consolidate RAM initialization in kvm__init_ram() 5e9c654 kvm__arch_init: Remove hugetlbfs_path and ram_size as parameters a9c24ec builtin_run: Allow standard size specifiers for memory d6d4220 arm/arm64: Kill the ARM_HIMAP_MAX_MEMORY() macro 1af57dc arm/arm64: Kill the ARM_MAX_MEMORY() macro cce5a4f arm/arm64: Fail if RAM size is too large for 32-bit guests abe3f28 builtin-run: Add arch hook to validate VM configuration 28b9625 builtin-run: Rework RAM size validation 9d65519 builtin-run: Always use RAM size in bytes 024c331 Use MB for megabytes consistently d9fdaad arm: gic: fdt: fix PPI CPU mask calculation f44af23 virtio/pci: Factor MSI route creation 4842789 virtio/blk: Implement VIRTIO_F_ANY_LAYOUT feature e74b56e virtio/console: Add VIRTIO_F_ANY_LAYOUT feature 6daffe5 virtio/net: Implement VIRTIO_F_ANY_LAYOUT feature b231683 virtio/net: Prepare for modern virtio 8b27bcf virtio/net: Offload vnet header endianness conversion to tap c492534 Add memcpy_fromiovec_safe 902a8ec virtio: Remove set_guest_features() device op 17ad9fd virtio/console: Remove unused callback 867b15c virtio: Fix device-specific config endianness 15e6c4e virtio: Add config access helpers 609ee90 virtio: Support modern virtqueue addresses fd41cde virtio: Factor virtqueue initialization a8e397b virtio/vsock: Remove redundant state tracking 3a1e36e virtio: Remove redundant test 7efc262 virtio: Add NEEDS_RESET to the status mask b4531b2 riscv: Add missing asm/kernel.h header 6f6f384 mips: Do not emulate a serial device 8ec1e8b arm64: Honor --vcpu-affinity for aarch32 guests 1a992bb include: add new virtio uapi header files e539078 include: update virtio UAPI headers 393e218 util: include virtio UAPI headers in sync 7e22099 update virtio_mmio.h a68a52c kvmtool: Have stack be not executable on x86 31e0eac virtio: Check for overflows in QUEUE_NOTIFY and QUEUE_SEL e473028 virtio: Sanitize config accesses 3510a7f virtio/9p: Fix virtio_9p_config allocation size 06e1e6f virtio: Use u32 instead of int in pci_data_in/out 52d4ee7 mmio: Sanitize addr and len 143ffa2 kvmtool: Add WARN_ONCE macro bc77bf4 stat: Add descriptions for new virtio_balloon stat types 3a13530 virtio/balloon: Fix a crash when collecting stats 324cc09 aarch64: Give up with MTE for AArch32 guest 4639b72 arm64: Add --vcpu-affinity command line argument 1393bda arm64: Add support for KVM_ARM_VCPU_PMU_V3_SET_PMU 083a976 update_headers.sh: Sync ABI headers with Linux v5.18-rc2 0febaae Add cpumask functions 83713e7 arm64: Rework set_pmu_attr() f57ce44 arm: Make the PMUv3 emulation code arm64 specific b23aed2 arm: Get rid of the ARM_VCPU_FEATURE_FLAGS() macro 412ee13 arm: Move arch specific VCPU features to the arch specific function 5898515 arm/arm64: pmu.h: Add missing header guards d9b64eb linux/bitops.h: Include wordsize.h to provide the __WORDSIZE define 443cd88 linux/err.h: Add missing stdbool.h include 5657dd3 aarch64: Add support for MTE af1b793 update_headers.sh: Sync ABI headers with Linux v5.17 ffa8654 Make --no-pvtime command argument arm specific faae833 Revert "kvm tools: Filter out CPU vendor string" Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* irqbalance: Use built-in irqbalance.service instead of local oneHe Zhe2022-08-233-12/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The local irqbalanced.service was written long before when there wasn't one in upstream. Then upstream created temporary runtime directory /run/irqbalance in its irqbalanced.service, but no one did this for this recipe. Which renders the following error. /usr/sbin/irqbalance[314]: Daemon couldn't be bound to the file-based socket. This patch starts to use upstream irqbalance.service instead and remove the local one. root@qemux86-64:~# systemctl status irqbalanced * irqbalanced.service - irqbalance daemon Loaded: loaded (/lib/systemd/system/irqbalanced.service; enabled; preset: enabled) Active: active (running) since Mon 2022-08-22 10:10:22 UTC; 3s ago Docs: man:irqbalance(1) https://github.com/Irqbalance/irqbalance Main PID: 208 (irqbalance) Tasks: 2 (limit: 263) Memory: 1.4M CGroup: /system.slice/irqbalanced.service `-208 /usr/sbin/irqbalance --foreground Aug 22 10:10:22 qemux86-64 systemd[1]: Started irqbalance daemon. root@qemux86-64:~# ls -l /run/irqbalance/irqbalance208.sock srwxr-xr-x 1 root root 0 Aug 22 10:10 /run/irqbalance/irqbalance208.sock Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: Fix CVE-2021-3979Joe Slater2022-08-202-0/+159
| | | | | | | | | Ceph-volume does not properly control key sizes. Cherry-pick from github.com/ceph/ceph.git. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-image-minimal: reduce the x86 wic build dependenciesChristopher Clark2022-07-201-0/+2
| | | | | | | | | | | | | | | | | 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>
* fuse-overlayfs: Update to v1.9Andrei Gherzan2022-07-153-34/+38
| | | | | Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* fuse-overlayfs: Fix buffer overflow bug on workdir pathAndrei Gherzan2022-07-152-1/+36
| | | | | Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: remove obsolete sdl PACKAGECONFIGRoss Burton2022-07-131-2/+0
| | | | | | | | | | | | | | 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>
* xen, xen-tools: pass prefix maps to fix buildpaths reproducible build issuesChristopher Clark2022-07-101-11/+10
| | | | | | | | | | | | | 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>
* cloud-init: install sysvinit initscriptsJeremy Puhlman2022-06-271-0/+5
| | | | | | | 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>
* cloud-init: add rdpends for netifaces and charset-normalizerJeremy Puhlman2022-06-271-0/+2
| | | | | Signed-off-by: Jeremy A. Puhlman <jpuhlman@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cloud-init: add depend on udev in sysvinit case.Jeremy Puhlman2022-06-271-1/+2
| | | | | | | | 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>
* xen: make LZO dependency optionalRoss Burton2022-05-251-1/+1
| | | | | | | | | 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>
* ceph: fix gcc-12 compile failureChen Qi2022-05-253-0/+74
| | | | | | | 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>
* xen: Fix class inherit in xen-imageBertrand Marquis2022-05-181-1/+1
| | | | | | | | | | | | | | 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 27e5ade0abc2660226389b8b62ef07d85f4b8758 Signed-off-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: Fix keeping restartingHe Zhe2022-05-181-3/+2
| | | | | | | | | 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>
* ipxe: Pin to use gccKhem Raj2022-05-121-2/+4
| | | | | | | | | 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>
* xen-tools: Fix build with GCC 12Khem Raj2022-05-091-0/+1
| | | | | | 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>
* seabios: Upgrade to 1.16 releaseKhem Raj2022-05-091-3/+4
| | | | | | | | 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>
* Revert "qemuboot, xen-image-minimal: enable runqemu for qemuarm Xen images"Bruce Ashfield2022-05-091-2/+2
| | | | | | This reverts commit 1c746a976830ebaf85c7c8c25612bea349b0a7c5. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen/4.16: fix gcc 12 buildBruce Ashfield2022-05-092-0/+434
| | | | | | | | | | | 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>
* xen images, qemuboot: configure xenbr0 bridge for runqemu, testimageChristopher Clark2022-05-091-0/+2
| | | | | | | | | | | | | | 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>
* qemuboot, xen-image-minimal: enable runqemu for qemuarm Xen imagesChristopher Clark2022-05-091-1/+5
| | | | | | | | | | | | | | | | | | | | | 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>
* xen, xen-tools: add recommendation for Qemu for non-hvm x86Christopher Clark2022-05-092-10/+5
| | | | | | | | | | | | | 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>