summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* docker-moby: fix buildMartin Jansa2020-03-032-0/+62
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * apply similar patch to what was applied to docker-ce in: http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/recipes-containers/docker?id=e7787cb01be91d3798594687a475d5b085f29ede it's very similar, but needs to be separate .patch file, because the path to make/.binary is different in docker-ce and docker-moby. since the recent upgrade: http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?id=f770151b3ff0938bea4972abdd1ee7f6cbc3a074 docker-moby needs the same change or fails like this: | ERROR: Execution of 'work/raspberrypi4-oe-linux-gnueabi/docker-moby/19.03.6+git71373c6105e3cbc9702935b96d8ee01214c405e7-r0/temp/run.do_compile.31754' failed with exit code 2: | | Package devmapper was not found in the pkg-config search path. | Perhaps you should add the directory containing `devmapper.pc' | to the PKG_CONFIG_PATH environment variable | No package 'devmapper' found | Removing bundles/ | | ---> Making bundle: dynbinary (in bundles/dynbinary) | Building: bundles/dynbinary-daemon/dockerd-19.03.6 | GOOS="linux" GOARCH="arm" GOARM="7" | # runtime/cgo | exec: "arm-linux-gnueabihf-gcc": executable file not found in $PATH | WARNING: work/raspberrypi4-oe-linux-gnueabi/docker-moby/19.03.6+git71373c6105e3cbc9702935b96d8ee01214c405e7-r0/temp/run.do_compile.31754:1 exit 2 from 'VERSION="19.03.6" DOCKER_GITCOMMIT="${SRCREV_docker}" ./hack/make.sh dynbinary' | ERROR: Task (meta-virtualization/recipes-containers/docker/docker-moby.bb:do_compile) failed with exit code '1' Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-moby: fix DOCKER_GITCOMMITMartin Jansa2020-03-031-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * SRCREV_docker isn't defined in docker-moby recipes at all so it passes unexpanded ${SRCREV_docker} as noticed in error log: | ERROR: Execution of 'work/raspberrypi4-oe-linux-gnueabi/docker-moby/19.03.6+git71373c6105e3cbc9702935b96d8ee01214c405e7-r0/temp/run.do_compile.31754' failed with exit code 2: | | Package devmapper was not found in the pkg-config search path. | Perhaps you should add the directory containing `devmapper.pc' | to the PKG_CONFIG_PATH environment variable | No package 'devmapper' found | Removing bundles/ | | ---> Making bundle: dynbinary (in bundles/dynbinary) | Building: bundles/dynbinary-daemon/dockerd-19.03.6 | GOOS="linux" GOARCH="arm" GOARM="7" | # runtime/cgo | exec: "arm-linux-gnueabihf-gcc": executable file not found in $PATH | WARNING: work/raspberrypi4-oe-linux-gnueabi/docker-moby/19.03.6+git71373c6105e3cbc9702935b96d8ee01214c405e7-r0/temp/run.do_compile.31754:1 exit 2 from 'VERSION="19.03.6" DOCKER_GITCOMMIT="${SRCREV_docker}" ./hack/make.sh dynbinary' | ERROR: Task (meta-virtualization/recipes-containers/docker/docker-moby.bb:do_compile) failed with exit code '1' this build issue is somehow caused by recent upgrade: http://git.yoctoproject.org/cgit/cgit.cgi/meta-virtualization/commit/?id=f770151b3ff0938bea4972abdd1ee7f6cbc3a074 and this build error is not fixed by this change, but see 2nd to last line which shows DOCKER_GITCOMMIT="${SRCREV_docker}" Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* hyperstart: refresh ↵Martin Jansa2020-03-031-23/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 0001-container.c-Fix-compiler-errors-that-gcc-8.1.0-repor.patch to apply cleanly ERROR: hyperstart-v0.2+gitAUTOINC+15bb718ad3-r0 do_patch: Fuzz detected: Applying patch 0001-container.c-Fix-compiler-errors-that-gcc-8.1.0-repor.patch patching file src/container.c Hunk #2 succeeded at 118 with fuzz 1 (offset 17 lines). Hunk #3 succeeded at 148 (offset 18 lines). Hunk #4 succeeded at 158 (offset 18 lines). Hunk #5 succeeded at 167 with fuzz 1 (offset 18 lines). Hunk #6 succeeded at 197 (offset 20 lines). Hunk #7 succeeded at 222 (offset 20 lines). Hunk #8 succeeded at 240 (offset 20 lines). Hunk #9 succeeded at 277 (offset 20 lines). Hunk #10 succeeded at 285 (offset 20 lines). Hunk #11 succeeded at 325 (offset 27 lines). Hunk #12 succeeded at 583 (offset 30 lines). Hunk #13 succeeded at 646 (offset 30 lines). Hunk #14 succeeded at 664 (offset 30 lines). Hunk #15 succeeded at 749 (offset 30 lines). Hunk #16 succeeded at 769 (offset 30 lines). Hunk #17 succeeded at 778 (offset 30 lines). The context lines in the patches can be updated with devtool: devtool modify hyperstart devtool finish --force-patch-refresh hyperstart <layer_path> Don't forget to review changes done by devtool! ERROR: hyperstart-v0.2+gitAUTOINC+15bb718ad3-r0 do_patch: QA Issue: Patch log indicates that patches do not apply cleanly. [patch-fuzz] Signed-off-by: Martin Jansa <martin.jansa@lge.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: drop 5.2 bbappendBruce Ashfield2020-03-031-4/+0
| | | | | | | 5.2 has been removed from core, so we drop the 5.2 bbappend to match. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch-git: refresh patch to fix patch-fuzz warningChangqing Li2020-03-021-2/+4
| | | | | Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* dev86: update SRC_URI and associated checksumsPiotr Król2020-03-021-3/+3
| | | | | | | | SRC_URI no longer works, server return 503. Replace server with github address. Signed-off-by: Piotr Król <piotr.krol@3mdeb.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-image-minimal: enable runqemu for x86-64Christopher Clark2020-03-021-0/+13
| | | | | | | | | | | | | | | | Booting this Xen image with QEMU works when launching from the wic-generated pcbios disk image with the directdisk-xen.wks kickstart file, so add the variable settings to make doing it simple -- eg: runqemu xen-image-minimal nographic slirp Tested with MACHINEs: qemux86-64 and genericx86-64 Memory allocated to qemu is increased slightly over the default to allow for running Xen and the Linux dom0 and guest VMs. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-ce/moby: update to latest 19.03.x revisionsBruce Ashfield2020-03-022-10/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping the docker recipes to the latest 19.03 changes: f0e27e52c1 Merge component 'cli' from git@github.com:docker/cli 19.03 65550b7564 Merge pull request #2352 from thaJeztah/19.03_backport_add_daemon_redirect 118ddd9ac0 docs: add redirect for old location of daemon reference baa53b1dcc Merge pull request #2344 from thaJeztah/19.03_backport_builder_prune_flags 5321005e4e Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03 d97f4c303b Merge pull request #432 from thaJeztah/19.03_backport_bump_golang_1.12.17 e08e107ddc Merge component 'cli' from git@github.com:docker/cli 19.03 058ac7dc90 Merge pull request #2342 from thaJeztah/19.03_backport_bump_golang_1.12.17 84d75db7ac Fix builder prune -a/--all flag description 29db22eecc unused-for is a deprecated synonym 2f76c46e36 Update Golang 1.12.17 f49613c3ae Update Golang 1.12.17 369ce74a3c Merge pull request #643 from arkodg/19.03 bee80f7cbf Bump Version to 19.03.6 78e3d7a827 Merge component 'cli' from git@github.com:docker/cli 19.03 a53add6c25 Merge pull request #2320 from thaJeztah/19.03_docs_backports b21b8c4427 docs: update deprecated status for --disable-legacy-registry ee91f95834 docs: add status table to "deprecated.md" 672cbe85e0 docs: mark deprecation of "docker engine" subcommands 1697838c76 docs: mark deprecation of "dab" files and top-level "deploy" subcommand 293ca94147 docs: sort "deprecated.md" by deprecation release 8ac182f3d5 docs: update some release-versions in "deprecated.md" 7877cc4a39 docs: minor touch-ups in "deprecated.md" 22b4b51d54 docs: service create: document os/arch constraints and more examples 09315bfb9c docs: service create: document non-matching/exclude constraints 275af80811 docs: service create: use markdown table for constraints 969ddd8937 Give an example for --reserve-memory 70114cfeab Merge component 'cli' from git@github.com:docker/cli 19.03 0056d8cf4a Merge pull request #2315 from thaJeztah/19.03_backport_carry_855_config_opts c3831cea9c Remove a useless '\' and enhance a script in an example in the section 'Add entries ... (--add-host)' d9eb3c2d18 Add examples for configs 586103a655 Merge component 'cli' from git@github.com:docker/cli 19.03 9e55c7c6ff Merge pull request #2311 from thaJeztah/19.03_backport_carry_1889_build_docs_update fc0328309a Syntax corrected 94739e3a28 docs: document dockerignore update 49c91f0de5 docs: document build outputs 0350afa412 docs: document cache-from b9eb7e03e8 Add notice about port binding and overriding of UFW to docker run reference 97049ac8a1 Merge pull request #640 from arkodg/19.03 6d6ce58b31 Bump version to 19.03.6.rc2 76a635b4c1 Merge component 'engine' from git@github.com:docker/engine 19.03 92806c13e9 Merge pull request #40453 from thaJeztah/19.03_bump_containerd 74ceaefc0f Merge component 'engine' from git@github.com:docker/engine 19.03 6e493ff731 update runc library to v1.0.0-rc10 (CVE-2019-19921) 4b4ef42785 update runc binary to v1.0.0-rc10 (CVE-2019-19921) 0a962fdb56 [19.03] Update containerd binary to v1.2.12 e88a6aff54 Merge pull request #40440 from tonistiigi/1903-update-buildkit 8d4dd9cf04 Merge pull request #40432 from thaJeztah/19.03_bump_swarmkit 7b4d2e6d4b vendor: update buildkit to 57e8ad5 57d13bfe2a Merge pull request #40433 from thaJeztah/19.03_bump_golang_1.12.16 2fb2d60efe [19.03] vendor: bump swarmkit 062b694b46c0744d601eebef79f3f7433d808a04 2cf45c5bcb vendor: update golang.org/x/crypto 69ecbb4d6d5dab05e49161c6e77ea40a030884e1 6466a776b3 [19.03] Update Golang 1.12.16 (CVE-2020-0601, CVE-2020-7919) 3e58daafc4 Merge component 'cli' from git@github.com:docker/cli 19.03 68d0178e83 Merge pull request #2302 from thaJeztah/19.03_bump_golang_1.12.16 e5e1976a91 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03 4e8f5d9d7d Merge pull request #429 from thaJeztah/19.03_backport_bump_golang_1.12.16 9dd99e2dc3 Update Golang 1.12.16 (CVE-2020-0601, CVE-2020-7919) 5974a91053 vendor: update golang.org/x/crypto 69ecbb4d6d5dab05e49161c6e77ea40a030884e1 (CVE-2020-7919) d3739cb2c9 Update Golang 1.12.16 (CVE-2020-0601, CVE-2020-7919) a5b1206510 Merge component 'cli' from git@github.com:docker/cli 19.03 a2bc745cee Merge pull request #2291 from thaJeztah/19.03_backport_update_flag_description 80c58bbf63 Merge component 'cli' from git@github.com:docker/cli 19.03 7b094d6ad6 Merge pull request #2292 from thaJeztah/19.03_backport_hide_unsupported_buildkit_flags 45171da30b Annotate flags that are not supported by Buildkit 7f9957e9d5 Update flag description for docker rm -v 77739a9875 Merge pull request #639 from arkodg/19.03 855b0a0806 Bump version to 19.03.6.rc1 8af945c717 Merge component 'engine' from git@github.com:docker/engine 19.03 7cdc0a43bc Merge pull request #454 from thaJeztah/19.03_backport_lgetxattr_panic 4bd7815ea5 Merge component 'engine' from git@github.com:docker/engine 19.03 78567fe9cc Merge pull request #429 from thaJeztah/19.03_backport_windows_1903_fixes 8b00f36b33 Merge pull request #240 from thaJeztah/19.03_backport_lcowfromscratch 80cebcf36a Merge pull request #443 from thaJeztah/19.03_backport_health_race 5effd71d27 Merge pull request #441 from thaJeztah/19.03_backport_fix_double_host 102b097aff Merge pull request #439 from arkodg/19.03 4e53bffc7f Merge pull request #442 from thaJeztah/19.03_backport_errdefs_no_recurse c094d5a10c Merge pull request #444 from thaJeztah/19.03_backport_fix_unmount_ipc_ignore_enotexist 6c41819f16 Merge pull request #446 from thaJeztah/19.03_backport_ctx_upload_cancel 8f7f8f44fe Merge pull request #447 from thaJeztah/19.03_backport_fix_containerStart_unhandled_error 084a766569 Merge pull request #449 from thaJeztah/19.03_backport_move_windows_gopath_out_of_goroot 4e02c9f299 Merge pull request #440 from thaJeztah/19.03_backport_remove_cocky 446d2c5c1c Merge pull request #448 from thaJeztah/19.03_backport_gofmt_pkg_parsers 3a72499a38 Merge pull request #450 from thaJeztah/19.03_backport_bump_docker_py_4.1.0 169849fb47 Merge pull request #451 from thaJeztah/19.03_backport_swagger_fixes 9d81f4dc77 Merge pull request #452 from thaJeztah/19.03_bump_golang_1.12.15 cda3e3908a Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03 ff42a8ba90 Merge pull request #425 from thaJeztah/19.03_backport_file_permissions db575945f1 Merge component 'engine' from git@github.com:docker/engine 19.03 89d170efa5 Merge pull request #453 from tonistiigi/1903-update-buildkit cebe170ea9 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03 45d8672a7c Merge pull request #423 from thaJeztah/19.03_backport_eq_fix bb2ce33fe5 Merge pull request #419 from thaJeztah/19.03_backport_bump_golang_1.12.15 8e8ca6cefd Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03 165fa60cf6 deb: make init and postinst files executable ea068ad379 deb: make "rules" executable 8d381059b1 Update Golang 1.12.15 00f93046eb fix eq issue 86c51432c5 Merge pull request #424 from thaJeztah/19.03_fix_engine_build_branch 811ee1c9eb [19.03] Jenkinsfile: fix image-based engine using wrong branch 47f2060ce6 vendor: update buildkit to 926935b5 5ad9cc8ca2 Merge component 'cli' from git@github.com:docker/cli 19.03 3a0d01d07d Merge pull request #2276 from thaJeztah/19.03_backport_bump_golang_1.12.15 6dba05f752 Update Golang 1.12.15 2e17c08fc0 Bump Golang 1.12.14 1ee8d32fb1 Merge component 'engine' from git@github.com:docker/engine 19.03 10edafeba6 Merge pull request #434 from AkihiroSuda/bump-up-rootlesskit-1903 934fe5908d rootless: fix proxying UDP packets 54e2eea263 Merge component 'engine' from git@github.com:docker/engine 19.03 ebff06c64d Merge pull request #445 from thaJeztah/19.03_backport_only_add_btrfs_when_needed_please 14944dac60 Merge component 'cli' from git@github.com:docker/cli 19.03 a6a5fe3f42 [19.03] Bump Golang 1.12.15 d60a0ce710 Merge pull request #2264 from thaJeztah/19.03_backport_passthrough_user_pass 06f4c68830 Merge pull request #2265 from thaJeztah/19.03_backport_fix_pull_test b8f99514f5 Merge pull request #2266 from thaJeztah/19.03_backport_circleci_updates 2bdad99c18 Merge pull request #2267 from thaJeztah/19.03_backport_fix_print 2558f6da19 Merge pull request #2268 from thaJeztah/19.03_backport_docs_changes 43a7e621fa Change example networks 6eeb780d69 Add docs for proxy configuration in config.json bd178e5d35 Fixing some links and deleting an older page reference e027dee044 Update service_create.md 7c3c6bde38 Docs: add note about management commands targeting a manager 8adb5acdec fix formatting issue of encoded url 37661a3bde CircleCI: add some info steps, and re-group jobs 33e6e19119 fix(pull_test): for quiet option 72f8164a81 Fix lint issue 292158ca22 Add test case to cover non-empty auth entry 5caedcf1e7 Allow username/password in config file 2da9c2471c Fix possible runtime panic in Lgetxattr b2ff3fc218 Fix Engine API version history typo 02ea27bc5e swagger: add missing container Health docs 517eb6a711 swagger: move ContainerState to definitions 7bc205f9f7 Fix phrasing when referring to the freezer cgroup 371d0446b2 Update service networks documentation 53051b43bd swagger: restore bind options information 2d9b525418 /containers/{id}/json missing Platform d29437ceda Document `message` parameter to `/images/create` 2f58c245d9 Fix indentation in some description c025267db2 fix swagger.yaml #39484 45e4107de0 bump docker-py to 4.1.0 91d2ac3c90 Move GOPATH out from under the GO source tree 7bc5833224 pkg/parsers/kernel: gofmt hex value (preparation for Go 1.13+) 3a8b05b8b2 daemon:containerStart() fix unhandled error for saveApparmorConfig f72d87c0fc builder-next: close build context upload on cancel 04be8ea7c7 daemon: Remove btrfs_noversion build flag c49c729ba2 Fix "no such file or directory" warning when unmounting IPC mount 759272227c Avoid a data race in container/health.go dd7239f025 errdefs: remove unneeded recursive calls ec423339f0 daemon: don't listen on the same address multiple times 303c74632d Remove cocky from names-generator 3552b026fd Merge component 'engine' from git@github.com:docker/engine 19.03 e7074b6956 Merge component 'cli' from git@github.com:docker/cli 19.03 00159b2d54 Bump 19.03 libnetwork refpoint a2f2b955f2 Merge pull request #2195 from tiborvass/19.03-fix-cp cfe657d671 Merge component 'engine' from git@github.com:docker/engine 19.03 a62d4a6ea5 Merge pull request #424 from thaJeztah/19.03_backport_39608_short_libnetwork_id bb0b936f68 Merge component 'cli' from git@github.com:docker/cli 19.03 982bbfbb9d Merge pull request #2184 from thaJeztah/19.03_backport_fix_max_replicas_per_node_interpolation 9e38db328e Merge pull request #423 from thaJeztah/19.03_backport_win_restore_no_parallelism d6cc247196 Merge pull request #427 from thaJeztah/19.03_backport_40232-comply_with_gelf_spec 403d9c3fcb Merge pull request #425 from cpuguy83/backport_40169_windows_version_quad 788a8e1b4a Merge pull request #435 from thaJeztah/19.03_bump_golang_1.12.14 817461b421 Merge pull request #428 from thaJeztah/19.03_bump_containerd_1.2.11 245f1458e5 Merge pull request #437 from thaJeztah/19.03_backport_skip_broken_docker_py_test 27678e7a7f Merge pull request #438 from ydcool/19.03_backport_fix_compiling_errors_on_mips 642b00b68e Merge component 'cli' from git@github.com:docker/cli 19.03 ebf04109a4 Merge pull request #2261 from zappy-shu/19.03_backport_2250-reverse-port-long-format-order aeec1f7a39 Reverse order of long-form ports 169540b729 cast Dev and Rdev of Stat_t to uint64 for mips 84bf606e9d Merge component 'cli' from git@github.com:docker/cli 19.03 3a9fa3f639 Merge pull request #2239 from thaJeztah/19.03_backport_carry_golangci_lint 482879a6bc Merge pull request #2240 from thaJeztah/19.03_backport_carry_platform_docs 2b51a9c7a8 docs: document from platform a3fb446453 docker-py: skip broken ImageCollectionTest::test_pull_multiple c14d933c6c docker-py: re-enable tests that were fixed in v4.1.0 ffc1e0d1e8 Remove now obsolete gometalinter and use golangci-lint instead b12cb0425d cli/command/stack/kubernetes: Using the variable on range scope `c` in function literal (scopelint) 06b7cc4b21 cli/command/container: Using the variable on range scope `c` in function literal (scopelint) e10677a913 cli/command/stack/kubernetes: Using a reference for the variable on range scope `obj` (scopelint) ad3520d231 opts: Using the variable on range scope `tc` in function literal (scopelint) b88c92188a cli/manifest: Using the variable on range scope `testcase` in function literal (scopelint) b1f12aeb53 cli/compose/template: Using the variable on range scope `tc` in function literal (scopelint) 19a5404f7c cli/command/container: suppress dogsled warnings 05d443cf6e e2e: remove unnecessary trailing newline (whitespace) 95a8c8d361 internal: remove unnecessary newlines (whitespace) bbd8228b8b cli/command: Using the variable on range scope `testcase` in function literal (scopelint) 4bd7b2790b cli: remove unnecessary newlines (whitespace) 709d853810 cli/command/trust: Using the variable on range scope `keyBytes` in function literal (scopelint) e4dd0c48c0 cli/command/context: Using the variable on range scope `c` in function literal (scopelint) 941a48cf6c e2e/cli-plugins: Using the variable on range scope `args` in function literal (scopelint) 1bd87c8870 cli/compose/loader: Using a reference for the variable on range scope `overrideService` (scopelint) cf3ad51330 templates: Using the variable on range scope `testCase` in function literal (scopelint) 938050f6df service/logs: Using the variable on range scope `testcase` in function literal (scopelint) 892f49ecc1 cli/config: Using the variable on range scope `tc` in function literal (scopelint) 86637da9e1 cli/command/formatter: Error return value of `ContainerWrite` is not checked (errcheck) f1226e4803 cli/command: Error return value of `cli.Apply` is not checked (errcheck) c16e5c5cb6 cli/command/formatter: Error return value of `ImageWrite` is not checked (errcheck) 6980a9fa85 cli/context/store: SA5001: should check returned error before deferring f.Close() (staticcheck) 3b21601ee7 cli/command/image: SA1006: printf-style with no further arguments (staticcheck) 6607bae1ed cli/command/utils: SA1006: printf-style with no further arguments (staticcheck) 63aecdcc56 cli/command/trust: SA1006: printf-style with no further arguments (staticcheck) 8dce5cdba3 cli/command/image/build: G107: Potential HTTP request made with variable url (gosec) 356d918639 cli/command/service: SA1012: do not pass a nil Context (staticcheck) 406e58f349 cli/command/secret: G101: Potential hardcoded credentials (gosec) b60f19d443 cli/compose/convert: driverObjectConfig - result 1 (error) is always nil (unparam) feabf9a1a7 e2e/container: containerExistsWithStatus - t is unused (unparam) dc7ad38270 cli/command/image/build/context_test.go:244:38: `createTestTempDir` - `prefix` always receives `"builder-context-test"` (unparam) a96c9f7fb3 cli/command/registry/login_test.go:66:25: unnecessary conversion (unconvert) 6fc683021d File is not `goimports`-ed (goimports) e04f71b179 cli/compose/convert/service_test.go:274:72: unnecessary conversion (unconvert) e0a19e5428 cli/command/trust/sign_test.go:119:70: unnecessary conversion (unconvert) 6ebeec5a54 Disable unparam linter: e2e/image/push_test.go:299:27: `withNotaryPassphrase` - `pwd` always receives `"foo"` (unparam) fc40566c78 Disable unparam linter: cli/required.go:102:16: `pluralize` - `word` always receives `"argument"` (unparam) 7ce0919e99 compose/loader: define type for transformer-functions 3e2e85ac3f disable unparam linter on these functions, as we need an error in these function signatures cd2bfde567 cli/compose/convert: result 1 (error) is always nil (unparam) b591d5805c cli/command/system/info.go:116:68: prettyPrintClientInfo - result 0 (error) is always nil (unparam) 0110e1a9fa cli/command/stack/kubernetes/deploy_test.go:65:68: `checkOwnerReferences` - `stackName` always receives `"test"` (unparam) cdaadd3714 cli/command/plugin/list_test.go:61:31: `TestList$1` - `filter` is unused (unparam) 949cd3a5a5 cli/command/image/build_session.go:133:45: getBuildSharedKey - result 1 (error) is always nil (unparam) 4de862fd32 cli/command/image/build_buildkit.go:450:56: parseSSH - result 1 (error) is always nil (unparam) 142ccde3b1 cli/command/image/build/context_test.go:252:71: `createTestTempFile` - `perm` always receives `0777` (`511`) (unparam) e6a8833c39 cli/command/image/build/context_test.go:244:38: `createTestTempDir` - `dir` always receives `""` (unparam) 7c4745bb2b unchecked errors 8f63ddef03 cli/command/container/attach.go:141:15: nilness: impossible condition: nil != nil (govet) db9be2bb14 opts/ulimit_test.go:11:13: composites: `*github.com/docker/cli/vendor/github.com/docker/go-units.Ulimit` composite literal uses unkeyed fields (govet) de156d566e cli/compose/types/types.go:106:2: structtag: struct field tag `yaml:",inline", json:"-"` not compatible with reflect.StructTag.Get: key:"value" pairs not separated by spaces (govet) f97c9969e2 cli/registry/client/fetcher.go:106:9: nilness: impossible condition: nil != nil (govet) 5e679e1088 cli/command/container/start.go:157:20: nilness: nil dereference in type assertion (govet) 6c3a85d5bd cli/command/stack/kubernetes/list.go:32:47: nilness: tautological condition: non-nil != nil (govet) 46b5db8f92 cli/command/trust/key_generate.go:112:9: nilness: impossible condition: nil != nil (govet) 34db4b6f2d SA1019: httputil.ErrPersistEOF is deprecated: No longer used. (staticcheck) 40eae09556 cli/command/container/stats.go:211:21: SA1015: using time.Tick leaks the underlying ticker, consider using it only in endless functions, tests and the main package, and use time.NewTicker here (staticcheck) abd320c8ee cli/command/trust/inspect_pretty_test.go:399:24: SA4010: this result of append is never used, except maybe in other appends (staticcheck) 11cd9341cf opts/throttledevice.go:51:5: SA4003: unsigned values are never < 0 (staticcheck) c7898382f0 compose/loader: fix TestIsAbs not testing all combinations 8f6e057d58 Gometalinter: raise deadline to 3 minutes db568b7af3 gometalinter: fix configuration 775adaed88 [19.03] Bump Golang 1.12.14 aa6bfe79fc Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03 c3d8c3468e Merge pull request #413 from arkodg/19.03 ec67290985 Add ubuntu-disco and ubuntu-eoan to deb Makefile 8529189e00 Add Ubuntu 19.10 "eoan" 45b0e46ce5 Merge pull request #638 from tiborvass/bump19036test e3e3a4e994 Bump VERSION to 19.03.6-test1 b875282b34 Merge component 'cli' from git@github.com:docker/cli 19.03 6fed018433 Merge pull request #2222 from thaJeztah/19.03_backport_fix_docker_cp_npe 250fddee49 docker cp: prevent NPE when failing to stat destination 93bf0c971f Bump hcsshim to b3f49c06ffaeef24d09c6c08ec8ec8425a 6ad4cf704c TestRunAttachFailedNoLeak: Compare lowercase a44ab059da bump Microsoft/hcsshim 2226e083fc390003ae5aa8325c3c92789afa0e7a f521821787 integration-cli: remove unnescessary conversions (unconvert) 08d18a123f Rename "v1" to "statsV1" c6b9bdb87c bump containerd/cgroups 5fbad35c2a7e855762d3c60f2e474ffcad0d470a c8bfd0a7a9 bump containerd/cgroups c4b9ac5c7601384c965b9646fc515884e091ebb9 298f6e1c08 Merge component 'packaging' from git@github.com:docker/docker-ce-packaging 19.03 0c8d8151ac RHEL8 iptables build fix (#410) 67f4391ce0 [19.03] Update containerd binary to v1.2.11 31d684a683 [19.03] Update to runc v1.0.0-rc9 df4aa4947c LCOW: Fix FROM scratch cdd97d5eee logger/gelf: Skip empty lines to comply with spec cbc9071e4a daemon: Use short libnetwork ID in exec-root & update libnetwork 60e2f6b3c9 Windows: Only set VERSION_QUAD if unset 1232d6d690 Windows: Use system specific parallelism value on containers restart 17870bcb42 cp: allow trailing slash in non-existant destination dfba6b8680 Add interpolation type cast for max_replicas_per_node Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* layer: Add MAINTAINERS fileBruce Ashfield2020-02-272-0/+35
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* uxen-guest-tools, image: package the Linux VM tools for uXen hypervisorChristopher Clark2020-02-274-0/+115
| | | | | | | | | | | | | | uXen is a type-2 Open Source hypervisor from Bromium/HP. https://www.bromium.com/opensource/ This adds packaging for the Linux guest support software, enabling OE to produce VM images to run on the uXen hypervisor. uxen-guest-tools: in-guest software device drivers uxen-guest-image-minimal : minimal core image with uXen drivers Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: updates to the deploy taskChristopher Clark2020-02-272-10/+31
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Amend addtask for deploy in both recipes: add deploy before do_build to ensure that it completes before the build step stamp is written. Suggested-by: Bertrand Marquis <bertrand.marquis@arm.com> Add comments explaining the scheduling of the deploy task to both the hypervisor and tools recipes. In the hypervisor build, change deploy to obtain files from ${B} rather than ${D}, since it allows a bbappend to modify boot binary file destinations in do_install without breaking do_deploy. To ensure that a deployed hypervisor has matching tools in any image being built, add a dependency to make sure that the tools have built and been staged first: do_deploy[depends] += "xen-tools:do_populate_sysroot" Also add a dependency to ensure that anything that the tools recipe deploys, such as a XSM policy file, has been deployed first: do_deploy[depends] += "xen-tools:do_deploy" Schedule deploy tasks after populate_sysroot to ensure that deployed binaries match those staged for inclusion in the image rootfs. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: add menuconfig instructions to the READMEChristopher Clark2020-02-271-0/+9
| | | | | | | bitbake xen -c menuconfig Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-image-minimal: add a build dependency on the xen hypervisorChristopher Clark2020-02-271-0/+4
| | | | | | | | | The hypervisor may not be within the dom0 filesystem image itself, so add a task dependency to ensure that it is deployable: do_build[depends] += "xen:do_deploy" Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: add contact to recipe README fileChristopher Clark2020-02-271-1/+3
| | | | | | | Add myself as a contact for the Xen recipes. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: bug fix to post_patch taskChristopher Clark2020-02-271-1/+1
| | | | | | | Patch needs to be applied to tree in ${S}. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: remove stubs task and use multilib when necessaryChristopher Clark2020-02-272-17/+35
| | | | | | | | | | | | | | | | | | | | | | | | | | The stubs task was MACHINE-specific due to the OE variables it accessed which had forced unnecessary rebuild work in OpenXT's multi-MACHINE builds. The stubs task was generating a 32-bit header file to satisfy the Xen tools firmware build to generate the hvmloader binary, which is only needed on x86-64 targets where HVM-mode guests are enabled. Remove this header file generation logic and similar in the configure task, and in the cases where hvmloader is to be built use multilib to provide a 32-bit sysroot and allow the build to obtain the needed 32-bit materials from their source: glibc. Building Xen tools for x86-64 with HVM-guest support enabled now requires the following to be added to a build conf file (eg. distro.conf, or local.conf) : require conf/multilib.conf MULTILIBS = "multilib:lib32" DEFAULTTUNE_virtclass-multilib-lib32 = "x86" Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: separate COMPATIBLE_HOST for hypervisor and toolsChristopher Clark2020-02-273-2/+5
| | | | | | | The tools have broader platform compatibility than the hypervisor. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: update recipes for python3Christopher Clark2020-02-2712-27/+1344
| | | | | | | | | | | | | | | | | | | | | | | | | Adds patches for packaged scripts to enable deployment with python3 where they have been ported to python 3 upstream. setuptools3 inherits distutils3 which modifies ${B}, so cd ${S} is needed in the do_configure, do_compile and do_install steps. Remove python 2 dependency from the Xen recipes by adding a new separate recipe, xen-python2, for packaging the remaining optional scripts which are yet to be ported to python 3. Package naming in the separate recipe is chosen to support transition back into the xen-tools recipe if the scripts are ported later. Use RSUGGESTS to support inclusion of the xen-python2 scripts in images that include python 2. Drop the remus package python dependency since the script was removed in 2014: commit 5b66f84e37a45038f9e5dae7a5768a5525d1e6ba Add python3 RDEPENDS needed to run xenmon. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: change globbing to fix syntax highlightingChristopher Clark2020-02-271-3/+3
| | | | | | | | | | | | A text editor can interpret /* as the beginning of a comment and then fail to find the matching */ it expects as a terminator. This causes it to mishighlight the rest of the file. Avoid this by using a different matching pattern. Fixes an annoyance when editing the file. No functional change intended. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-image-minimal: add kernel-module-tun for HVM guest networkingChristopher Clark2020-02-271-0/+4
| | | | | | | Xen HVM guests are only on x86 platforms so add the module via overrides. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: add seabios to RRECOMMENDS of xen-tools when HVM-enabledChristopher Clark2020-02-271-0/+1
| | | | | | | Launching HVM guest VMs requires a BIOS firmware binary. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: move xentrace_setmask into the xentrace packageChristopher Clark2020-02-271-1/+1
| | | | | Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: separate recipes for hypervisor and tools; switch to git as sourceChristopher Clark2020-02-279-861/+946
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This change changes the names of many packages produced: the xen-tools recipe now builds packages previous built by the xen recipe, so the package prefix changes from "xen-" to "xen-tools-". A temporary bbappend is provided for qemu to ease the transition. Multiple motivations for recipe separation: - improves efficiency of incremental build and development - supports building the hypervisor and tools with different toolchains and for different architectures Switch to using a git recipe on the Xen stable branch: - enables easier tracking of critical XSA security updates applied upstream by just advancing SRCREV along the branch Revision has been set to the tip of the stable-4.12 branch, which has the one XSA-312 patch applied on top of RELEASE-4.12.2. The recipe refactor externalizes the block tap components, to enable optional building of blktap in a separate recipe outside xen-tools, needed by OpenXT. xenstored is made a virtual package to support switching between alternative implementations (several exist). Update xen-image-minimal to install the xen-tools package, which replaces what was previously xen-base. Determine the flask policy filename, which is Xen-version specific, using the same method as the Xen build system. qemu: update PACKAGECONFIG[xen] for xen package renaming: allows builds to continue correctly in the meantime while openembedded core and poky are updated. OpenXT ticket reference: OXT-1694 Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: retire Qemu packaging from the Xen recipeChristopher Clark2020-02-271-87/+0
| | | | | | | | Modern Qemu supports Xen and the qemu binary to be used with Xen should be built with the Qemu recipe. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: add RDEPENDS for xen-pygrub and xen-python packagesChristopher Clark2020-02-271-0/+8
| | | | | Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: package the EFI hypervisor binary /boot/xen.efiChristopher Clark2020-02-271-0/+1
| | | | | Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* wic: add support for bootable pcbios partition with Xen hypervisorChristopher Clark2020-02-275-0/+252
| | | | | | | | | | | | | | | New bootimg-biosxen wic plugin to populate a boot partition for launching Xen and dom0. Includes example kickstart wks files to generate disk images to boot into Xen from PC BIOS. eg: wic create directdisk-xen -e xen-image-minimal and write the resulting image file to a disk for boot. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: upgrade to 4.12.2Christopher Clark2020-02-271-2/+2
| | | | | | | Fixes the build failure with 4.12.0 seen with the newer OE compiler. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: pass compiler flags via Xen-provided variablesChristopher Clark2020-02-271-10/+25
| | | | | | | | | | | | | | | | | | | Fix the method of passing compiler flags into the Xen build, which is needed to fix compilation of hvmloader, a 32-bit firmware binary that is required for Xen to be able to run HVM-mode guest VMs. It must not be compiled with SSE compiler options enabled, so the Xen build clears CFLAGS, which is a problem with _FORTIFY_SOURCE present in CC because it must be paired with a compiler optimization flag that was in CFLAGS. This change fixes the compilation failure that stated "_FORTIFY_SOURCE requires compiling with optimization (-O)". 32-bit ARM needs the TUNE_CCARGS to be retained as passed via CC to ensure that configure is able to generate binaries for the correct ABI, so is handled as a separate case. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Reviewed-by: Jason Andryuk <jandryuk@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* linux-yocto/xen.cfg: update Xen KConfig fragment entriesChristopher Clark2020-02-271-2/+1
| | | | | | | | | | | | | CONFIG_XEN_MAX_DOMAIN_MEMORY has been retired since kernel commit: 197ecb3802c04499d8ff4f8cb28f6efa008067db xen/balloon: add runtime control for scrubbing ballooned out pages CONFIG_XEN_SCRUB_PAGES has been replaced with CONFIG_XEN_SCRUB_PAGES_DEFAULT since kernel commit: c70727a5bc18a5a233fddc6056d1de9144d7a293 xen: allow more than 512 GB of RAM for 64 bit pv-domains Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ipxe: fix build with uprev to the latest git revisionChristopher Clark2020-02-272-53/+7
| | | | | | | | Newer version allows for a simpler version of the cross-compile patch, which is updated in this change. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* seabios: upgrade to version 1.13.0 at official URI and switch to python3Christopher Clark2020-02-272-5/+21
| | | | | | | | Use native python3 for the build as python2 no longer available. Official seabios release SRC_URI fixes QA warning about using GitHub archives. Signed-off-by: Christopher Clark <christopher.clark6@baesystems.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker: fix init script for busyboxPhil Coval2020-02-271-1/+1
| | | | | | | | | | | Observed issue using BusyBox v1.30.1 not supporting bashism /etc/init.d/docker.init: line 43: syntax error: unexpected redirection Change-Id: I9f73564cfb56352fbf7d80723ea938b66eceb5c7 Forwarded: https://lists.yoctoproject.org/g/meta-virtualization Signed-off-by: Philippe Coval <rzr@users.sf.net> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxc: Backport patch that renames memfd_create() functionOleksii Kurochko2020-02-272-0/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | When Autotools makes configuration of LXC, the check of the memfd_create() function fails because __stub_memfd_create and __stub___memfd_create (The GNU C library defines this for functions which it implements to always fail with ENOSYS) are defined in Glibc, which leads to the fact that the macro HAVE_MEMFD_CREATE is not defined and LXC provides defintion of the memfd_create() function as static inline which in turn conflicts with a definition from the <bits/mman-shared.h> file and causes an error: | In file included from ../../../lxc-3.2.1/src/lxc/conf.c:79: | <src_path>//lxc/syscall_wrappers.h:77:19: error: static declaration | of 'memfd_create' follows non-static declaration | | static inline int memfd_create(const char *name, unsigned int flags) { | | ^~~~~~~~~~~~ | In file included from /usr/include/bits/mman-linux.h:111, | from /usr/include/bits/mman.h:34, | from /usr/include/sys/mman.h:41, | from <src_path>/lxc-3.2.1/src/lxc/conf.c:42: | /usr/include/bits/mman-shared.h:50:5: note: previous declaration | of 'memfd_create' was here | | int memfd_create (const char *__name, unsigned int __flags) __THROW; | | ^~~~~~~~~~~~ Upstream PR: https://github.com/lxc/lxc/pull/3168 (merged) Signed-off-by: Oleksii Kurochko <olkuroch@cisco.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: allow fragment re-use from any aware kernelBruce Ashfield2020-02-266-3/+18
| | | | | | | | | | | | | | | | The kernel fragments contained in this layer could not easily be consumed by any fragment aware kernel not called "linux-yocto". To make them easier to include, we make the bbappend more generic, to match any linux*.bb recipe (note: this means it will match things like linux-atm.bb as well). To avoid adding the fragments to recipes that can't use them, or to a version that hasn't been valided, we use the LINUX_VERSION variable to pull out the major/minor kernel release and then include a specific version of the .inc file. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: add v5.4 bbappendBruce Ashfield2020-02-211-0/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* kernel: drop v4.19 bbappendBruce Ashfield2020-02-211-1/+0
| | | | | | 4.19 has been dropped from core, so we drop our bbappend. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* hook_support.py: convert to python3Changqing Li2020-02-201-1/+1
| | | | | | | | | python2 has been removed from oe-core, convert the scripts to python3 to avoid runtime error like: /usr/bin/env: 'python': No such file or directory' Signed-off-by: Changqing Li <changqing.li@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-ce: allow custom build tags via packageconfigRicardo Salveti2020-02-201-2/+3
| | | | | | | | | | | As done by the docker-moby recipe, move the definition of the default build tags outside do_compile and let the docker build tags be customized via the packageconfig options set by the recipe. This is required for enabling seccomp support during build time. Signed-off-by: Ricardo Salveti <ricardo@foundries.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: uprev from v2.12 to v2.13Mark Asselstine2020-02-206-467/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Another straightforward uprev with one fairly large change in the changelog. The Open Virtual Network component has now been moved to its own repo (https://github.com/ovn-org/ovn.git). If you were using this functionality a new recipe will need to be created. The ptest results are similar to after the v2.12 uprev ERROR: 2206 tests were run, 28 failed unexpectedly. 62 tests were skipped. The failed tests were in the following areas: checkpatch.at (5) ovs-ofctl.at (1) tunnel.at(1) tunnel-push-pop.at(3) tunnel-push-pop-ipv6.at(3) dpif-netdev.at (1) pmd.at(1) ofproto-dpif.at (7) bridge.at (2) ovsdb-idl.at(1) mcast-snooping.at(1) packet-type-aware.at(2) None of these affect core functionality or usecases and are similar to the results we see with v1.12. If specific usecases are affected by these failures we should address them on a need to fix basis. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: 14.2.6 -> 14.2.7Kai Kang2020-02-132-19/+87
| | | | | | | | | | | | | | | | Update ceph from 14.2.6 to 14.2.7. * Backport patch to fix compile error * Replace python with python3 in the script files that /usr/bin/python not exists * Replace runtime dependency python3 with python3-core - /usr/bin/python3 is provided by python3-core - packagee python3 is provided by python3-modules which in RDEPENDS already This has been build-only tested. Signed-off-by: Kai Kang <kai.kang@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* openvswitch: uprev from v2.11 to v2.12Mark Asselstine2020-02-135-26/+74
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | A mostly straightforward uprev. Unfortunately a required patch for python3 is only available on a non-release branch so we must carry it in order to build (the discussion on the mailing list was that an uprev might have avoided this, but this is not the case). The ptest results are similar to after the v2.11 uprev ERROR: 2413 tests were run, 23 failed unexpectedly. 383 tests were skipped. NOTE, however, that they have now marked many tests as 'skipped', such as the python2 results, so the failed and skipped numbers have essentially swapped with each other. The failed tests were in the following areas: checkpatch.at (5) ovs-ofctl.at (1) dpif-netdev.at (1) ofproto-dpif.at (6) bridge.at (2) ovn.at (2) ovn-controller-vtep.at (6) Most were issues with the test or expectations that source code would be available. There might be an issue around packaging of "/vswitchd/vswitch.ovsschema" but we should be able to overlook this for now, as we have with previous versions. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxc: Backport patches for keyring optionsMaximilian Blenk2020-02-133-0/+494
| | | | | | | | | | | | | | The added patches allow to set the SELinux context for the session keyring that is created by lxc. In addition it is possible to disable the creation of a new session keyring completely. Upstream PR: https://github.com/lxc/lxc/pull/3260 (merged) If lxc is executed on a SELinux enabled system, these options can be used to assign the expected label to the session keyring. Signed-off-by: Maximilian Blenk <maximilian.blenk@bmw.de> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: inherit perlnative for pod2manChen Qi2020-02-111-1/+1
| | | | | | | pod2man is now provided by perlnative instead host. Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-docker-compose: update to 1.25.4Ricardo Salveti2020-02-112-6/+6
| | | | | Signed-off-by: Ricardo Salveti <ricardo@foundries.io> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xvisor: Initial commit of Xvisor HypervisorAlistair Francis2020-02-113-0/+103
| | | | | | | | | | | This commit adds support for building the baremetal Xvisor Hypervisor. I have only tested this with RISC-V so currently only RISC-V is marked as a COMPATIBLE_HOST, although Xvisor does support multiple other architectures. Signed-off-by: Alistair Francis <alistair.francis@wdc.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conf: defer DISTRO_FEATURE check to bbclass processingBruce Ashfield2020-02-103-4/+4
| | | | | | | | | | | | | | | | | 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>
* python3-docker-compose: import fastentrypointsMing Liu2020-02-032-1/+33
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The docker-compose project is using console_scripts which hence imports pkg_resources which is very slow at starting time, see: https://github.com/pypa/setuptools/issues/510 This could be workaround by importing fastentrypoints module. Some tests: Before the patch, on a colibri-imx8x machine: $ time docker-compose ``` real 0m5.108s user 0m4.761s sys 0m0.272s ``` After the patch, on a colibri-imx8x machine: $ time docker-compose ``` real 0m3.526s user 0m3.249s sys 0m0.235s ``` Have verified the patch with: https://docs.docker.com/compose/gettingstarted Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* python3-fastentrypoints: add recipeMing Liu2020-02-031-0/+18
| | | | | | | | python3-fastentrypoints is a python module that make entry_points specified in setup.py load more quickly. Signed-off-by: Ming Liu <liu.ming50@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: Use python3-native for python installJeremy Puhlman2020-02-031-2/+2
| | | | | Signed-off-by: Jeremy Puhlman <jpuhlman@mvista.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>