summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* docker-moby: update to 19.03 latestBruce Ashfield2020-08-171-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest 19.03 commits: 88820a4793 Merge pull request #41287 from thaJeztah/19.03_backport_bump_netns dae08c333e vendor: vishvananda/netns db3c7e526aae966c4ccfa6c8189b693d6ac5d202 93cb737687 [19.03] vendor: vishvananda/netns 0a2b9b5464df8343199164a0321edf3313202f7e 7d597ee2c9 Merge pull request #41273 from thaJeztah/19.03_backport_swagger_fixes 22c458b67c Merge pull request #41274 from thaJeztah/19.03_backport_Double_RLock 8b97280f11 Merge pull request #41279 from thaJeztah/19.03_bump_buildkit eda52d433e [19.03] vendor: moby/buildkit v0.6.4-28-gda1f4bf1 168254fcfa Merge pull request #41277 from AkihiroSuda/rootlesskit-0.10.0-1903 9dc455dffb bump up rootlesskit to v0.10.0 c200868fa2 Merge pull request #41271 from thaJeztah/19.03_backport_remove_dockerproject_from_tests 9eade7d03c docs: API v1.39: move system version response to definitions 4685e9ef72 docs: API v1.40: move system version response to definitions d8f22d0307 swagger: move system version response to definitions 32366de5f9 plugin: fix a double RLock bug ad0278f002 docs: API v1.39: fix type for BuildCache CreatedAt and LastUsedAt cb8b7a282d docs: API v1.40: fix type for BuildCache CreatedAt and LastUsedAt e1ae07b7a0 swagger: fix type for BuildCache CreatedAt and LastUsedAt d49278cc17 Merge pull request #41269 from thaJeztah/19.03_update_buildkit 892c228219 Remove apt.dockerproject.org from test a7e309944b Merge pull request #41248 from thaJeztah/19.03_backport_swagger_updates 765245d54b [19.03] vendor: moby/buildkit v0.6.4-26-ga1e4f48e 2d4bfdc789 Merge pull request #41081 from thaJeztah/19.03_backport_fix_sandbox_cleanup b990b6c2b0 Merge pull request #41235 from thaJeztah/19.03_backport_bump_golang_1.13.14 4d9397c268 swagger: sync updates to v1.39 51bd95dc95 swagger: sync updates to v1.40 d5ba93575c docs: sync API v1.40 swagger formatting with current version 12b7746a84 docs: sync API v1.39 swagger formatting with current version 0c6bdf5974 docs: add example calculations to container stats API 630185b4ae swagger: add DeviceRequests to container create, inspect example d7423180e7 swagger: move NetworkingConfig to definitions c30ff6885e swagger: reformat, and wrap to ~80-chars 7005841048 swagger: clarify the meaning of Image field in ContainerInspect endpoint 1608292c09 Bump Golang 1.13.14 1763b4e88b Bump Go 1.13.13 5e8ab898c7 Merge pull request #41222 from thaJeztah/19.03_bump_buildkit 23d47bd12e [19.03] vendor: moby/buildkit v0.6.4-20-g4cb720ef 789bd1c67b Merge pull request #41192 from ameyag/19.03-hcsshim-vndr 0eaa22b95d Merge pull request #41185 from thaJeztah/19.03_bump_buildkit 9d6053eda2 Revendor hcsshim to fix image import bug 589b07262c vendor: Microsoft/hcsshim v0.8.9 e7c2b106ec [19.03] vendor: buildkit dc6afa0f755f6cbb7e85f0df4ff4b87ec280cb32 (v0.6.4-15-gdc6afa0f) a40b877fbb Merge pull request #41133 from roidelapluie/bsd2 7dd9fdcfbe Enable client on netbsd and dragonfly 9dc6525e61 Merge pull request #41124 from thaJeztah/19.03_bump_libnetwork b4ca19a992 vendor: docker/libnetwork 026aabaa659832804b01754aaadd2c0f420c68b6 (bump_19.03 branch) ae158b371c allocateNetwork: fix network sandbox not cleaned up on failure And the following cli changes: 80fd48bcb Merge pull request #2635 from thaJeztah/19.03_backport_bump_golang_1.13.14 e5e227672 Bump Golang 1.13.14 79a6c494e Merge pull request #2633 from thaJeztah/19.03_backport_bump_golang_1.13.13 5e05ef345 Merge pull request #2631 from cpuguy83/19.03_handle_close_error_on_save 64d25cc6e Bump Golang 1.13.13 1b96aa29c Merge pull request #2629 from thaJeztah/19.03_backport_circleci_updates aaf117052 Handle errors on close in config file write. 14010c88b config: preserve ownership and permissions on configfile 3d64a5d4b Move circle.yml to .circleci/config.yml d0b656088 CircleCI: update docker versions used in CI b0a78cc1a Merge pull request #2623 from s0j/s0j_19.03_bump-crypto-readconsole ab8bd02fc vendor: golang.org/x/crypto 2aa609cf4a9d7d1126360de73b55b6002f9e052a 18d6f8f6b Merge pull request #2620 from thaJeztah/19.03_backport_builder_comment_info 7498d9cc4 docs/builder: add note about handling of leading whitespace cb59cafc3 Merge pull request #2609 from thaJeztah/19.03_backport_docs_fixes 541f050e1 Merge pull request #2608 from thaJeztah/19.03_backport_vendor_bumps ac7723056 docs: fix example output for docker plugin ls 9c9ff4369 list state `ready` for filtering in stack_ps.md e3b981c18 vendor konsorten/go-windows-terminal-sequences v1.0.3 ec276f3a6 vendor: mitchellh/mapstructure v1.0.0 c9125cc39 vendor: beorn7/perks v1.0.1 0ed913b88 Merge pull request #2592 from thaJeztah/19.03_backport_logout_config_out_of_sync2 5a12f90b4 Don't filter out registries to logout from with config file contents Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-ce: update to tip of 19.03Bruce Ashfield2020-08-171-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This update comprises the following commits: ff3fbc9d55 Merge pull request #655 from tiborvass/bump_19.03.13-beta2 475484e351 Bump VERSION to 19.03.13-beta2 321dc6b4bd Merge component 'engine' from git@github.com:moby/moby 19.03 9b85caeb7c Merge pull request #41287 from thaJeztah/19.03_backport_bump_netns b82e19207e vendor: vishvananda/netns db3c7e526aae966c4ccfa6c8189b693d6ac5d202 69223588df [19.03] vendor: vishvananda/netns 0a2b9b5464df8343199164a0321edf3313202f7e 32c58830e3 Merge pull request #654 from tiborvass/bump_19.03.13-beta1 f2cad45d0a Merge branch '19.03' of github.com:docker/docker-ce into 19.03 a2fa6c7fb3 Merge component 'engine' from git@github.com:moby/moby 19.03 1015e8af79 Merge component 'engine' from git@github.com:moby/moby 19.03 1d7d9d001f Merge pull request #41273 from thaJeztah/19.03_backport_swagger_fixes 3087b3114f Merge pull request #41274 from thaJeztah/19.03_backport_Double_RLock 520fc10363 Merge pull request #41279 from thaJeztah/19.03_bump_buildkit 120511a214 Merge pull request #642 from tiborvass/19.03-switch-to-moby a4f55cdbab [19.03] vendor: moby/buildkit v0.6.4-28-gda1f4bf1 bee145aad2 Merge component 'engine' from git@github.com:docker/engine 19.03 b768eabf04 Merge component 'engine' from git@github.com:docker/engine 19.03 4e9725b988 Merge pull request #41277 from AkihiroSuda/rootlesskit-0.10.0-1903 c13dfa3f39 bump up rootlesskit to v0.10.0 b714998077 Merge pull request #41271 from thaJeztah/19.03_backport_remove_dockerproject_from_tests 009eca42ef docs: API v1.39: move system version response to definitions 4f25b9eed4 docs: API v1.40: move system version response to definitions 0ea6312f6d swagger: move system version response to definitions 9f4029e6dc plugin: fix a double RLock bug dff89f8092 docs: API v1.39: fix type for BuildCache CreatedAt and LastUsedAt 95599eb2e6 docs: API v1.40: fix type for BuildCache CreatedAt and LastUsedAt 81bd78b07a swagger: fix type for BuildCache CreatedAt and LastUsedAt d9cb8734cf Merge component 'engine' from git@github.com:docker/engine 19.03 820098ff18 Merge pull request #41269 from thaJeztah/19.03_update_buildkit 0994e492c5 Remove apt.dockerproject.org from test a49a4f288a Bump VERSION to 19.03.13-beta1 a89cfd520d Merge component 'engine' from git@github.com:docker/engine 19.03 dcaed39807 Upstream-commit: a7e309944b3bdefbca4186ce41a8374784133be2 Component: engine 422fa1b13e [19.03] vendor: moby/buildkit v0.6.4-26-ga1e4f48e 81dab2018b Merge component 'engine' from git@github.com:docker/engine 19.03 1490b1df51 Merge pull request #41081 from thaJeztah/19.03_backport_fix_sandbox_cleanup c6c4809630 Merge component 'engine' from git@github.com:docker/engine 19.03 9eea25a62f Merge pull request #41235 from thaJeztah/19.03_backport_bump_golang_1.13.14 f224762af0 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03 0850d19f24 Merge pull request #485 from thaJeztah/19.03_backport_remove_eoan 5ba0889c4a swagger: sync updates to v1.39 7d189e5b0b swagger: sync updates to v1.40 047a3b6ca8 docs: sync API v1.40 swagger formatting with current version d5a51018d4 docs: sync API v1.39 swagger formatting with current version 69aae6c1db docs: add example calculations to container stats API bf77a77bab swagger: add DeviceRequests to container create, inspect example d43b66d55c swagger: move NetworkingConfig to definitions c210a26d28 swagger: reformat, and wrap to ~80-chars 0d1edc403c swagger: clarify the meaning of Image field in ContainerInspect endpoint f3b514426e Merge component 'cli' from git@github.com:docker/cli 19.03 07d59f4164 Merge pull request #2635 from thaJeztah/19.03_backport_bump_golang_1.13.14 289eec988f Remove Ubuntu 19.10 "Eoan" (EOL: 2020-07-17) eeec8d3ba5 Remove Ubuntu 19.04 "Disco Dingo" (EOL: 2020-01-23) 02ab061844 Remove Fedora 30 (EOL: 2020-05-26) 391d22f0e0 Bump Golang 1.13.14 a033b71571 Bump Go 1.13.13 03ae74b5b7 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03 20042180c1 Bump Golang 1.13.14 aaf10aa9c6 Merge pull request #482 from thaJeztah/19.03_backport_bump_golang_1.13.14 fc9fece6e1 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03 d552a52dbb Bump Golang 1.13.14 887f0eb7c6 Merge pull request #479 from thaJeztah/19.03_backport_bump_golang 8a9e1bdc07 Merge component 'engine' from git@github.com:docker/engine 19.03 ab25bbca2f Merge component 'cli' from git@github.com:docker/cli 19.03 f56046026b Merge pull request #2633 from thaJeztah/19.03_backport_bump_golang_1.13.13 bbdb18fa3a Merge pull request #41222 from thaJeztah/19.03_bump_buildkit a48c990d07 Merge component 'cli' from git@github.com:docker/cli 19.03 e1e647a270 [19.03] vendor: moby/buildkit v0.6.4-20-g4cb720ef 021a6048e6 Merge pull request #2631 from cpuguy83/19.03_handle_close_error_on_save a6c6dce3a6 Bump Golang 1.13.13 a252aaae7a Merge component 'cli' from git@github.com:docker/cli 19.03 f19d902423 Merge pull request #2629 from thaJeztah/19.03_backport_circleci_updates 4e3a5637b4 Handle errors on close in config file write. 19d2ee3b78 config: preserve ownership and permissions on configfile 08fd87da44 Move circle.yml to .circleci/config.yml 45b3865643 CircleCI: update docker versions used in CI c6012e45cc Update Golang 1.13.13 3a19c4a1df Merge component 'engine' from git@github.com:docker/engine 19.03 b636594b37 Merge pull request #41192 from ameyag/19.03-hcsshim-vndr 177165b75d Merge component 'engine' from git@github.com:docker/engine 19.03 d2e020dbd1 Merge component 'cli' from git@github.com:docker/cli 19.03 d0a4b67aee Merge pull request #41185 from thaJeztah/19.03_bump_buildkit d4e6d9b301 Merge pull request #2623 from s0j/s0j_19.03_bump-crypto-readconsole 06d576d294 Merge component 'cli' from git@github.com:docker/cli 19.03 80e9882cdf vendor: golang.org/x/crypto 2aa609cf4a9d7d1126360de73b55b6002f9e052a e0c24158ad Merge pull request #2620 from thaJeztah/19.03_backport_builder_comment_info d7e86d9c77 Revendor hcsshim to fix image import bug 14ab1c306d vendor: Microsoft/hcsshim v0.8.9 03a47bb4c5 [19.03] vendor: buildkit dc6afa0f755f6cbb7e85f0df4ff4b87ec280cb32 (v0.6.4-15-gdc6afa0f) fd33ebfc36 Merge component 'engine' from git@github.com:docker/engine 19.03 fb095d16b8 Merge pull request #41133 from roidelapluie/bsd2 d0a8d03b7b docs/builder: add note about handling of leading whitespace b56ef36968 Merge component 'cli' from git@github.com:docker/cli 19.03 d2a8fe0e12 Merge pull request #2609 from thaJeztah/19.03_backport_docs_fixes e453c06e79 Merge pull request #2608 from thaJeztah/19.03_backport_vendor_bumps dac7a0fe9a docs: fix example output for docker plugin ls 8c8b82eeb3 list state `ready` for filtering in stack_ps.md 055ee582e3 vendor konsorten/go-windows-terminal-sequences v1.0.3 037e7383ec vendor: mitchellh/mapstructure v1.0.0 2f446000e0 vendor: beorn7/perks v1.0.1 8f8179e576 Enable client on netbsd and dragonfly 5b2eac44f7 allocateNetwork: fix network sandbox not cleaned up on failure f620b6de75 components: use moby/moby instead of docker/engine Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: fix do_compile error: 'sys_siglist' was not declaredsakib.sajal@windriver.com2020-08-161-0/+1
| | | | | | | | | | | | | | | glibc 2.32 has deprecated sys_siglist, oe-core commit 7c19f30849e9a73a7497d8e6c4719a2e57017086, causing ceph build to fail with error: ceph-15.2.0/src/global/signal_handler.h:24:26: error: 'sys_siglist' was not declared ceph has support for using reentrant strsignal, hence use it. See commit 82c40b67f5843162a93ebb2c1a006572d8f256a5 in upstream ceph. Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docs: Add initial Xvisor docAlistair Francis2020-08-162-0/+19
| | | | | Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xvisor: Add support for building AArch64Alistair Francis2020-08-162-13/+18
| | | | | | | | Add support for building for AArch64, also remove the requirement to specify a platform. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xvisor-image-minimal: Initial commit of a Xvisor imageAlistair Francis2020-08-161-0/+20
| | | | | Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xvisor: Bump to a git releaseAlistair Francis2020-08-161-2/+3
| | | | | | | | Bump the Xvisor SHA to a git release with RISC-V 0.5.0 Hypversior extension support. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* runx: Fix linux kernel versions referenced in the recipeChandana kalluri2020-08-121-3/+7
| | | | | | | | | Fix the linux kernel versions referenced in the recipe. For ease of use, add variables KERNEL_SRC_VER and KERNEL_URL_VER that can be used to udpate the linux versions. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: fix 32bit ARM buildBruce Ashfield2020-08-122-2/+54
| | | | | | | | | | Remove the remaining 'go' calls, and replace them with $GO. We also must explicitly pass "GO='go'" on the host side build call. This avoids the gnu-stubs header file issues, since the 'go' binary cannot use the sysroot. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, raspi4, linux-yocto-dev: Enable Xen on Raspberry Pi 4Christopher Clark2020-08-112-0/+14
| | | | | | | | | | | 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-1112-588/+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-112-6/+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, raspberrypi: bugfix early boot messages: use earlycon=xenbootChristopher Clark2020-08-112-2/+2
| | | | | | | Replaces the prior use of earlyprintk which is an x86-specific option. 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-112-125/+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>
* go-build: fix build with new go-binary bootstrapped toolchainBruce Ashfield2020-08-072-2/+49
| | | | | | | We need to be more explicity in our exports and use of 'go' to build properly with the new binary bootstrapped go toolchain. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: specify location of dmidecodeJoe Slater2020-08-071-0/+1
| | | | | | | | We should tell configure where dmidecode is rather than have it search the host for it. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: fix install error without qemuLavocat, Nicolas2020-08-071-4/+6
| | | | | | | | | | | | | | | | | | An error occurs during the install step of libvirt when the variable PACKAGECONFIG does not contain qemu. Indeed, in this case, the operation "chown -R qemu:qemu ${D}/${localstatedir}/lib/libvirt/qemu" fails, since the folder ${D}/${localstatedir}/lib/libvirt/qemu has not been created. The fix consist in doing this operation only if the variable “PACKAGECONFIG” contains “qemu”. remark: issue present since the Warrior release of yocto. Upstream-Status: Pending Signed-off-by: Nicolas Lavocat <nicolas.lavocat@harman.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: move tools-specific EXTRA_OECONF to xen-tools.incChristopher Clark2020-08-022-5/+8
| | | | | | | | | | Since the hypervisor recipe does not install init scripts, it does not include update-rc.d.bbclass, which defines INIT_D_DIR; so move the use of that and systemd and qemu tools-specific configure settings over into the tools include file. Fix a hardcoded bindir while at it. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ipxe: fix build with gcc 10.1.0Christopher Clark2020-08-023-0/+134
| | | | | | | Apply two upstream patches to fix compiler warnings. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: upgrade to Xen 4.14 as default and advance the git recipe versionChristopher Clark2020-08-028-223/+16
| | | | | | | | | | | | Release announcement for Xen 4.14: https://lists.xenproject.org/archives/html/xen-devel/2020-07/msg01263.html Make the 4.14 recipe the default preference and advance the git recipe onto the current 4.15 development branch. Retire the patches for the earlier versions. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: update to release 1.19-rc3Bruce Ashfield2020-07-312-5/+43
| | | | | | | | | | | | | | In preparation for the fall release, update to the 1.19 release branch of kubernetes, so that the change can soak and we can work through the rc's No unexpected build or patch issues with this bump and basic sanity testing passed. Once ore components are updated, extended testig will occur. Sanity built and tested on x86-64 and arm64 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: uprev 2.0.11 > 2.0.18Ming Liu2020-07-241-7/+2
| | | | | | | | Also drop useless SRC_URI[md5sum], SRC_URI[sha256sum] and FILES_${PN}, and add SRCPV to PV. Signed-off-by: Ming Liu <ming.liu@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* qemu: Remove duplicated xen PACKAGECONFIGDiego Sueiro2020-07-241-2/+0
| | | | | | | The "meta/recipes-devtools/qemu/qemu.inc" already sets the PACKAGECONFIG[xen]. Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, arm32: filter out unwanted tune flags from CPP as per CCChristopher Clark2020-07-201-0/+1
| | | | | | | Avoids passing the wrong floating point ABI flags to the linker. 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>
* xen, xen-tools: add recipes for Xen 4.14Christopher Clark2020-07-204-0/+133
| | | | | | | | | | | | | | | | | | | Add a versioned-suffix pair of recipes for Xen 4.14, allowing selection of which Xen version to build via setting PREFERRED_VERSION. 4.14 is currently still pre-release, so the new recipes for it set DEFAULT_PREFERENCE to -1, and the default for now remains the existing stable version. Forward ports of patches needed for 4.14 are included. Implementation note: since both this version and the git recipe are built from git branches -- important for Xen since significant updates are made available there inbetween point releases -- the recipe includes 'stable' as a string in PV so as to distinguish it from 'git' in the git recipe, and thereby allow PREFERRED_VERSION to select the correct recipe in the situation where both happen to be configured with the same XEN_REL. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: packaging for new files in Xen 4.14Christopher Clark2020-07-201-0/+25
| | | | | Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* sloci-image: fix variant quotingBruce Ashfield2020-07-192-4/+49
| | | | | | | | | | | | | | | | Bash doesn't deal very well with the quoted "variant" in the output of the oci-image-index. We can calculate the string at the top of the function, and just use it as a whole to avoid needing to figure out the quote escaping. No changes in the output, except a properly quoted "variant" when a variant is defined. We also adjust the definition of "S", since it really wasn't correct before, and now that we have patches, it is more important. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxc: drop RT_GROUP_SCHEDBruce Ashfield2020-07-131-1/+0
| | | | | | | | | | The group scheduling options in the lxc fragment were initially used to support performance guaranteed systems using containers. This option now causes issues with systemd runtimes and the original feature it implemented is no longer relevant Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kubernetes: fix ARM64 buildBruce Ashfield2020-07-101-4/+12
| | | | | | | | | | | | | | | | The first part of the kubernetes build generates some host/build files. These use the build/host compiler and not the cross infrastructure. It was working by luck on x86 build / target matches, but blows up on an ARM64 build. We fix the CC/CFLAGS settings for the host part of the build to use the host/build flags and then restore the cross settings for the rest of the build. Tested on arm64 and x86-64. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: apply kdd tool patchChristopher Clark2020-07-083-12/+40
| | | | | | | | Apply an upstream Xen Release-acked patch to fix kdd debugger and remove the temporary inhibit of Werror on building that tool. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: configure: install defconfig to ${S} not ${B}Christopher Clark2020-07-081-1/+1
| | | | | Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: fix CVE-2020-10736jason.lau2020-07-064-0/+229
| | | | | | | | | | | | | | | | | An authorization bypass vulnerability was found in Ceph versions 15.2.0 before 15.2.2, where the ceph-mon and ceph-mgr daemons do not properly restrict access, resulting in gaining access to unauthorized resources. This flaw allows an authenticated client to modify the configuration and possibly conduct further attacks. Upstream patches: [master] https://github.com/ceph/ceph/commit/c7e7009a690621aacd4ac2c70c6469f25d692868 [v15.2.2] https://github.com/ceph/ceph/commit/f2cf2ce1bd9a86462510a7a12afa4e528b615df2 CVE: CVE-2020-10736 Signed-off-by: Liu Haitao <haitao.liu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxc: upgrade 4.0.2 > 4.0.3Wang Mingyu2020-07-061-2/+2
| | | | | Signed-off-by: Wang Mingyu <wangmy@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: add patch to fix build on ARM64 with gcc 10.1.0Christopher Clark2020-07-062-1/+54
| | | | | | | | | The newer gcc toolchain won't link due to a missing builtin: __sync_fetch_and_add. Xen is built with -fno-builtin, so add a patch to implement the one required function. 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-062-0/+123
| | | | | | | | | | | | | | | 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, linux-raspberrypi: add Linux kernel 5.4 patches for Xen supportChristopher Clark2020-07-0611-0/+586
| | | | | | | | | | | | | | | | Kernel patches are in process of Linux review and submission, and are backported from the Linux Foundation's Eve Project kernel from 5.6 to 5.4 (some patches not needed for 5.4, hence gaps in the patch sequence number) https://github.com/lf-edge/eve/tree/master/pkg/new-kernel/patches-5.6.x A bbappend applies Xen overrides to the boot command line. Since linux-raspberrypi depends on linux-yocto, and linux-yocto_virtualization introduces a requirement for cfg/virtio.scc obtain it from the yocto kernel cache. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, raspberry pi 4: provide a default defconfig for raspberrypi4Christopher Clark2020-07-062-0/+128
| | | | | 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-064-0/+87
| | | | | | | | | | | | 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, xen-tools: update revision to Xen 4.13Christopher Clark2020-07-0611-1232/+89
| | | | | | | | Pull to the current tip of the stable 4.13 branch and apply an upstream 4.14-release-acked patch to xen-tools for a compiler warning in kdd. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: use non-busybox ifupdown tool if availableChristopher Clark2020-07-061-0/+4
| | | | | | | | Adds: RSUGGESTS_${PN}-scripts-network = "ifupdown" Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Suggested-by: Corey Minyard <cminyard@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: add RRECOMENDS qemu on ARM and x86 when HVM is enabledChristopher Clark2020-07-061-0/+6
| | | | | 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-063-1/+15
| | | | | | | | | | | | 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>
* docker: move docker.init back to files directory to use it from docker-mobyMartin Jansa2020-07-021-0/+0
| | | | | | | | | | | | | * it was moved for some reason in: http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?id=929372946aeb85953d1ca6acc428d73fbac52a56 but docker-moby uses it as well and now started to fail with: ERROR: docker-moby-19.03.12+git9dc6525e6118a25fab2be322d1914740ea842495-r0 do_fetch: Fetcher failure: Unable to find file file://docker.init anywhere. .. Signed-off-by: Martin Jansa <martin.jansa@lge.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-ce: remove unused docker-registry.service fileMartin Jansa2020-07-021-19/+0
| | | | | Signed-off-by: Martin Jansa <martin.jansa@lge.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-dotenv: add recipeMing Liu2020-07-011-0/+13
| | | | | | | | Shell Command and Library to write and read .env like files, it's being required by python3-docker-compose upper than 1.26.0. Signed-off-by: Ming Liu <ming.liu@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-docker: uprev 4.2.0 > 4.2.1Ming Liu2020-07-013-18/+19
| | | | | | | | Merge python-docker.inc to python3-docker_4.2.1.bb since we have dropped python-docker recipe. Signed-off-by: Ming Liu <ming.liu@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-docker-compose: uprev 1.25.5 > 1.26.0Ming Liu2020-07-012-6/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The major changes include: d4451659 Bump 1.26.0 3d94f442 Bump 1.26.0-rc5 1386a855 Merge pull request #7485 from ulyssessouza/fix-https-daemon 8034c96d Bump docker-py 48d09369 Fix flake8 errors 28bf47ce Pin wcwidth==0.1.9 d279b7a8 Bump 1.26.0-rc4 83371df2 Merge branch 'master' into 1.26.x 9c5351cf Merge pull request #7389 from ulyssessouza/general-bumps-for-1_26 836e2b7c General bumps 266d287e Merge pull request #7390 from ulyssessouza/remove-unused-resources d64f3f39 Remove unused files 4e310a94 Merge pull request #7386 from ulyssessouza/bump-python-dotenv-1_13_0 d52b51e8 Bump python-dotenv from 0.11.0 to 0.13.0 64a6a48b Merge pull request #7345 from docker/dependabot/pip/certifi-2020.4.5.1 0979c7a1 Merge pull request #7380 from joehattori/simplify-code ce782b59 Simplify code in compose/config/config.py b7d6dc79 Bump certifi from 2019.11.28 to 2020.4.5.1 c22a2510 Merge pull request #7374 from ulyssessouza/fix-distro-guess a62a1e1d Add "distro" package afc5d205 Merge pull request #7371 from ulyssessouza/bump-openssl-111f 4d2afc07 Merge pull request #7372 from ulyssessouza/update-changelog Have verified on arm/arm64/x86_64 against: https://docs.docker.com/compose/gettingstarted Signed-off-by: Ming Liu <ming.liu@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>