aboutsummaryrefslogtreecommitdiffstats
path: root/conf
AgeCommit message (Collapse)Author
2021-08-02conf: set compatibility to honisterBruce Ashfield
With the overrides conversion changes, we mark master compatible with honistor only. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-02global: overrides conversion pass 2Bruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-08-02global: overrides syntax conversionBruce Ashfield
OEcore/bitbake are moving to use the clearer ":" as an overrides separator. This is pass one of updating the meta-virt recipes to use that syntax. This has only been minimally build/runtime tested, more changes will be required for missed overrides, or incorrect conversions Note: A recent bitbake is required: commit 75fad23fc06c008a03414a1fc288a8614c6af9ca Author: Richard Purdie <richard.purdie@linuxfoundation.org> Date: Sun Jul 18 12:59:15 2021 +0100 bitbake: data_smart/parse: Allow ':' characters in variable/function names It is becomming increasingly clear we need to find a way to show what is/is not an override in our syntax. We need to do this in a way which is clear to users, readable and in a way we can transition to. The most effective way I've found to this is to use the ":" charater to directly replace "_" where an override is being specified. This includes "append", "prepend" and "remove" which are effectively special override directives. This patch simply adds the character to the parser so bitbake accepts the value but maps it back to "_" internally so there is no behaviour change. This change is simple enough it could potentially be backported to older version of bitbake meaning layers using the new syntax/markup could work with older releases. Even if other no other changes are accepted at this time and we don't backport, it does set us on a path where at some point in future we could require a more explict syntax. I've tested this patch by converting oe-core/meta-yocto to the new syntax for overrides (9000+ changes) and then seeing that builds continue to work with this patch. (Bitbake rev: 0dbbb4547cb2570d2ce607e9a53459df3c0ac284) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-07-29qemuboot, xen-image-minimal: enable runqemu for qemuarm64 Xen imagesChristopher Clark
The Xen hypervisor built for Arm 64-bit targets can be launched with runqemu by providing a Device Tree binary and configuration for Qemu, which enables interactive testing of Xen images. Add qemuboot-xen-dtb.bbclass to add a new bitbake task for generating the dtb file by using lopper on a device tree produced by Qemu. Add qemuboot-xen-defaults.bbclass to supply working default parameters for the qemuarm64 machine and general support for qemuboot for Xen, and adjust the defaults as needed to boot successfully in testing. Development aided by this script by Stewart Hildebrand of DornerWorks: https://gist.github.com/stewdk/110f43e0cc1d905fc6ed4c7e10d8d35e Signed-off-by: Christopher Clark <christopher.clark@starlab.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-06-04conf: drop gatesgarth from compatibilityBruce Ashfield
There have been reports of warnings being generated by the layer index when the compatibility of a layer exceeds 25 characters. gatesgarth is supported in its own branch, and isn't being tested against master, so we drop it from the compat. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-05-13xen, rpi4: fix typo in raspberrypi dynamic-layers inclusionRichard Neill
Signed-off-by: Richard Neill <richard.neill@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-05-04conf: drop old-style BBFILES dynamicBruce Ashfield
BBFILES_DYNAMIC has existed for several years, we don't need the precursor BBFILES for dynamic layers. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-29xen, rpi4: move rpi4-machine+xen-distro cfg into dynamic layerChristopher Clark
Improve meta-virt-xen.inc by moving all the Raspberry Pi 4 config settings to a new xen-raspberrypi4-64.inc file in the raspberrypi dynamic layer. The new .inc file is included only for the raspberrypi4-64 MACHINE, so the config settings no longer need to be applied using overrides. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-29xen, rpi4: switch Xen-on-Rpi4 kernel preference to linux-yoctoChristopher Clark
The 5.10 version of the Linux Yocto kernel supports running Xen on the Raspberry Pi 4, so the previous preference for linux-yocto-dev can be replaced. Use the ?= operator to set the kernel preference now since meta-raspberrypi commit e0b4b8c5d introduced use of the weak default for kernel preference in that layer to allow this here. KERNEL_DEVICETREE needs to be set to match the build outputs of the selected kernel, in this case: "broadcom/bcm2711-rpi-4-b.dtb" Tested with kernel version: SRCREV_machine = "cf5b0320cf4544d3db9ce3ddd6ddb7553a610651" SRCREV_meta="031f6c76e488a3563f35258c72ff1de3e25a512e" Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-22libvirt: uprev v6.3 -> v7.2Yanfei Xu
This upgrade spans 9 small release. The detailed realese logs could refer to: https://gitlab.com/libvirt/libvirt/-/blob/master/NEWS.rst Libvirt's buildsystem has changed to meson, So this upgrade drop some obsolete patches applied to makefile. I ran libvirt testcase and ovs testcase for this upgrade, the summary as follow: libvirt_test (keyword: ) test results: *1 Run libvirt_test testing(do_test1) PASS *2 Check result (virsh_local_capabilities) PASS *3 Check result (virsh_local_domcapabilities) PASS *4 Check result (virsh_local_freecell) PASS *5 Check result (virsh_local_help) PASS *6 Check result (virsh_local_hostname) PASS *7 Check result (virsh_local_iface-begin) PASS *8 Check result (virsh_local_iface-commit) PASS *9 Check result (virsh_local_iface-list) PASS *10 Check result (virsh_local_list) PASS *11 Check result (virsh_local_maxvcpus) PASS *12 Check result (virsh_local_net-list) PASS *13 Check result (virsh_local_nodecpumap) PASS *14 Check result (virsh_local_nodecpustats) PASS *15 Check result (virsh_local_nodedev-list) PASS *16 Check result (virsh_local_nodeinfo) PASS *17 Check result (virsh_local_node-memory-tune) PASS *18 Check result (virsh_local_nodememstats) PASS *19 Check result (virsh_local_nwfilter-binding-list) PASS *20 Check result (virsh_local_nwfilter-list) PASS *21 Check result (virsh_local_pool-capabilities) PASS *22 Check result (virsh_local_pool-list) PASS *23 Check result (virsh_local_pwd) PASS *24 Check result (virsh_local_secret-list) PASS *25 Check result (virsh_local_sysinfo) PASS *26 Check result (virsh_local_uri) PASS *27 Check result (virsh_local_version) PASS openvswitch_vm2vm (keyword: qemux86) test results: *1 openvswitch_vm2vm testing(do_test1) PASS *2 Check result (ovs_vm2vm_boot_guest1) PASS *3 Check result (ovs_vm2vm_boot_guest2) PASS *4 Check result (ovs_vm2vm_netperf_test) PASS *5 Check result (ovs_vm2vm_destroy_guest1) PASS *6 Check result (ovs_vm2vm_destroy_guest2) PASS *7 check testcase call trace(do_check_call_trace) PASS Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-18xen: bump default version to 4.15-stableBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-18xen, xen-tools: add recipes for new stable Xen 4.15 releaseChristopher Clark
The recipes are introduced as the non-default version by adding an expressed PREFERRED_VERSION for 4.14 in: conf/distro/include/meta-virt-default-versions.inc to keep the Xen 4.14 recipes as default for the Hardknott release. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-04-15conf/layer.conf: add honister to compatibility listBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-03-15config: prefer opencontainers runcBruce Ashfield
The docker split/requirement on their forked version of runc is not relevant any more. While we keep the docker-runc around, we should prefer the opencontainers variant, since that is where development happens. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2021-03-15conf: add hardknott compatibilityBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-10-15conf: add gatesgarth to compat, drop zeusBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-09-22conf: enable xilinx dynamic layerBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-08-11xen, raspi4, linux-yocto-dev: Enable Xen on Raspberry Pi 4Christopher Clark
Enable linux-yocto-dev as the Linux kernel for Xen on the Raspberry Pi 4, with the bcm-2xxx-rpi4 KMACHINE and KBRANCH. Set a Raspberry Pi SD card variable to increase the size of the boot partition to accommodate both the kernel and the Xen hypervisor. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-08-11xen, linux-raspberrypi4: remove linux-raspberrypi bbappends and patchesChristopher Clark
Retiring use of the downstream vendor kernel for use with Xen. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-08-11xen, rpi4: use RPI_EXTRA_CONFIG and drop the rpi-config_git.bbappendChristopher Clark
The GIC that is needed by Xen can be enabled via the rpi-config recipe variable. Fixes the build after the upstream recipe changed recently. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-08-11xen: retire the Raspberry Pi sdcard classChristopher Clark
The sdcard class in the meta-raspberrypi layer is now extensible with support for adding files such as hypervisor binaries to the boot partition, so this layer can switch to use that and drop the custom sdcard bbclass. Uses the new RPI_SDIMG_EXTRA_DEPENDS and DEPLOYPAYLOAD variables, and: IMAGE_CLASS: sdcard_image-rpi-xen => sdcard_image-rpi IMAGE_FSTYPE: rpi-xen-sdimg => rpi-sdimg Please note that the filename suffix of the image is changed by this. Also apply _raspberrypi4-64 scoping to the Raspberry Pi settings. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-20xen: drop vars that duplicate hvc console from the r-pi4 configChristopher Clark
These settings are not needed here. Serial configuration is done in the bsp layer. Tested and working on the Raspberry Pi 4. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-06linux-raspberrypi: prefer kernel version 5.4Christopher Clark
Aligns with Yocto's current kernel version. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-06xen, raspberry pi: add Xen-specific SD card classChristopher Clark
At the moment the regular meta-raspberrypi SD card class does not allow for optional inclusion of extra files in the SD card boot partition without requiring those same files be present in the root filesystem. This affects hypervisor binaries, such as Xen, which do not necessarily belong within the guest filesystem. As a workaround, inherit the sdcard_image-rpi.bbclass and clone the main IMAGE_CMD function, adding the Xen-specific deploy that is needed. This can be retired when the parent class has extensibility added. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-06xen, raspberry pi: add dynamic-layer for Xen configuration for Rpi4Christopher Clark
A Xen-specific u-boot script is needed for launching Xen, and the GIC (interrupt controller) needs to be enabled. Since this is both Xen-specific and Raspberry Pi-specific, use a dynamic layer to conditionally enable the recipes when both meta-virtualization and meta-raspberrypi are in use together. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-06meta-virt-xen.inc: add Raspberry Pi settingsChristopher Clark
Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-07-06xen: apply layer settings when xen DISTRO_FEATURE is enabledChristopher Clark
These settings are necessary for Xen and enabling them here, using the same mechanism that is used by k8s in this layer, simplifies building images for Xen. - Ensure that Xen mode is enabled in QEMU. - On ARM platforms: enable Flattened Device Tree (FDT) support. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-03-24conf/layer: update compatibilityBruce Ashfield
Add dunfell, drop warrior/thud. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-02-10conf: defer DISTRO_FEATURE check to bbclass processingBruce Ashfield
We were using USER_CLASS loading to allow conditional checking on DISTRO_FEATURES, which triggered distro feature specific version pinning. It was found that DISTRO_FEATURES set in local.conf is not consistently available at layer.conf parse time, hence our checks were not always working as expected (i.e. the version files are not included). If we move the DISTRO_FEATURE check to the bbclasses, and use it to trigger the include, we should have a consistent set of variable resolution and consistent behaviour. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-22conf: remove unneeded preferred versionsBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-21python: drop blinker specific version and python2 recipeBruce Ashfield
We can use the python3 variant in meta-python, and we no longe need the specific version. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2020-01-09k8s: update to v1.17-betaBruce Ashfield
Updating to v1.17-beta, so we can drop the GO version 1.12 in meta-virtualization. We also drop one patch, since it is part of the upstream now. Basic sanity tests shows no show-stopper issues. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-10meta-virt-default-versions.inc: use go 1.12 versionChen Qi
kubernetes could not be built correctly with go 1.13. Use 1.12 version in layer.conf. Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
2019-12-10conf: add k8s distro featureBruce Ashfield
Add support for a new distro feature to control kubernetes versions and related configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-12-06conf: fix meta-virt version / config includeBruce Ashfield
As was reported: https://lists.yoctoproject.org/g/meta-virtualization/message/4173?p=,,,20,0,0,0::Created,,conf%2Flayer.conf+is+broken,20,2,0,61269733 The conditional include of the meta-virt versions and config was not working properly due to parse time constraints. This commit fixes that by following the example of the meta-cube layer and instead using a user bbclass to load the .inc file after distro/distro features have been resolved by bitbake. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-11-25meta-virt-default-versions.inc: fix invalid python-pyyaml versionMing Liu
The python-pyyaml recipe in this layer is 5.1.2, fix the wrong PREFERRED_VERSION_python-pyyaml. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-10-08layer: add zeus as compatibleBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-09-26layer.conf: Change dependency on meta-selinux to recommendationPaul Barker
The recipe for cri-o already has an anonymous Python function in place to skip the recipe if dependencies are not found so there's no need to force inclusion of the meta-selinux layer. Signed-off-by: Paul Barker <paul@betafive.co.uk> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-09-24conf: set docker-ce as preferred provider for dockerBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-07-25meta-virtualization: add layer depends on selinuxMingli Yu
Since cri-o of meta-virtualization depends on libselinux which comes from selinux, add missing layer depends back. Signed-off-by: Mingli Yu <Mingli.Yu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2019-04-02conf: add warrior to layer compatBruce Ashfield
In preparation for the spring release, we drop sumo and add warrior to the layer compat variable. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2018-09-30layer: add thud to compatible releasesBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-09-06layer.conf: recommend meta-webserver as nagios-core depends on apache2Chen Qi
Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-05-24layer.conf: match layer dependencies as documented in the layer READMEMark Asselstine
Several required layer dependencies have been added to the layer README but didn't have corresponding entries added to LAYERDEPENDS. Ensure these match. The 'selinux' layer dependency, is conditional on the 'xen' DISTRO_FEATURE but I see no way to make a conditional LAYERDEPENDS so this is left off for now. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-04-23refactor for YP Compat for PV changesArmin Kuster
Only include our versions of recipes if virtualiztions is in DISTRO_FEATURE Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-04-06LAYERSERIES_COMPAT: move to sumoBruce Ashfield
Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-04-06layer: add LAYERSERIES_COMPATBruce Ashfield
It will become a visible warning if LAYERSERIES_COMPAT is not set, so we add it to our layers, and set it to rocko. Once sumo releases and branched, we'll change the value. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2018-04-02meta-virt: prefer containerd-opencontainersBruce Ashfield
docker has moved to a non-forked version of containerd, so we set our preference to opencontainers. The containerd-docker is too old to properly work with modern docker builds, but we keep it around for reference and compatibility. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-10-12sanity-meta-virt: Make skip variable name layer specificPaul Barker
The variable used to skip the sanity check should be named in a layer specific way. This will ensure there is no confusion if other layers use a similar sanity check. Signed-off-by: Paul Barker <pbarker@toganlabs.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
2017-10-02sanity-meta-virt.bbclass: add class for bbappend files checkingChen Qi
Add a new class, sanity-meta-virt.bbclass, to check for whether necessary settings are available for bbappend files in this layer to be effective, and warn users if not. In addition, a variable SKIP_SANITY_BBAPPEND_CHECK is added to enable users to explicitly skip the checking to avoid unwanted warnings. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>