summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* runc: update to rc95Bruce Ashfield2021-06-042-7/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the latest runc, which includes the following commits: 37767c05 ci: lint: show all errors in PRs 07ca0be0 *: clean up remaining golangci-lint failures 00119c85 integration: add repeated "runc update" test d0f2c25f cgroup2: devices: replace all existing filters when attaching 98a3c0e4 cgroup2: devices: switch to emulator for cgroupv1 parity dcc1cf7c devices: add emulator.Rules shorthand 54904516 libcontainer: fix integration failure in "make test" c7c70ce8 *: clean t.Skip messages a95237f8 libctr/cg/systemd: export rangeToBits df0206a6 errcheck: utils 0c65f833 errcheck: signals 3b31e3ea errcheck: tty b45fbd43 errcheck: libcontainer 463ee5e1 errcheck: libcontainer/nsenter 7e7ff872 errcheck: libcontainer/configs a8995053 errcheck: libcontainer/integration b93666eb libct/cg/fs2: setFreezer: wait until frozen 1069e4e9 libct/cg/fs2: optimize setFreezer more 5d193188 libct/cg/fs2: optimize setFreezer 8a7a374f VERSION: back to development b9ee9c63 VERSION: release v1.0.0-rc95 0ca91f44 rootfs: add mount destination validation c61f6062 libcontainer: honor seccomp defaultErrnoRet d519da5e Dockerfile, Vagrantfile.centos7, .github: bats 1.3.0 bdad2859 Dockerfile, Vagrantfile.centos7: use go 1.16 f96530f2 EMERITUS: recognise previous maintainers c73a6626 VERSION: back to development 2c7861bc VERSION: release v1.0.0-rc94 12e9cac9 Vagrantfile.fedora: set Delegate=yes ac70a9a1 tests/int: run rootless_cgroup tests for v2+systemd 601cf582 tests/int/cgroups: don't check for hugetlb 40b97919 tests/int: enable/use requires cgroups_<ctrl> 44fcbfd6 tests/int/helpers: generalize require cgroups_freezer 353f2ad1 tests/int/update.bats: don't set cpuset in setup 4f8ccc5f libct/cg/sd/v2: call initPath from Path 0ed1f802 tests/int/helpers: rm old code af2e03c5 ci/gha: bump shellcheck 0.7.1 -> 0.7.2 2d1bb91d ci/gha: bump shfmt 3.2.0 -> 3.2.4 a7feb423 libct/int: add TestFdLeaksSystemd c7f847ed libct/cg/sd: use global dbus connection 99c5c504 libct/cg/sd: introduce and use getManagerProperty 0fabed76 libct/int/checkpoint_test: use kill(0) for pid check 7eb1405b libct/int/checkpoint_test: use waitProcess helper 72d7a824 libct/int/checkpoint_test: use t.Helper bcca7968 libct/int: simplify/fix showing errors 524abc59 freezer: add delay after freeze e1d842cf libct/intelrdt: fix unit test 541fc19e Makefile: allow overriding go command by environment 06a9ea36 script/release.sh: add -a to force rebuild 91b01682 Update golang.org/x/sys to add linux/ppc support ee4612bc CI: enable Go 1.13 again e2dd9220 go.mod: demote to Go 1.13 45f49e8f libcontainer: avoid using t.Cleanup 1a659bc6 Revert "Makefile: rm go 1.13 workaround" abf12ce0 libc/cg: improve Manager docs 3f659467 libct/cg: make Set accept configs.Resources af0710a0 libct/cg/sd/v2: fix Set argument 850b2c47 libct/cg/fscommon.OpenFile: speed up ro case 71a8aee8 cgroups/systemd: replace deprecated dbus functions 47ef9a10 libct/cg/sd: retry on dbus disconnect 6122bc8b Privatize NewUserSystemDbus 15fee989 libct/cg/sd: add renew dbus connection bacfc2c2 libct/cg/sd: add isDbusError cdbed6f0 libct/cg/sd: add dbus manager 9efd8466 libct/cg/fscommon.OpenFile: reverse checks order 0bee5e0b libct/cg/fs: add GetStats benchmark 7e7eb1c3 CI: update Fedora to 34 d3cee12a cloned_binary: switch from #error to #warning for SYS_memfd_create 23e3794d checkpoint: validate parent path fcd7fe85 libct/cg/fs/freezer: make sure to thaw on failure 0216716c tests/int: add a case for cgroupv2 mount 5ffcc568 tests/int: use bfq test with rootless ff692f28 Fix cgroup2 mount for rootless case 3826db19 libct/rootfs/mountCgroupV2: minor refactor 1e476578 libct/rootfs: introduce and use mountConfig deb8a8dd libct/newInitConfig: nit 2192670a libct/configs/validate: validate mounts 1f1e91b1 libct/specconv: check mount destination is absolute 73f22e7f libcontainer/cgroups/systemd: replace use of deprecated dbus.New() aa622723 tiny fix iterative checkpoint test case ee3b563d Add cfs throttle stats to cgroup v2 6faed0e4 libct/int: use ok(t, err) af3c5699 libct/int: remove unused code 7b802a7d libct/int: better test container names 9f3d7534 logging: enable file/line info if --debug is set 31dd1e49 tests/int: add rootless + host pidns test case a2050ea4 runc run: fix start for rootless + host pidns 0f8d2b6b libct/cg/fs2.Stat: don't look for available controllers 85416b87 libct/cg/fs2.statPids: fall back directly 10f9a982 libct/cg/fs2/getPidsWithoutController: optimize 6121f8b6 libct/cg/fs2.Stat: always call statCpu 9455395b libct/cg/fs2/memory.Stat: add usage for root cgroup a9c47fe7 libct/cg/fs[2]/getMemoryData[V2]: optimize b99ca25a libct/cg/fs2/memory: fix swap reporting c8e0486f Fix oss-fuzz build Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* skope: update to 1.3.xBruce Ashfield2021-06-042-3/+41
| | | | | | | | | Updating skopeo to the 1.3.x series. Along with the version bump, we patch the Makefile to stop using gpgme-config and instead using pkg-config, since OE taints gpgme-config and the build will break if we call it directly. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cri-tools: update to 1.21 releaseBruce Ashfield2021-06-042-6/+6
| | | | | | | | | | | | | | | | | | | | | | We update to the latest 1.21 commits, and we refresh our patch for context changes. eb0faebe Bump google.golang.org/grpc from 1.37.1 to 1.38.0 1d34ea0c Add global handler for Interrupt signal d2c028aa Bump k8s.io/cri-api from 0.21.0 to 0.21.1 cac74d4f Bump k8s.io/apimachinery from 0.21.0 to 0.21.1 0e4c365c Bump k8s.io/api from 0.21.0 to 0.21.1 4b956efa Bump k8s.io/kubectl from 0.21.0 to 0.21.1 b3bc7d45 Update golangci-lint to v1.40.1 and fix lints a72896da Bump google.golang.org/grpc from 1.37.0 to 1.37.1 09df93a2 Bump github.com/opencontainers/selinux from 1.8.0 to 1.8.1 8a28583f Clone cri-dockerd from permanent repo 29c6b21e Bump github.com/onsi/gomega from 1.11.0 to 1.12.0 50a297dc Bump github.com/onsi/ginkgo from 1.16.1 to 1.16.2 15eee85f Mention deb/rpm packages hosted on OBS in README 6ead47bd Trim build paths for binaries Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* cri-o: update to 1.22 releaseBruce Ashfield2021-06-041-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* containerd-opencontainers: update to 1.5.2Bruce Ashfield2021-06-042-4/+47
| | | | | | | | | | | | | | | | | Updating to the released 1.5.x containerd. We also add a patch to fix the following: Since our oe-core go infrastructure insists on both -pie and static builds (for the most part), and that is not recommended by many packages, we end up with errors like: cannot find package runtime/cgo (using -importcfg) ... recipe-sysroot-native/usr/lib/aarch64-poky-linux/go/pkg/tool/linux_amd64/link: cannot open file : open : no such file or directory Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-ce: upate to latest 20.10.xBruce Ashfield2021-06-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | docker: 41cf01fa93 pkg/signal.CatchAll: ignore SIGURG on Linux 56541eca9a [20.10] update containerd binary to v1.4.6 fb179ff098 update runc binary to v1.0.0-rc95 4c801fdb7d integration: remove KernelMemory tests 6174e3cf22 Update runc binary to v1.0.0-rc94 afbb1277a3 Swarm config: use absolute paths for mount destination strings 94c1890d39 builder-next: relax second cache key requirements for schema1 01f734cb4f [20.10] update containerd binary to v1.4.5 21391bb7f7 hack/dind: fix cgroup v2 evacuation with `docker run --init` 12b03bcb27 Error string match: do not match command path 8a7f77cb2f dockerd-rootless.sh: use `command -v` instead of `which` 9ca66776fa bump up rootlesskit to v0.14.2 08b27e45d8 Dockerfile: update yamllint to v1.26.1 to fix build 404ede5737 Bump hcsshim for error details fix cli: f291a49ba Swap "LABEL maintainer" for the OCI pre-defined "org.opencontainers.image.authors" 78fcd905c docs: Fix broken jump link 12e2f94eb printServerWarningsLegacy: silence "No oom kill disable support" on cgroup v2 00755d7db printServerWarningsLegacy: silence "No kernel memory limit support" 8264f5be8 docs: dockerd: fix broken link and markdown touch-ups 4fbdf3f36 docs: document log-opts for "dual logging" cache 1ff45aac4 Update stop.md ed71df1b9 docs: cleanup / refactor cli doc ee20fa1ec docs: add reference for "docker config" commands ffe40dc6b docs: update some examples for proxy configuration fbbf1be52 docs: remove experimental ipvlan docs, as they were migrated 3de2cc6ef docs/reference/builder: update "syntax" section 234036d10 docs/reference/builder: update example output, and some rephrasing 0c442dc17 docs/reference/builder: remove outdated example Dockerfiles 6b48c7867 docs/reference/builder: touch-up code-hints and some minor changes network: 56654e71 vendor: github.com/ishidawataru/sctp f2269e66cdee387bd321445d5d300893449805be 7b9c2905 fix port forwarding with ipv6.disable=1 c4ea04e0 enforce order of lock acquisitions on network/controller, fixes #2632 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* moby: update to latest 20.10Bruce Ashfield2021-06-041-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating to the lastest moby commits, which comprise the following commits: moby: 41cf01fa93 pkg/signal.CatchAll: ignore SIGURG on Linux 56541eca9a [20.10] update containerd binary to v1.4.6 fb179ff098 update runc binary to v1.0.0-rc95 4c801fdb7d integration: remove KernelMemory tests 6174e3cf22 Update runc binary to v1.0.0-rc94 afbb1277a3 Swarm config: use absolute paths for mount destination strings 94c1890d39 builder-next: relax second cache key requirements for schema1 01f734cb4f [20.10] update containerd binary to v1.4.5 21391bb7f7 hack/dind: fix cgroup v2 evacuation with `docker run --init` 12b03bcb27 Error string match: do not match command path 9ca66776fa bump up rootlesskit to v0.14.2 404ede5737 Bump hcsshim for error details fix cli: f291a49ba Swap "LABEL maintainer" for the OCI pre-defined "org.opencontainers.image.authors" 78fcd905c docs: Fix broken jump link 12e2f94eb printServerWarningsLegacy: silence "No oom kill disable support" on cgroup v2 00755d7db printServerWarningsLegacy: silence "No kernel memory limit support" 8264f5be8 docs: dockerd: fix broken link and markdown touch-ups 4fbdf3f36 docs: document log-opts for "dual logging" cache 1ff45aac4 Update stop.md ed71df1b9 docs: cleanup / refactor cli doc ee20fa1ec docs: add reference for "docker config" commands ffe40dc6b docs: update some examples for proxy configuration fbbf1be52 docs: remove experimental ipvlan docs, as they were migrated 3de2cc6ef docs/reference/builder: update "syntax" section 234036d10 docs/reference/builder: update example output, and some rephrasing 0c442dc17 docs/reference/builder: remove outdated example Dockerfiles 6b48c7867 docs/reference/builder: touch-up code-hints and some minor changes network: 56654e71 vendor: github.com/ishidawataru/sctp f2269e66cdee387bd321445d5d300893449805be 7b9c2905 fix port forwarding with ipv6.disable=1 c4ea04e0 enforce order of lock acquisitions on network/controller, fixes #2632 Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k8s: bump to v1.22-alphaBruce Ashfield2021-06-041-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* k3s: update to v1.21.xBruce Ashfield2021-06-041-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* podman: bump to 3.2-rcXBruce Ashfield2021-06-041-3/+3
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conf: drop gatesgarth from compatibilityBruce Ashfield2021-06-041-1/+1
| | | | | | | | | | There have been reports of warnings being generated by the layer index when the compatibility of a layer exceeds 25 characters. gatesgarth is supported in its own branch, and isn't being tested against master, so we drop it from the compat. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: Fix compile error with snappySaul Wold2021-06-012-0/+31
| | | | | | | | snappy changed a data type in the last update, this is a known issue in ceph. Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ceph: update to 15.2.12 to address CVEsSaul Wold2021-05-211-5/+4
| | | | | | | | | | | Updated sha* Fixes: CVE-2021-3509 Fixes: CVE-2021-3524 Fixes: CVE-2021-3531 Signed-off-by: Saul Wold <saul.wold@windriver.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: fix do_install with usrmergeMartin Jansa2021-05-191-7/+11
| | | | | | | | | | | | | | | | | | | | | | | * meson build uses these paths: ./src/meson.build: systemd_unit_dir = prefix / 'lib' / 'systemd' / 'system' ./tools/meson.build: install_dir: prefix / 'lib' / 'systemd' / 'system', with usrmerge it fails with: sed: can't read TOPDIR/tmp-glibc/work/core2-64-oe-linux/libvirt/7.2.0-r0/image//usr/lib/systemd/system/libvirtd.service: No such file or directory because systemd_unitdir and systemd_system_unitdir are different with and without usrmerge in DISTRO_FEATURES: env.libvirt-without-usrmerge:export systemd_unitdir="/lib/systemd" env.libvirt-with-usrmerge:export systemd_unitdir="/usr/lib/systemd" env.libvirt-without-usrmerge:export systemd_system_unitdir="/lib/systemd/system" env.libvirt-with-usrmerge:export systemd_system_unitdir="/usr/lib/systemd/system" * set -Dinit_script to none when systemd isn't used instead of deleting the files in do_install_append Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* crun: switch branch to mainBruce Ashfield2021-05-191-1/+1
| | | | | | | crun has renamed master -> main, so we adjust our fetching to match. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* sloci-image: allow target and nativesdk variantsBruce Ashfield2021-05-181-2/+2
| | | | | | | | | | | | | | We now have use cases for sloci that can run on the target itself, or have it used in a nativesdk scenario. To avoid the awkwardly named "nativesdk-sloci-image-native" or .inc files, we rename the recipe sloci-image_git and use BBCLASSEXTEND for native/nativesdk support This is similar to the change sent by: Hongxu Jia <hongxu.jia@windriver.com>, but is updated to the current sloci-image recipe contents. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* libvirt: backport patch to fix compatibility with Meson-0.58Martin Jansa2021-05-172-0/+49
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* dev86: remove the pre-generated token[12].h and force gperf to generate them ↵Martin Jansa2021-05-143-559/+5
| | | | | | in do_compile Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* dev86: fix compatibility with gperf-3.1Martin Jansa2021-05-143-0/+647
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* dev86: depend on dev86-native for ifdefgMartin Jansa2021-05-143-5/+71
| | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
* dev86: switch to still maintained fork of dev86Martin Jansa2021-05-141-3/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * as mentioned in: https://github.com/lkundrak/dev86/pull/17 the original lkundrak repo is no longer maintained * pass only BASE_PV as VERSION in EXTRA_OEMAKE to prevent: | version.h:4:20: error: ‘gitAUTOINC’ undeclared (first use in this function) | #define VER_PAT 21+gitAUTOINC+e254e0b196 | ^ * there are many new commits, we need at least that fix for newer gperf git log --oneline v0.16.21..jbruchon/master e254e0b (jbruchon/master) Merge pull request #21 from tkchia/master 3473bde [libc] update _signal syscall semantics, per ABI change in ELKS at https://github.com/jbruchon/elks/pull/629 d74e90d Merge pull request #20 from tkchia/tkchia/update-syscalls 541a8d5 [libc] update syscall list & ino_t type, per ELKS tree 710e852 Merge pull request #16 from spacerace/master b215454 Merge pull request #17 from mfld-fr/master 870635e Move EMU86 & MON86 to standalone projects 84e3d00 [mon86] Latest touch before moving c2f288c [emu86] Latest touch before moving f7449f3 libc tests for MSDOS target (far away from complete ;)) 6cbd64d fixing problem in string.h introduced by myself -.- 39e04cd Merge branch 'master' of https://github.com/spacerace/dev86 b44e43d Added OpenBSD's timingsafe_bcmp() and timingsafe_memcmp() 857c30e Added BSD's strlcat() and strlcpy(), safe string copy/cat 0764e09 typo in string.h 2fb6a3a swab() 4e09d08 strupr() 2bd985f strset() 5a7bb33 strrev() 56be26a strnset() c919b2d strlwr() b63f295 h+Mf bzero() strnset() strset() strlwr() strupr() strrev() swab() 5985246 removed old implementation of strstr. if anyone needs this file => remains in git history 7b481c0 added bzero() 776929c Merge pull request #15 from spacerace/master 8206ed2 stdlib.h + Makefile changes for getenv() and system() b995d1e getenv() implementation 60466fe system() implementation 12439ac note on __mkenv (related to getenv commits from me) aae041a removed empty line on top of file 6d6d91f removed uneeded empty file (see sound.c) ff7d37e formatting (tabs) 246418a formatting in one line fixed 4ff1f48 Merge pull request #14 from mfld-fr/emu86 1b8f8db Add data & suspicious opcode breakpoints 798c4a2 Merge pull request #13 from rdebath/jbruchon 2eb4d82 Add .travis.yml for running "make distribution" tests. 2ea54e1 Merge pull request #12 from mgorny/makez f14f78e build: Always use $(MAKE) to spawn sub-make dfb9b42 Merge pull request #11 from mfld-fr/emu86 6ae2b54 Make dev86 working "in tree" 224843f Merge pull request #10 from mfld-fr/emu86 e56a958 [emu86] Test against ELKS - Round 3 0099ec8 Merge pull request #9 from mfld-fr/emu86 32865c8 [emu86] Test against ELKS - Round 2 e1aa9bd Merge pull request #8 from mfld-fr/emu86 c7ebb2a [emu86] Optimize execution lookup 57019a7 [emu86] Complete decoding optimization de516a5 [emu86] Fix mfld-fr#21 : opcode 90h (NOP) 40f7c99 [emu86] Optimize decoding < C0h 91d4c61 [emu86] Fix mfld-fr#16 : add pcat timing options d519caf [emu86] Fix mfld-fr#14 : trace support 3a479e7 [emu86] Check vector before interrupt 7eec401 Optimize decoding < 80h 98334d3 Fix mfld-fr#8 and warning cleanup 0579c82 Merge pull request #7 from mfld-fr/master 49492b9 [emu86] Add option for tiny model da6a960 [emu86] fix #19 : remove PT1 test e3b465f [dis88] Move back from ELKS f2ea895 Merge pull request #6 from mfld-fr/master b0700f4 [mon86] First stage removal after second validated 6ef705d [mon86] Fix #18 : Complete host tool 1fa5a70 Fix #10 and #11 : Target specific code 22c7770 Merge branch 'bug86' e25c996 [mon86] Tune host tool for read & write 47aadb5 [mon86] Fix #15 : Cleanup in host tool ae7c628 [mon86] Makefile for host part + more testing ae6c84a [mon86] New host tool + fix context parsing c9205ac Add missing void types to libc/misc/qsort.c 7a4f074 unproto: fix macOS Sierra compilation error reported by scontini76 ac6d924 unproto: better CFLAGS f86ad57 bcc: if EOF is hit before end of comment, report it as an error fcdbcd7 limits.h: add PATH_MAX 7239fea include: Add a skeleton for inttypes.h f3e88f9 Remove accidental ignoring of "include" 0ac417a Merge branch 'master' of https://github.com/jbruchon/dev86 74753fa Fix size_t declaration, add ssize_t declaration 4be53b7 Merge pull request #5 from mfld-fr/master d5ecd9c [mon86] Second stage tested on real SBC 81b0ab2 [mon86] Second stage monitor completed b55cbbc [mon86] Trace & break interrupt support 18a5ba8 Merge pull request #4 from mfld-fr/master 77f028b [mon86] First stage monitor completed 07689d4 Merge remote-tracking branch 'upstream/master' e043007 Revert accidental bcc changes in commit 3c83dee 495b99a [emu86] Test against ELKS - Round 1 5508efa Merge pull request #3 from mfld-fr/master 8aa3313 [emu86] Testing against a real ROM - Round 1 d8ac93e [emu86] Fixed #7 : segment selection & override 5b521d6 [emu86] Test against a real POST - Round 2 3c83dee [emu86] Test against a real POST - Round 1 b45a3d2 [emu86] Command line options 345513c [emu86] Fixed #6 : simplified variable size 2d7d316 [emu86] Fixed #2 + FAR call & ret 8ac48bf Import MON86 standalone project needed by EMU86 1da15c0 Bug fixes after EMU86 testing 1dc5fd3 Merge pull request #2 from mfld-fr/master 24935c0 [emu86] Final touch before the weekend 9090120 [emu86] Fixed #5 : redirect serial I/O to PTS 96dfb1a [emu86] Added memory and stack dumps 4fbcead [emu86] Fixed #1 : move reg num out of val struct 205e47d Improved EMU86 for MON86 testing 377ed40 Merge branch 'master' into emu86 fd3cf7e Added partial ZF and CF flags support c758426 Merge pull request #1 from mfld-fr/master 72ad336 Merge branch 'master' of git://github.com/jbruchon/dev86 into emu86 2d8398b More support of 8086 instruction set b2eadba EMU86 second draft 9a8e116 EMU86 first draft fb3b436 Revert "fix linker alignment for .bss segment" bf19066 Merge https://github.com/anchorz/dev86-1 4e8476e Revert "copt: fix a minor glitch in copt/rules.86" 1bcc185 Merge remote-tracking branch 'upstream/master' b0426b2 Force output of initial segment directive a44b267 fix linker alignment for .bss segment c0832c8 under CYGWIN bcc requires -o option to compile an .o file otherwise it ends up as .exe and cannot link 80d485b (origin/master, origin/HEAD) Add stdint.h header to recognize some C99 types 29dbfca libc/msdos: program name missing in argv[0] b0e9b25 libc/msdos: __mkargv es register changed 4a350d3 ar: rename of temporary libary fails on some platforms cf72284 copt: fix a minor glitch in copt/rules.86 ce888f6 Allow copt rules with empty outputs; fix minor glitch in copt/rules.86 4ed1997 bcc/dbprintf.c: ix implicit declaration warnings 9de6f00 Make a.out.h portable to 64 bit systems 7eae1c0 Change strstr() to Jody's two-way implementation 2f53e83 Add a .gitignore file c21e14a initial version with minimal routines fa9c32e Add stdint.h header to recognize some C99 types 6e8432b Minor style cleanups b7a191c Add "make distclean" and make it really clean everything dab04fb bootblocks: long -> int32_t for proper building on 64-bit hosts 0d9ee41 bootblocks requires as86_encap to build Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* dev86: add dependency on gperf-nativeMartin Jansa2021-05-141-0/+2
| | | | | | | | | | | | | | | | | | | | | | | * fails to build on hosts without gperf: /bin/sh: gperf: command not found Makefile:27: recipe for target 'token2.h' failed * normally this isn't triggered, because token[12].h are included in git repo, but regenerating them fails: tmp-glibc/work/x86_64-linux/dev86-native/0.16.21-r0/git/cpp$ touch token1.tok tmp-glibc/work/x86_64-linux/dev86-native/0.16.21-r0/git/cpp$ make bcc-cpp gperf -aptTc -N is_ctok -H hash1 token1.tok > tmp.h /bin/sh: gperf: command not found Makefile:23: recipe for target 'token1.h' failed make: *** [token1.h] Error 127 * unfortunately this isn't enough, because new gperf 3.1 from oe-core isn't compatible, we need to upgrade to different dev86 fork which contains: https://github.com/jbruchon/dev86/pull/19 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ipxe: set PVMartin Jansa2021-05-141-1/+1
| | | | | | | | ipxe/gitrAUTOINC+18dc73d27e-r0/git$ git describe --tags v1.20.1-1-g18dc73d2 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* ipxe: Inhibit -Werror to fix build with gcc-11Martin Jansa2021-05-141-0/+1
| | | | | | | | | | | | | | | | | * with gcc-11 it fails with: drivers/net/ath/ath5k/ath5k_eeprom.c:437:65: error: 'val' may be used uninitialized [-Werror=maybe-uninitialized] 437 | ee->ee_switch_settling_turbo[mode] = (val >> 8) & 0x7f; | ~~~~~~~~~~~^~~~~~ tests/bigint_test.c: In function 'bigint_test_exec': tests/bigint_test.c:232:14: error: 'result_raw' may be used uninitialized [-Werror=maybe-uninitialized] 232 | ok ( memcmp ( result_raw, expected_raw, \ | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 233 | sizeof ( result_raw ) ) == 0 ); \ | ~~~~~~~~~~~~~~~~~~~~~~~ Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* upx: fix build with gcc-11Martin Jansa2021-05-142-1/+34
| | | | | Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* Revert "runc-opencontainers: use bfd even with ld-is-gold"Martin Jansa2021-05-131-7/+0
| | | | | | | | | | This reverts commit dda5ae36b44c61e61439341ea3153e6be5cb015e. binutils gold linker was fixed with: https://git.openembedded.org/openembedded-core/commit/?id=d07d4d739ae17787017f771dd2068fda0e836722 Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, rpi4: fix typo in raspberrypi dynamic-layers inclusionRichard Neill2021-05-131-1/+1
| | | | | Signed-off-by: Richard Neill <richard.neill@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* go-systemd: explicitly specify branchBruce Ashfield2021-05-121-1/+1
| | | | | | | | | | | | The upstream project has removed the master branch in favour of 'main'. We were relying on the fetcher default of master previously, and now that master no longer exists, we get a fetch failure. Adding an explicit branch=main gets things working again. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* initrd: bump busybox to 1.33.1 to match oe-corezhengruoqin2021-05-111-0/+0
| | | | | | | OE core has updated busybox, so we bump to match. Signed-off-by: Zheng Ruoqin <zhengrq.fnst@cn.fujitsu.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker-distribution: update to 2.7.x latestBruce Ashfield2021-05-111-1/+1
| | | | Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* umoci: create -native do_compile and make it staticBruce Ashfield2021-05-071-15/+45
| | | | | | | | | | | We need to use different build architecture and flags for the native variant, so add a specific do_compile for it. The settings are taken from the kubernetes recipes native go build. We also switch to the umoci.static for -native, since patchelf is breaking our executable if we leave it dynamic. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen-tools: Pass -Wno-vla-parameter to workaround when compiling with gcc-11Diego Sueiro2021-05-061-1/+4
| | | | | | | | | | | | | | When compiling xen-tools (4.14 and 4.15) with gcc-11 the following kind of errors are produced: linux.c:164:50: error: argument 7 of type 'const xen_pfn_t[]' {aka 'const long unsigned int[]'} declared as an ordinary array [-Werror=vla-parameter] 164 | const xen_pfn_t arr[/*num*/], int err[/*num*/]) | ~~~~~~~~~~~~~~~~^~~~~~~~~~~~ Workaround it by passing -Wno-vla-parameter to the compiler. Signed-off-by: Diego Sueiro <diego.sueiro@arm.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* runc-opencontainers: use bfd even with ld-is-goldMartin Jansa2021-05-061-0/+7
| | | | | | | | | | | | | | * just a work around for internal error in binutils-2.36 gold: http://errors.yoctoproject.org/Errors/Details/580099/ CGO_ENABLED=1 x86_64-oe-linux-go build -trimpath -tags "seccomp seccomp netgo osusergo" -ldflags "-w -extldflags -static -X main.gitCommit="fce58ab2d5c488bc573d02712db476a6daa9a60c-dirty" -X main.version=1.0.0-rc93+dev " -o runc . TOPDIR/tmp-glibc/work/core2-64-oe-linux/runc-opencontainers/1.0.0-rc93+gitAUTOINC+fce58ab2d5-r0/recipe-sysroot-native/usr/bin/x86_64-oe-linux/../../libexec/x86_64-oe-linux/gcc/x86_64-oe-linux/11.0.1/ld: internal error in format_file_lineno, at ../../gold/dwarf_reader.cc:2278 collect2: error: ld returned 1 exit status * it fails like this only together with gcc-11, with gcc-10.3 it builds fine even with gold Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* umoci: add -native variantBruce Ashfield2021-05-061-2/+4
| | | | | | | | | | | | In preparation for using umoci along side of sloci as to construct multi later oci images, we need a -native variant. For now, we don't need skopeo on the host side, so we clear it from the class-native RDEPENDS. Skopeo has significant dependencies, so we'd rather avoid ever needing it as a -native tool. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* umoci: update to 0.4.7Bruce Ashfield2021-05-061-5/+5
| | | | | | | Updating to the latest 0.4.7 release and updating the build and fetch directories to the opencontainers github. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* umoci: introduce umoci recipe for image buildingBruce Ashfield2021-05-061-0/+48
| | | | | | Importing umoci from meta-overc Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* conf: drop old-style BBFILES dynamicBruce Ashfield2021-05-041-10/+0
| | | | | | | BBFILES_DYNAMIC has existed for several years, we don't need the precursor BBFILES for dynamic layers. Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen: Remove deltask for setsceneMark Hatle2021-04-291-3/+0
| | | | | | | | | As of the gatesgarth you are no longer allowed to remove setscene tasks as the eSDK generation expects for tasks to actually be executed. Signed-off-by: Mark Hatle <mark.hatle@xilinx.com> Signed-off-by: Mark Hatle <mark.hatle@kernel.crashing.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* runc: add CVE_PRODUCT to recipesRalph Siemsen2021-04-292-0/+4
| | | | | | | | Allows the yocto cve-checker to flag CVEs, which would otherwise go unreported due to the package name not matching NIST NVD data. Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* containerd: add CVE_PRODUCT to recipeRalph Siemsen2021-04-291-0/+2
| | | | | | | | Allows the yocto cve-checker to flag CVEs, which would otherwise go unreported due to the package name not matching NIST NVD data. Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* docker: add CVE_PRODUCT to recipesRalph Siemsen2021-04-293-0/+5
| | | | | | | | Allows the yocto cve-checker to flag CVEs, which would otherwise go unreported due to the package name not matching NIST NVD data. Signed-off-by: Ralph Siemsen <ralph.siemsen@linaro.org> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, rpi4: add xen-rpi-u-boot-scr recipe for default u-boot scriptChristopher Clark2021-04-294-17/+36
| | | | | | | | | | | | Add a new xen-rpi-u-boot-scr recipe to PROVIDE u-boot-default-script instead of using a bbappend to rpi-u-boot-scr. This allows the new recipe to be selected by indicating it as PREFERRED_PROVIDER of u-boot-default-script, and then do that in the Xen on Raspberry Pi 4 config file, xen-raspberrypi4-64.inc. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, rpi4: move rpi4-machine+xen-distro cfg into dynamic layerChristopher Clark2021-04-292-17/+28
| | | | | | | | | | | | Improve meta-virt-xen.inc by moving all the Raspberry Pi 4 config settings to a new xen-raspberrypi4-64.inc file in the raspberrypi dynamic layer. The new .inc file is included only for the raspberrypi4-64 MACHINE, so the config settings no longer need to be applied using overrides. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, rpi4: apply workaround to fix crash on boot with Xen 4.14Christopher Clark2021-04-291-0/+3
| | | | | | | | Apply update to the device tree to allow Xen 4.14 to boot. Suggested-by: Bertrand Marquis <bertrand.marquis@arm.com> Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, rpi4: fix u-boot script to load binaries from boot partitionChristopher Clark2021-04-291-2/+5
| | | | | | | | | | | fatload needs to read from mmc 1:1 to find the Xen hypervisor and Linux kernel binaries with the current Yocto Linux 5.10 kernel. Add boot messages to to the u-boot script to indicate the size of files loaded for easier confirmation of load success. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, rpi4: switch Xen-on-Rpi4 kernel preference to linux-yoctoChristopher Clark2021-04-291-1/+2
| | | | | | | | | | | | | | | | | | | | The 5.10 version of the Linux Yocto kernel supports running Xen on the Raspberry Pi 4, so the previous preference for linux-yocto-dev can be replaced. Use the ?= operator to set the kernel preference now since meta-raspberrypi commit e0b4b8c5d introduced use of the weak default for kernel preference in that layer to allow this here. KERNEL_DEVICETREE needs to be set to match the build outputs of the selected kernel, in this case: "broadcom/bcm2711-rpi-4-b.dtb" Tested with kernel version: SRCREV_machine = "cf5b0320cf4544d3db9ce3ddd6ddb7553a610651" SRCREV_meta="031f6c76e488a3563f35258c72ff1de3e25a512e" Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, rpi4, linux-yocto: enable linux-yocto 5.10 for RPi4Christopher Clark2021-04-293-4/+14
| | | | | | | | Added to the raspberrypi dynamic layer for use with Xen as preparation for switching to it as the default preference. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, rpi4: drop the raspberrypi4-64 defconfig, xen_git.bbappendChristopher Clark2021-04-292-128/+0
| | | | | | | | | Since upstream Xen 4.14 and 4.15 have working default configs for Xen on the Raspberry Pi 4, the defconfig and bbappend in the raspberrypi dynamic layer can now be removed. Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* xen, rpi4: use the preferred generic multiboot,module compatible stringChristopher Clark2021-04-291-1/+1
| | | | | | | | This string has been preferred since 2014 -- ref: Xen commit a860dfeec and also current documentation: docs/misc/arm/device-tree/booting.txt Signed-off-by: Christopher Clark <christopher.w.clark@gmail.com> Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
* containerd: update to 1.5-rc -latestBruce Ashfield2021-04-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Adding the following commits into our containerd build: 3187b6dc8 tests: Adds consumed memory stats test 969ec8949 Specify seccomp target arch for CC c19b7b64d RELEASES.md: recommend alternatives for deprecated features 8a62aa1c3 Deprecate built-in aufs snapshotter 4e7915f80 CI: allow Go 1.13 for Docker/Moby compatibility 8e589e873 Vagrantfile: update to Fedora 34 5847340a7 tests: Refactors container image usage 9f43eade6 Prepare v1.5.0-rc.3 release notes 4c7b960cb prow needs some additional setup for docker buildx 2e4c1d4b7 Use the multi-arch version of the test images 4e00c4b65 integration tests needs lsof 177273680 Add script to build test images 1b5d59dfe Add multi-arch support for test images 78e529727 add integration tests 2b0e6cdd4 Separate jobs for build and test for openlab/arm64 cdd075853 Release artifacts for Linux ARM64 efcb18742 Add unit tests for PID NamespaceMode_TARGET validation b48f27df6 Support PID NamespaceMode_TARGET 909660ea9 process: use the unbuffered channel as the done signal 0f332dadd Update cgroups for regenerated protos 391b123a5 adds quiet option for ref ab1654d0e Fix PushHandler cannot push image that contains duplicated blobs 00f8d32ef add not found debug out for check cmd; update usage 55734b1c5 Prepare 1.5.0-rc.2 release notes 3ef337ae3 Update containerd vendors to tags fbe1e140f Update Go to 1.16.3 c1d1edbad gha: use sudo -E in some places to prevent dropping env-vars 7966a6652 Cleanup code 5d79d3adb go.mod: update kubernetes to v1.20.6 1c03c377e go.mod: github.com/containerd/fifo v1.0.0 12a2a2108 go.mod: github.com/google/uuid v1.2.0 3292ea586 pkg/seccomp: use sync.Once to speed up IsEnabled 00b5c99b1 pkg/seccomp: simplify IsEnabled, update doc 6dd29c25f go.mod: github.com/containerd/aufs 330a2a809 go.mod: github.com/containerd/zfs 34780d67a runtime/shim: check the namespace flag first c3dde8c4b freebsd: add zfs to the default plugins b431fe4fc freebsd: don't run shim delete in deleted dir 1f4192daf freebsd: exclude v1 runtimes cb1580937 metadata: improve deleting a non-empty namespace's error message 5bf84034d Remove junit test result processor b83d04f91 Add variable names to runtime's interface definitions 993b86399 Add shim start opts 8a4cbabc6 Reimport windows layers when comitting snapshots af1e2af72 ci: upload junit formatted test results Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>