summaryrefslogtreecommitdiffstats
path: root/conf
Commit message (Collapse)AuthorAgeFilesLines
* config: prefer opencontainers runcBruce Ashfield2021-03-151-1/+1
| | | | | | | | | 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>
* conf: add hardknott compatibilityBruce Ashfield2021-03-151-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conf: add gatesgarth to compat, drop zeusBruce Ashfield2020-10-151-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conf: enable xilinx dynamic layerBruce Ashfield2020-09-221-0/+2
| | | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, raspi4, linux-yocto-dev: Enable Xen on Raspberry Pi 4Christopher Clark2020-08-111-0/+4
| | | | | | | | | | | 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>
* xen, linux-raspberrypi4: remove linux-raspberrypi bbappends and patchesChristopher Clark2020-08-111-2/+0
| | | | | | | 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>
* xen, rpi4: use RPI_EXTRA_CONFIG and drop the rpi-config_git.bbappendChristopher Clark2020-08-111-0/+2
| | | | | | | | 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>
* xen: retire the Raspberry Pi sdcard classChristopher Clark2020-08-111-5/+8
| | | | | | | | | | | | | | | | | | 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>
* xen: drop vars that duplicate hvc console from the r-pi4 configChristopher Clark2020-07-201-3/+0
| | | | | | | | 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>
* linux-raspberrypi: prefer kernel version 5.4Christopher Clark2020-07-061-0/+2
| | | | | | | 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>
* xen, raspberry pi: add Xen-specific SD card classChristopher Clark2020-07-061-0/+3
| | | | | | | | | | | | | | | 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>
* xen, raspberry pi: add dynamic-layer for Xen configuration for Rpi4Christopher Clark2020-07-061-0/+15
| | | | | | | | | | | | 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>
* meta-virt-xen.inc: add Raspberry Pi settingsChristopher Clark2020-07-061-0/+8
| | | | | Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: apply layer settings when xen DISTRO_FEATURE is enabledChristopher Clark2020-07-062-1/+9
| | | | | | | | | | | | 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>
* conf/layer: update compatibilityBruce Ashfield2020-03-241-1/+1
| | | | | | Add dunfell, drop warrior/thud. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conf: defer DISTRO_FEATURE check to bbclass processingBruce Ashfield2020-02-101-2/+2
| | | | | | | | | | | | | | | | | 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>
* conf: remove unneeded preferred versionsBruce Ashfield2020-01-221-6/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python: drop blinker specific version and python2 recipeBruce Ashfield2020-01-211-1/+0
| | | | | | | 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>
* k8s: update to v1.17-betaBruce Ashfield2020-01-091-4/+1
| | | | | | | | | | | 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>
* meta-virt-default-versions.inc: use go 1.12 versionChen Qi2019-12-101-0/+4
| | | | | | | 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>
* conf: add k8s distro featureBruce Ashfield2019-12-102-2/+4
| | | | | | | Add support for a new distro feature to control kubernetes versions and related configuration. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conf: fix meta-virt version / config includeBruce Ashfield2019-12-061-1/+6
| | | | | | | | | | | | | | | 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>
* meta-virt-default-versions.inc: fix invalid python-pyyaml versionMing Liu2019-11-251-1/+1
| | | | | | | | 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>
* layer: add zeus as compatibleBruce Ashfield2019-10-081-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* layer.conf: Change dependency on meta-selinux to recommendationPaul Barker2019-09-261-1/+1
| | | | | | | | | 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>
* conf: set docker-ce as preferred provider for dockerBruce Ashfield2019-09-241-0/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* meta-virtualization: add layer depends on selinuxMingli Yu2019-07-251-0/+1
| | | | | | | | | 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>
* conf: add warrior to layer compatBruce Ashfield2019-04-021-1/+1
| | | | | | | 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>
* layer: add thud to compatible releasesBruce Ashfield2018-09-301-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* layer.conf: recommend meta-webserver as nagios-core depends on apache2Chen Qi2018-09-061-0/+5
| | | | | Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* layer.conf: match layer dependencies as documented in the layer READMEMark Asselstine2018-05-241-1/+7
| | | | | | | | | | | | | 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>
* refactor for YP Compat for PV changesArmin Kuster2018-04-232-0/+11
| | | | | | | | 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>
* LAYERSERIES_COMPAT: move to sumoBruce Ashfield2018-04-061-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* layer: add LAYERSERIES_COMPATBruce Ashfield2018-04-061-1/+1
| | | | | | | | 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>
* meta-virt: prefer containerd-opencontainersBruce Ashfield2018-04-021-1/+1
| | | | | | | | | 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>
* sanity-meta-virt: Make skip variable name layer specificPaul Barker2017-10-121-1/+1
| | | | | | | | | 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>
* sanity-meta-virt.bbclass: add class for bbappend files checkingChen Qi2017-10-021-0/+4
| | | | | | | | | | | | 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>
* runc/containerd: create virtual/runc and virtual/containerdBruce Ashfield2017-02-201-0/+3
| | | | | | | | | | | | | | Since there are two implementations of runc and containerd that may not always be in sync, the docker variant, and the opencontainers variable, we create a virtual/* namespace for these components. Anything requiring runc or containerd should set a preferred provider to get the desired/tested variant. We set the default provider to the docker variants, since they are the primary use case for these components. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* conf: override SECURITY_CFLAGS for a set of recipesDmitry Eremin-Solenikov2015-04-212-0/+8
| | | | | | | | | Some of recipes produce errors if the distro has enabled usage of security_flags.inc file. Fix those errors (and QA warnings) by providing an additional include file that is require'd from conf/layer.conf. Signed-off-by: Dmitry Eremin-Solenikov <dmitry_eremin@mentor.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* layer: bump priority to 8Bruce Ashfield2015-03-301-1/+1
| | | | | | | To ensure that meta-virt versions are chosen over meta-oe equivalents we bump the priority to 8. Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* conf/layer.conf: add LAYERVERSION and LAYERDEPENDSRobert Yang2013-10-181-0/+6
| | | | | | | | Add LAYERVERSION and LAYERDEPENDS, it needs depend on oe-core and meta-networking layer. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* conf/layer.conf: fix "No newline at end of file"Robert Yang2013-10-181-1/+1
| | | | | | | | | | | | | | | | The last line lacked a newline (usually '\n', aka CR or CRLF) in the end, so there was a warning from git diff: \ No newline at end of file The last byte of the file should be a newline. Note: It seems that nothing is changed in this commit, but it does change the end of the last line. Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* iasl: Add Intel ACPI license informationMark Asselstine2013-08-101-0/+3
| | | | | | | | | | | | | The iasl package is licensed under the Intel ACPI license. This is a variation of the MIT license but with enough modification that we don't want to mark it as MIT. Previously building this package would warn about the missing license. With this change we are providing a clear text copy of the license and calling this license out in the iasl recipe to make the warning go away and to ensure we are clearly defining this package's license information. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@windriver.com>
* Rename meta-xen layer to meta-virtualization.Raymond Danks2012-11-301-3/+3
| | | | | | Updates to README and layer.conf for new name and maintainers. Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
* conf/distro: Remove distro settings from software layer.Raymond Danks2012-06-271-6/+0
| | | | Signed-off-by: Raymond Danks <ray.danks@se-eng.com>
* meta-xen/conf: Add layer.conf and distro/minimal.conf for constructing a ↵Raymond Danks2012-06-212-0/+15
lightweight xen image. Signed-off-by: Raymond Danks <ray.danks@se-eng.com>