summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* ceph: fix host library paths were usedhongxu2020-04-142-0/+99
| | | | | | | | | | | | | | | | | | | ... |ERROR: ceph-15.2.0-r0 do_package_qa: QA Issue: ceph: The compile log indicates that host include and/or library paths were used. | Please check the log 'tmp-glibc/work/corei7-64-wrs-linux/ ceph/15.2.0-r0/temp/log.do_compile' for more information. [compile-host-path] |ERROR: ceph-15.2.0-r0 do_package_qa: QA Issue: ceph: The install log indicates that host include and/or library paths were used. | Please check the log 'tmp-glibc/work/corei7-64-wrs-linux/ ceph/15.2.0-r0/temp/log.do_install' for more information. [install-host-path] ... While python setup, test var-LIBPL contains recipe-sysrooot prefix, add it back if lost Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: fix installed-vs-shipped QA issuehongxu2020-04-141-0/+2
| | | | | | | | | | | | ... |ERROR: ceph-15.2.0-r0 do_package: QA Issue: ceph: Files/directories were installed but not shipped in any package: | /lib/systemd/system/ceph-immutable-object-cache@.service | /lib/systemd/system/ceph-immutable-object-cache.target ... Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxc: refresh patches to remove fuzzBruce Ashfield2020-04-149-27/+28
| | | | | | | The recent uprev of lxc left some fuzz in a patches. devtool refresh cleans this up, and no runtime issues have been detected. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* lxc: uprev from 3.2.1 to 4.0.1Yanfei Xu2020-04-135-639/+3
| | | | | | | | Update to the just released 4.0.1. And drop some patches contained in this released. Signed-off-by: Yanfei Xu <yanfei.xu@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-build_git.bb: go-build: set GO_PARALLEL_BUILD to default valueChandana kalluri2020-04-081-0/+1
| | | | | | | | | | | | Set GO_PARALLEL_BUILD to default to prevent the following error: failed to create new OS thread (have 13 already; errno=11) runtime: may need to increase max user processes (ulimit -u) fatal error: newosproc Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-build: Set up dependencies and GOPATH before do_compileChandana kalluri2020-04-081-0/+6
| | | | | | | | | | | | | | | go-build recipe depends on runc source and during compilation tries to run the command: go get github.com/opencontainers/runc. This is incorrect as a source fetch shouldn't occur during compilation. Also, even after a fetch occurs during compilation, the go build path GOPATH points to the incorrect path hence the runc source is never found. Fetch the opencontainers/runc source and create links in the correct GOPATH before compilation for a successful build. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: uprev ceph from 14.2.7 to 15.2.0sakib.sajal@windriver.com2020-04-085-214/+29
| | | | | | | | | | | | | | | ceph uprev to v15.2.0 Refreshed oe-specific patch: ceph/0001-ceph-fix-build-errors-for-cross-compile.patch Removed merged patches: ceph/0001-common-rgw-workaround-for-boost-1.72.patch ceph/0001-rgw-add-executor-type-for-basic_waitable_timers.patch ceph/0001-rgw-beast-handle_connection-takes-io_context.patch Signed-off-by: Sakib Sajal <sakib.sajal@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: Add setuid permission to virt-login-shellHe Zhe2020-04-051-0/+3
| | | | | | | | virt-login-shell asks for setuid permission as follow. "virt-login-shell: must be run as setuid root" Signed-off-by: He Zhe <zhe.he@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: Workaround mips assembler crash on targethongxu2020-04-011-0/+5
| | | | | | | | | | | | | | | | | | | While enabling multilib on qemumips64, lib32 assembler ends up crashing on target sometimes due to branch out of range, therefore using -O2 for now [snip] |../../libvirt-6.1.0/tests/qemuxml2argvtest.c: In function 'mymain': |../../libvirt-6.1.0/tests/qemuxml2argvtest.c:608:1: note: variable tracking size limit exceeded with '-fvar-tracking-assignments', retrying without | 608 | mymain(void) | | ^~~~~~ |/tmp/ccXJSwZR.s: Assembler messages: |/tmp/ccXJSwZR.s:43943: Error: branch out of range [snip] Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* sysvinit-inittab_xen: Using getty wrapper to minimize console messagesJaewon Lee2020-03-303-1/+19
| | | | | | | | | | | | | Previously the following message was printed on the console every 5 minutes: INIT: Id "X0" respawning too fast: disabled for 5 minutes Installing and using a getty-wrapper that will check for the hypervisor (hvc0) device and if not present, will call sleep Signed-off-by: Jaewon Lee <jaewon.lee@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@xilinx.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>
* go-build: drop distro_features_checkDaniel Dragomir2020-03-181-1/+1
| | | | | | | | Replace distro_features_check bbclass which is deprecated, with features_check bbclass. Signed-off-by: Daniel Dragomir <Daniel.Dragomir@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* runx: drop distro_features_checkMing Liu2020-03-151-2/+1
| | | | | | | distro_features_check bbclass is deprecated, inherit features_check instead. Signed-off-by: Ming Liu <ming.liu@toradex.com>
* runx: Clean up recipe by removing go integrationSai Hari Chandana Kalluri2020-03-151-54/+5
| | | | | | | | | Remove the placeholder code for go console integration. Pin the recipe to use the latest commit and copy additional scripts needed at runtime. Inlcude socat, daemonize and gobuild as required dependencies. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-build_git.bb: go-build recipe to manage go build dependencies for runXSai Hari Chandana Kalluri2020-03-151-0/+43
| | | | | | | | go-build_git recipe manages go build dependencies for runX. This is used to support a console access for runX. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* qemu-package-split.inc: Include bash as RDEPENDS for qemu-supportSai Hari Chandana Kalluri2020-03-151-1/+1
| | | | | | | | | | Include bash as RDEPENDS for qemu-support to prevent the following do_package_qa error: do_package_qa: QA Issue: /usr/bin/qemu-mips contained in package qemu-support requires /bin/bash, but no providers found in RDEPENDS_qemu-support? [file-rdeps] Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* rename libxcrypt.bbappend to libxcrypt_%.bbappendSai Hari Chandana Kalluri2020-03-151-0/+0
| | | | | | | | Rename bbappend file so that bitbake finds the right recipe. Else during parse time, a dangling bbappend warning is generated. Signed-off-by: Sai Hari Chandana Kalluri <chandana.kalluri@xilinx.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-moby: update to v19.03.8Bruce Ashfield2020-03-151-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Bumping to 19.03.8 to pickup bugfixes and security changes. The following commits comprise the chnage: moby: aa6a9891b0 vendor: add local copy of archive/tar 0d4f412ecd dockerfile: update vndr to 85886e1a libnetwork: c7bae399 Merge pull request #2525 from trapier/bump_19.03/cleanup-vfp-during-network-removal 8c407f52 Cleanup VFP during overlay network removal bd5c6080 Merge pull request #2520 from SamWhited/19.03_backport_dns_update 74b17410 Bump the DNS library and revendor cli: eb310fca Merge pull request #2373 from tiborvass/19.03-bump-grpc-1.23.1 0e40b919 vendor: bump google.golang.org/grpc v1.23.1 a51e9e63 vendor: update grpc to v1.23.0 Testing has been performed across x86-64/arm64 via cli and through higher level frameworks. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-ce: update to v19.03.8Bruce Ashfield2020-03-151-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to 19.03.8 to pickup bugfixes and security changes. The following commits comprise this update: docker: afacb8b7f0 Bump Version to 19.03.8 f0867e5a51 Merge component 'engine' from git@github.com:docker/engine 19.03 07428504dc vendor: add local copy of archive/tar 618fcb5466 dockerfile: update vndr to 85886e1a 7141c199a2 Merge pull request #644 from tiborvass/bump-19.03.7 3cf22484bf Bump Version to 19.03.7 70aa6b7044 Merge component 'cli' from git@github.com:docker/cli 19.03 43289e30e1 Merge pull request #2373 from tiborvass/19.03-bump-grpc-1.23.1 2887460cc7 vendor: bump google.golang.org/grpc v1.23.1 09986ab5ca vendor: update grpc to v1.23.0 e126c63873 Merge component 'engine' from git@github.com:docker/engine 19.03 8d208698a3 Merge pull request #40604 from thaJeztah/19.03_backport_mis_unlock f096143c86 Merge pull request #40476 from cpuguy83/19.03_fix_exec_id_client 1aa048bde4 Merge pull request #40461 from AkihiroSuda/cherrypick-40243-1903 d3d2e44a59 daemon/cluster: add a missing Unlock 2de3fd06af Merge pull request #40566 from thaJeztah/19.03_backport_bump_grpc f0e27e52c1 Merge component 'cli' from git@github.com:docker/cli 19.03 6c810a4023 Merge pull request #40586 from thaJeztah/19.03_revert_jenkinsfile_pin_older_windows 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 29ef942a84 Revert "Jenkinsfile: temporarily pin windows image to 10.0.17763.973" 7b2f8d7926 Use certs.d from XDG_CONFIG_HOME when in rootless mode 169aca7c55 Merge pull request #40575 from thaJeztah/19.03_backport_unify_apis 2f8f8550c8 docs: add API versions v1.25 - v1.29, v1.38 - v1.40 56a7c6cd63 Merge pull request #40477 from cpuguy83/19.03_40446_check_other_mounts 7167b9b338 Merge pull request #40547 from thaJeztah/19.03_backport_update_selinux_v1.3.1 e631d419ad Merge pull request #40560 from thaJeztah/19.03_backport_33434_api_doc_base64url ec69262a25 Merge pull request #40557 from thaJeztah/19.03_bump_buildkit_v0.6.4 84340bb84b Merge pull request #40555 from fuweid/cp1903-40137 2c8b487132 bump google.golang.org/grpc v1.23.1 b029f9629f Fixes #33434 - API docs to specify using base64url c86ab2bc0e vendor: update buildkit v0.6.4 c17e991798 daemon: add grpc.WithBlock option d9f362f57b Merge pull request #40549 from cpuguy83/19.03_stats_use_cond_var 4acaa303f2 Merge pull request #40551 from thaJeztah/19.03_backport_jenkinsfile_pin_older_windows 3336316a08 Jenkinsfile: temporarily pin windows image to 10.0.17763.973 bfb975ac72 Use condition variable to wake stats collector. 9b30897146 Merge pull request #40490 from thaJeztah/19.03_backport_swagger_document_constraints 0c7625e047 Merge pull request #40540 from thaJeztah/19.03_update_containerd_1.2.13 2175a93304 Merge pull request #40533 from thaJeztah/19.03_update_golang_1.12.17 dac6fed0eb vendor: update opencontainers/selinux v1.3.1 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 c68e88f348 update containerd runtime v1.2.13 84d75db7ac Fix builder prune -a/--all flag description 29db22eecc unused-for is a deprecated synonym 6da959331a Merge pull request #40462 from AkihiroSuda/cherrypick-40210-1903 2f76c46e36 Update Golang 1.12.17 f49613c3ae Update Golang 1.12.17 afa2b687e0 Update Golang 1.12.17 499e12df0c Exec inspect field should be "ID" not "ExecID" d4c418d850 swagger: document "node.platform.(arch|os)" constraints 789f1ad281 Merge pull request #40460 from AkihiroSuda/cherrypick-40406-1903 dcd9e43a90 Check tmpfs mounts before create anon volume c3a1bdbbdb overlay[2]: rm fs checks 7f44c538ef Fix/improve overlay support check a5c9db1fa1 overlay: move supportsMultipleLowerDir to utils 806947ebfa Use fewer modprobes ec2e4c6eca dockerd-rootless.sh: remove confusing code comment libnetwork: c7bae399 Merge pull request #2525 from trapier/bump_19.03/cleanup-vfp-during-network-removal 8c407f52 Cleanup VFP during overlay network removal bd5c6080 Merge pull request #2520 from SamWhited/19.03_backport_dns_update 74b17410 Bump the DNS library and revendor Testing has been performed across x86-64/arm64 via cli and through frameworks such as cri-o and kubernetes. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cni: prevent go from downloading stuff in the backgroundMark Asselstine2020-03-131-23/+9
| | | | | | | | | | | | | | | | | | | | | | | | | While testing the cni uprev by building in a container with network=none the following error was found: go: github.com/Microsoft/go-winio@v0.4.11: Get https://proxy.golang.org/github.com/%21microsoft/go-winio/@v/v0.4.11.mod: dial tcp: lookup proxy.golang.org on 128.224.144.130:53: dial udp 128.224.144.130:53: connect: network is unreachable After some digging through the go documentation it was found that the '-mod=vendor' is required for 'go build' to use shipped vendor modules when building modules. This can be confirmed by look at the 'build_linux.sh' script which is found in the plugins repo. By using '-mod=vendor' and also ensuring things are properly placed in the GOPATH (ie $B) we can avoid having to create many of the links we had been previously. We also put all the build artifacts into $B to avoid mixing source and build. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cni: 1.7.0 to 1.7.1 (and plugins 0.8.2 to 0.8.5)Mark Asselstine2020-03-131-3/+4
| | | | | | | | | | | | | | Both uprev's are listed as 'minor' in the upstream release notes. Neither introduces an uprev in spec. This fixes issues we observed while testing the forthcoming cri-o uprev. NOTE: this commit should only be used with the follow-on commit [cni: prevent go from downloading stuff in the background] otherwise you will end up with files not owned by you which will prevent the recipe being properly cleaned. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cri-o: uprev from 1.15 to 1.17Mark Asselstine2020-03-132-64/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Uprev to the latest release of cri-o to pick up some fixes and CVEs. Makefile updates along with updates to the go.bbclass allow us to remove most of the do_compile() tweaks that were in place. To test that these removals are sane builds were done for x86_64 and arm64 in docker containers with network=none, no issues were found. Quite a few runtime tests were done as well since we are stepping up 2 releases, and we also just uprev'd 'cni' and wanted to validate its runtime as well. Once the system is started and cri-o is given time to start you can use the new 'crio-status info' command to retrieve the runtime status of cri-o: root@qemux86-64:~# crio-status info cgroup driver: cgroupfs storage driver: storage root: /var/lib/containers/storage default GID mappings (format <container>:<host>:<size>): 0:0:4294967295 default UID mappings (format <container>:<host>:<size>): 0:0:4294967295 Additionally 'crictl' was installed (the recipe will be submitted shortly) and the cri-o Tutorial found here was run (https://github.com/cri-o/cri-o/blob/master/tutorials/crictl.md) In order to run the tutorial /etc/cni/net.d/99-loopback.conf and /etc/containers/policy.json were taken from ./contrib/cni/99-loopback.conf and ./contrib/policy.json in the cri-o src repo. The sandbox_config.json and container_redis.json were taken from https://github.com/cri-o/cri-o/blob/master/test/testdata (note: using core-image-minimal with systemd enabled I had to remove "cpu_period": 10000 and "cpu_quota": 20000 to get the tutorial to work). We are not able to use the loopback networking to telnet to the redis container, but we can use other techniques to validate that it is running. root@qemux86-64:~# /usr/lib/go/src/import/_output/crictl --runtime-endpoint unix:///var/run/crio/crio.sock ps CONTAINER IMAGE CREATED STATE NAME ATTEMPT POD ID 72718714360ef quay.io/crio/redis:alpine 47 seconds ago Running podsandbox1-redis 0 38b97e5a7bb99 root@qemux86-64:~# /usr/lib/go/src/import/_output/crictl --runtime-endpoint unix:///var/run/crio/crio.sock exec -i 72718714360ef cat /etc/issue Welcome to Alpine Linux 3.7 Kernel \r on an \m (\l) The CRIO_BUILD_CROSS approach was no longer valid and was dropped. There is most likely some other cleanup we can do but this gets us to a good state on the latest release. Signed-off-by: Mark Asselstine <mark.asselstine@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, xen-tools: reproducible build compiler flagsChristopher Clark2020-03-131-6/+6
| | | | | | | | | | | | The change to the method of passing compiler flags into the Xen build system in 6b697676 omitted passing the compiler flags for improving build reproducibility, so this commit returns them and includes a change to use the -ffile-prefix-map compiler option to remove host filesystem artefacts instead of the prior method of redefining the __FILE__ builtin macro. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman: add system service for podmanStefan Agner2020-03-131-0/+8
| | | | | | | | Add system service for podman which starts a podman instance allow to access the new HTTP based API (apiv2). Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman: bump to the latest version 1.8.1Stefan Agner2020-03-131-2/+2
| | | | | | | | Bump to the newest podman release 1.8.1. Many new networking features and a new HTTP API has been added since 1.6.1. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conmon: bump to version 2.0.11Stefan Agner2020-03-131-1/+1
| | | | | | | Bump to latest version 2.0.11 of conmon. Signed-off-by: Stefan Agner <stefan.agner@toradex.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* qemu: change packaging when vmsep is enabledBruce Ashfield2020-03-112-0/+46
| | | | | | | | | | | | | | When hosts are using VM separation features, they need qemu on the target to launch guests (and for other purposes) .. but they do not want *all* of the build qemu targets. To allow a more fine grained installation off qemu components, this patch splits packaging into: - qemu-<arch> - qemu-support - qemu-keymaps Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
* libxycrypt: build static libraries if 'vmsep' is in distro_featuresBruce Ashfield2020-03-111-0/+4
| | | | | | | | If vmsep is a distro feature, we need to allow the static libraries to be built (so we remove --diable-static). Without this, busybox cannot be statically built and we can't (easily) use it as part of an initrd. Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
* busybox: vmsep distro feature modificationsBruce Ashfield2020-03-113-0/+14
| | | | | | | | | | | If "vmsep" is in distro features, we need to configure busybox as a static build. This allows for it to be used as party of an initrd. We also ensure that the installer support is added to busybox, so it can be installed to the initrd via: busybox --install Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
* runx: introduce xen OCI container recipeBruce Ashfield2020-03-113-0/+282
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This is the initial version of the runX OCI wrapper to allow Xen based virtual machines to be launched and managed as containers via an OCI interface. In this first version, runx consists of the following components: - runX binary/wrapper (/usr/bin/) - state control wrappers (/usr/share/runX) - runx kernel - initrd Once built and installed these allow the launching of Xen virtual machines in an OCI compliant manner. Dependencies of this recipe include: - kernel: must be a specific version, currently 4.15. This is done as a nested build and not as a multiconfig (by design). - static target busybox: used for the initrd - initrd: constructed from the kernel + busybox The configuration of the system to build the dependencies in the right mode for use in runX is controlled via the DISTRO_FEATURE "vmsep". If this feature is missing, and runx is bitbaked, an error is thrown. Installing the "runx" package to a rootfs will install all the required support components (and dependencies). Signed-off-by: Bruce Ashfield <bruce.ashfield@xilinx.com>
* libvirt: uprev to v6.1.0Bruce Ashfield2020-03-0811-172/+134
| | | | | | | | | | | | | | | | | | | | | | | | | | Updating libvirt to the next major release series. With this, brings some changes to the build: - add python3-docutils-native to DEPENDS, since it is needed for doc building - remove a reference to libgnu.la from the Makefiles, since it is not needed or provided in the build dependencies - remove obselete packageconfig options: xenapi and phyp - add an explicit do_compile rule (versus the autotools bbclass variant), so we can create some directories before compilation starts - add ${B}/src to the PKG_CONFIG_PATH to the libvirt.pc file can be found during build, as it is queried by libvirt-python - with the ability to find the libvirt.pc file, we can also drop the manipulations for libvirt_api_xml_path, as it is returned from pkg-config queries. - clear PKG_CONFIG_SYSROOT_DIR during libvirt-python builds, since the libvirt.pc file already provides cflags/includes that are contained to the build/src directory structure. And finally, existing patches are refreshed to remove fuzz. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-python2: add the same COMPATIBLE_HOST restriction as xen-toolsMartin Jansa2020-03-031-0/+3
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: fix COMPATIBLE_HOST restriction for i686Martin Jansa2020-03-031-1/+1
| | | | | | | | * let TARGET_VENDOR to be set to something else than the default: meta/conf/bitbake.conf:TARGET_VENDOR = "-oe" like other architectures use Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* 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>