Commit Graph

2482 Commits

Author SHA1 Message Date
Bruce Ashfield
dd7724f447 ovs: convert WORKDIR references to UNPACKDIR
fetched files should be referenced via UNPACKDIR instead of
WORKDIR.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:23:51 +00:00
Bruce Ashfield
05959ccaaf uxen: convert WORKDIR references to UNPACKDIR
While the WORKDIR references seem to work, they may not continue
to work. We switch to using UNPACKDIR which is where the SRC_URI
referenced elements / files will be placed by the fetcher.

Note: gcc-14 issues remain even with this fix.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:23:51 +00:00
Bruce Ashfield
9388aae0f3 libvirt: convert WORKDIR references to UNPACKDIR
Converting WORDIR references to UNPACKDIR.

Our generated keys and other references to WORKDIR continue
to be fine.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:23:51 +00:00
Bruce Ashfield
7e5d098342 diod: convert WORKDIR references to UNPACKDIR
Converting WORDIR references to UNPACKDIR.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:23:51 +00:00
Martin Jansa
e0c92af683 dev86: ignore various issues fatal with gcc-14
work arounds for:
meta-virtualization/recipes-extended/dev86/dev86_git.bb:do_install

http://errors.yoctoproject.org/Errors/Build/183127/

Signed-off-by: Martin Jansa <martin.jansa@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:23:41 +00:00
Bruce Ashfield
73a3374eb4 helloworkd-flask: convert WORKDIR references to UNPACKDIR
unpacked source files are now in UNPACKDIR, so we adjust our
operations to match.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
2fdfa68445 podman: convert remaining WORKDIR references to UNPACKDIR
While the WORKDIR references seem to work, they may not continue
to work. We switch to using UNPACKDIR which is where the SRC_URI
referenced elements / files will be placed by the fetcher.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
d79afeac8c lxc: convert remaining WORKDIR references to UNPACKDIR
While the WORKDIR references seem to work, they may not continue
to work. We switch to using UNPACKDIR which is where the SRC_URI
referenced elements / files will be placed by the fetcher.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
2aa6da625d kubernetes: convert remaining WORKDIR references to UNPACKDIR
While the WORKDIR references seem to work, they may not continue
to work. We switch to using UNPACKDIR which is where the SRC_URI
referenced elements / files will be placed by the fetcher.

The remaining WORDIR references are to a secondary git repository
with artifacts and should be safe.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
01a6b4771f docker-distribution: convert remaining WORKDIR references to UNPACKDIR
While the WORKDIR references seem to work, they may not continue
to work. We switch to using UNPACKDIR which is where the SRC_URI
referenced elements / files will be placed by the fetcher.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
d190fb4a13 container-host-config: convert remaining WORKDIR references to UNPACKDIR
While the WORKDIR references seem to work, they may not continue
to work. We switch to using UNPACKDIR which is where the SRC_URI
referenced elements / files will be placed by the fetcher.

We also explicitly set S to point to the UNPACKDIR to avoid a
build warning.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
27db959787 cgroup-lite: convert remaining WORKDIR references to UNPACKDIR
While the WORKDIR references seem to work, they may not continue
to work. We switch to using UNPACKDIR which is where the SRC_URI
referenced elements / files will be placed by the fetcher.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
3dc0db19e1 k3s: convert remaining WORKDIR references to UNPACKDIR
While the WORKDIR references seem to work, they may not continue
to work. We switch to using UNPACKDIR which is where the SRC_URI
referenced elements / files will be placed by the fetcher.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
5f5a9e7cd7 yq: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

We also symlink our unpacked vendor clones into the build directory
since they are no longer directly placed in WORKDIR.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
95852d19d2 go-build: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
288d9bdfb1 podman-tui: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
34b281d1a9 k3s: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
9de2c86118 crio-o: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

We also adjust our WORKDIR reference to use UNPACKDIR instead

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
754c3134c2 podman: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
d4f36f3ff5 docker-compose: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

We also adjust our WORKDIR reference to UNPACKDIR, and the destination
for vendor'd source.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
fd30405004 netns: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
caec6371aa nerdctl: SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

We also adjust our S directory, and references to WORKDIR to
fix the build for the new source layout.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
df90aeb1ae cri-tools: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
258742feb5 moby: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

We also adjust our paths to the new source location and drop references
to WORKDIR.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
13928411b2 kernel: fix fragment path
Now that UNPACKDIR is used to unpack sources we have an
extra level of indirection to locate our cloned fragments.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
3653862e5b cni: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

We also must adjust to UNPACKDIR changes which requires rework
of the directories for the clones and source layout.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
f12df6ce27 runc-docker: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
e97f724ccc layer: set compatibility to styhead
With the recent UNPACKDIR and golang changes, master is only
compatible with styhead.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
d04caa21f0 buildah: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
32d60c4016 go-md2man: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Bruce Ashfield
b78f5ac678 runc: adapt SRC_URI to include destsuffix=${GO_SRCURI_DESTSUFFIX}
As of commit cc4ec43a2b657fb4c58429ab14f1edc2473c1327 [go: Drop fork
of unpack code, mandate GO_SRCURI_DESTSUFFIX] we require this
variable in our go recipes.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-29 13:16:56 +00:00
Patrick Wicki
380eae7bdd podman: require catatonit
Alternatively, we could add it to RRECOMMENDS. But I would say, given
its name, managing pods is part of podman's core functionality and that
requires catatonit, which is currently only pulled in for the ptest:

root@qemux86-64:~# podman pod create
Error: building local pause image: finding pause binary: exec: "catatonit": executable file not found in $PATH

Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-13 22:32:38 -04:00
Patrick Wicki
992253f871 podman: remove skopeo rdepends
Podman does not require skopeo to run. They are both independent tools.
In distros like Debian, Fedora and Arch they don't depend on it either.
Skopeo also seems to be used in some of podman's tests, so it makes
sense to keep it around for the ptest.

We do require skopeo's libdevmapper dependency, so include that
directly. And inherit container-host to make sure the container configs
are present on the device.

Signed-off-by: Patrick Wicki <patrick.wicki@siemens.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-13 22:32:38 -04:00
Bruce Ashfield
4cea448064 runc-opencontainers: update to 1.1.12
Bumping runc to version v1.1.12-14-ge8bb71e1, which comprises the following commits:

    6379b58d libcontainer: force apps to think fips is enabled/disabled for testing
    265e7371 Vagrantfile.fedora: bump Fedora to 39
    59056a02 silence security false positives from golang/net
    452bf88e build: update libseccomp to v2.5.5
    3fada6ec tests/int: fix flaky "runc run with tmpfs perm"
    aae41a4b Fix integration tests failure when calling "ip"
    82a8b979 update go version to 1.21 in cirrus ci
    03271050 ci/gha/cross-i386: pin Go to 1.21
    29d6d873 VERSION: back to development
    51d5e946 VERSION: release 1.1.12
    e9665f4d init: don't special-case logrus fds
    683ad2ff libcontainer: mark all non-stdio fds O_CLOEXEC before spawning init
    b6633f48 cgroup: plug leaks of /sys/fs/cgroup handle
    284ba305 init: close internal fds before execve
    fbe3eed1 setns init: do explicit lookup of execve argument early
    0994249a init: verify after chdir that cwd is inside the container
    506552a8 Fix File to Close

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-13 22:32:38 -04:00
Bruce Ashfield
a03ff1cd0a containerd: update to v2.0.0-rc.1
Bumping containerd to version v2.0.0-rc.1-8-g0426e3c2e, which comprises the following commits:

    c27bcdc56 cri: introspectRuntimeFeatures: fix nil panic
    c5ba71d11 Makefile: update default PACKAGE to v2
    094bafe2a apparmor: Allow confined runc to kill containers
    e461a59ae fix migrateConfig for io.containerd.cri.v1.images
    eb5a0c04b apparmor: add `signal (receive) peer=/usr/local/bin/rootlesskit,`
    5e470e1ca Update HTTPFallback to handle tls handshake timeout
    a37b451cd build(deps): bump tags.cncf.io/container-device-interface
    888fd315f Update CNI to v1.2.0
    13e6b2b68 update to go1.21.9, go1.22.2
    42e4de9c5 Prepare release notes for v2.0.0-rc.1
    4a31bd606 chore: use errors.New to replace fmt.Errorf with no parameters will much better
    a6a82c102 Update hcsshim to v0.12.3
    7e60d5a07 Account for ipv4 vs ipv6 localhost in windows port forwarding
    a153b2cd3 mod: bump github.com/containerd/nri@v0.6.1
    77512e2d7 build(deps): bump the golang-x group with 3 updates
    c8d9eba7c build(deps): bump github.com/klauspost/compress from 1.17.7 to 1.17.8
    1c0f73aa0 build(deps): bump github.com/pelletier/go-toml/v2 from 2.2.0 to 2.2.1
    32caaee48 Snapshotters: Export the root path
    b82ced57f fix: close profile
    c7ea06a69 fix default working directory `hostProcess`
    1040c7b98 build(deps): bump the otel group with 8 updates
    b50e9eae4 Refactor spots to make use of sys.IgnoringEintr
    3ea69db8e Add helper to ignore eintr
    1b6222418 Bump tags.cncf.io/container-device-interface to v0.7.1
    ad584ebec Replace direct waitid syscall with unix.Waitid
    7c5078459 Remove empty default tls configuration in ctr
    b6e361694 cri: add pause image name to annotations
    0ec14fdf8 core/diff/apply: use unix.Syncfs
    739659a4b build(deps): bump google.golang.org/grpc from 1.62.1 to 1.63.2
    433279438 Transfer: Registry: Enable plain HTTP
    88b4cc659 address review comments
    f20c49311 Update tracing documentation to add details about manual instrumentation
    63d5573a3 remote: Fix HTTPFallback fails when pushing manifest
    2474a99c3 Add IsNotFound case to ListPodSandboxStats
    3830f8167 fix(cri): fix unexpected order of mounts since go 1.19
    cbb644182 build(deps): bump github.com/Microsoft/hcsshim from 0.12.0 to 0.12.2
    362fcf2d2 build(deps): bump github.com/distribution/reference from 0.5.0 to 0.6.0
    5b6ae0f79 Use different containerd sock address in tests
    ab2c569fb ctr: fix parsing mount options
    b97ef91fb Change port forwarding on windows
    ea681afba docs: fix typo
    6d00c3ada runc-shim: only defer init process exits
    da4ca4949 build(deps): bump github.com/pelletier/go-toml/v2 from 2.1.1 to 2.2.0
    dd72fb3b2 build(deps): bump github.com/intel/goresctrl from 0.6.0 to 0.7.0
    e41e9e11b transfer: Platform matcher should match multiple platforms
    d0d35f0d0 core/images/archive: normalizeReference: remove outdated TODO
    26158609b pkg/seutil: move to internal/cri
    33732bc13 pkg/systemd: move to internal/cri
    0d0850af1 Prepare v2.0.0-rc.0
    f5abb63c0 Update mailmap
    30813f646 build(deps): bump github.com/containernetworking/plugins
    0fafc0c50 build(deps): bump github.com/checkpoint-restore/go-criu/v7
    7c1fca096 Update migration script based on usage
    45e425ccc vendor: github.com/golang/protobuf v1.5.4
    4aa6fedd5 CRI: postpone removal of deprecated config properties
    34c545824 Automatically decompress archives for transfer service import
    df26c189a Clean cri options and useless parms
    88421068f Fix invalid event filter in podsandbox
    357c59b79 Update github actions ci to run on forks
    4b719cc4b build(deps): bump google.golang.org/grpc from 1.62.0 to 1.62.1
    10c7f03b3 build(deps): bump google.golang.org/protobuf from 1.32.0 to 1.33.0
    21d3fedf4 build(deps): bump softprops/action-gh-release from 1 to 2
    228aa42a6 build(deps): bump the otel group with 8 updates
    47d13767f Clean typos in plugins.
    7ac9d6909 Use the Go toolchain in CI matrix to build binaries
    6a96e4501 Move shim package to pkg
    f25770e48 Wire through CRI ContainerCheckpoint RPC
    7ecdebff9 update to go 1.21.8, 1.22.1
    723306d0e Disable OOM set score unpriv test temporarily
    994fdd74e Don't create new scratch VHD per image for CimFS
    016b588a9 build(deps): bump github.com/stretchr/testify from 1.8.4 to 1.9.0
    d9409c461 Update hcsshim to v0.12.0
    00d714e90 build(deps): bump the golang-x group with 2 updates
    ab4de3e4c build(deps): bump azure/login from 1 to 2
    713dd8f8d go.mod: k8s.io/cri-api v0.30.0-alpha.3
    d9b9160ae mv internal/testutil pkg/testutil
    752917c0f build(deps): bump github.com/prometheus/client_golang
    7a3b7fba5 Transfer: Registry: Enable to use registry configuration diretory
    1bf781d8e Cleanup introspection interface
    5bd204109 Remove grpc from Client connection interface
    347346e3c Add ttrpc support to content proxy
    9104e6a24 Add events proxy interface
    892dc54bd runc-shim: process exec exits before init
    9128ee0a9 Move nri packages to plugin and internal
    d0da3d1ca sandbox: make event monitor in CRI independent
    17ea3959b adds mediatype to oci index record
    c5ef8a2c2 fix(docs): fix duplicate instructions for windows installation
    87e8e9c7f Add Go client stability in releases for 2.0.
    72f21833b Move events to plugins and core
    caa9e2075 add k8s 1.29 and 1.30preview to support table
    154ed26a7 vendor: go.etcd.io/bbolt v1.3.9
    6d1dfe55f cri: ensure the pause image loaded in older versions is pinned
    2884b318f build(deps): bump github.com/klauspost/compress from 1.17.6 to 1.17.7
    bd44df8a1 refactor code - clean switch and if statements
    a60e52f58 sandbox: add struct tags for PinnedImages
    a0b73ae11 sandbox: optimize the lock in PodSandbox
    0f1d27412 sandbox: add methods to sandboxService
    a2768f19d plugins/sandbox: move local plugin into services
    d651cb743 mediatypes: support zstd compression

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-13 22:32:38 -04:00
Bruce Ashfield
e7a13cbbc3 containerd: consolidate to "containerd"
We no longer need the split between container-docker and
containerd-opencontainers and dependent layers have been
given over a year to adapt.

We do keep the provides and rprovides around for a bit
longer, but those will also be removed in the future.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-13 22:32:38 -04:00
Richard Purdie
89e2b594dc sysvinit-inittab: Use UNPACKDIR instead of WORKDIR
Now that UNPACKDIR has been introduced to OE-Core, use it in the
do_install fuction so that as/when things move around and UNPACKDIR
is no longer WORKDIR, it continues to work correctly.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-13 22:31:52 -04:00
Changqing Li
e9bb0a338f kubernetes: Pass -trimpath to build
Fix following QA WARNING:
WARNING: QA Issue: File /usr/bin/kubectl in package kubectl contains reference to TMPDIR [buildpaths]
WARNING: QA Issue: File /usr/bin/kubeadm in package kubeadm contains reference to TMPDIR [buildpaths]
WARNING: QA Issue: File /usr/bin/kube-proxy in package kube-proxy contains reference to TMPDIR [buildpaths]
WARNING: QA Issue: File /usr/bin/kube-apiserver in package kubernetes-misc contains reference to TMPDIR
WARNING: QA Issue: File /usr/bin/kubelet in package kubelet contains reference to TMPDIR [buildpaths]

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-02 18:22:42 +00:00
Changqing Li
e46214eea8 containerd-opencontainers: fix wrong version display
* Update containerd to v2 to fix following containerd version:
containerd github.com/containerd/containerd/v2 2.0.0-beta.0+unknown
it should be like:
containerd github.com/containerd/containerd/v2 v2.0.0-beta.2-204-gb1624c362.m b1624c3628954e769dd50783b63823040b2db38c.m

* Remove CONTAINERD_PKG, it is not used

* Update default PACKAGE in Makefile to v2

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-02 18:22:42 +00:00
Changqing Li
7ccaa4ac22 cni: pass BuildVersion info to avoid runtime warning
The default value of BuildVersion is 'unknown' and it
requires an override at link time to embed such version
info into binary.

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-02 18:22:42 +00:00
Changqing Li
b50d4899fa kubernetes: skip textrel QA warning
-buildmode=pie need cgo is enabled, but for kubernetes, some build
targets are static, and cgo is disable in build script directly, refer
[1]. If we add -buildmode=pie by default, will cause these static target
build failed with error "-buildmode=pie requires external (cgo) linking,
but cgo is not enabled".

This warning is acceptable, so just skip it.

[1] https://github.com/kubernetes/kubernetes/blob/master/hack/lib/golang.sh#L811

Signed-off-by: Changqing Li <changqing.li@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-02 17:59:55 +00:00
Theodore A. Roth
74455bb615 podman: Fix missing brace in FILES
When converting to use {systemd_user_unitdir}, the closing brace was
omitted

Signed-off-by: Theodore A. Roth <theodore_roth@trimble.com>
Signed-off-by: Theodore A. Roth <troth@openavr.org>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-02 17:58:45 +00:00
Mingli Yu
c07eefe02f ceph: Add the missing Upstream-Status Field
Fixes:
  INFO: Traceback (most recent call last):
    File "/build/layers/oe-core/scripts/lib/checklayer/cases/common.py", line 87, in test_patches_upstream_status
      self.assertEqual(len(patches), 0 , \
  AssertionError: 1 != 0 : Found following patches with malformed or missing upstream status:
/build/layers/meta-virtualization/recipes-extended/ceph/ceph/0001-delete-install-layout-deb.patch

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-05-02 17:49:26 +00:00
Ola x Nilsson
9f0a5fee11 diod: Build in 32bit systems with 64bit time_t
Signed-off-by: Ola x Nilsson <olani@axis.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-04-25 17:50:10 +00:00
Lukasz Czechowski
0b5cf63796 podman: fix location of user systemd service units
The value of USERSYSTEMDDIR is currently set to
${systemd_unitdir}/user, which might not be present in user unit
search path.
Use dedicated bitbake variable ${systemd_user_unitdir} instead.

Signed-off-by: Lukasz Czechowski <lukasz.czechowski@thaumatec.com>
Cc: Bruce Ashfield <bruce.ashfield@gmail.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-04-22 15:02:52 +00:00
Bruce Ashfield
b7e77b69d3 kernel/cfg: update SRCREV to sync lxc options
Bumping the SRCREV to pickup the latest lxc configuration
tweaks and consoliation.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-04-10 14:02:27 +00:00
Xiangyu Chen
8410846c0b lxc: fix broken test cases
Upstream dropped cgroup handling in lxc-test-usernic lxc-test-unpriv and
lxc-test-apparmor-mount to fix the broken cases.

Signed-off-by: Xiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-04-09 14:08:26 +00:00
Mathieu Dupré
415cc454d0 libvirt: add libvirt-dbus
libvirt-dbus provides a dBus interface for libvirt. It can be needed as
dependency for some virtualization packages, such as
`cockpit-machines`.
Compilation tested on x86-64 and aarch64 machines.

Signed-off-by: Mathieu Dupré <mathieu.dupre@savoirfairelinux.com>
Signed-off-by: Paul Le Guen de Kerneizon <paul.leguendekerneizon@savoirfairelinux.com>
Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-04-09 13:40:25 +00:00
Bruce Ashfield
da840d8845 runc-docker: update to 1.1.12
Bumping runc to version v1.1.12-2-ga9833ff3, which comprises the following commits:

    29d6d873 VERSION: back to development
    51d5e946 VERSION: release 1.1.12
    e9665f4d init: don't special-case logrus fds
    683ad2ff libcontainer: mark all non-stdio fds O_CLOEXEC before spawning init
    b6633f48 cgroup: plug leaks of /sys/fs/cgroup handle
    284ba305 init: close internal fds before execve
    fbe3eed1 setns init: do explicit lookup of execve argument early
    0994249a init: verify after chdir that cwd is inside the container
    506552a8 Fix File to Close
    d0b1a374 keyring: update AkihiroSuda key expiry
    d561e5da keyring: update cyphar@cyphar.com key expiry
    7887736f VERSION: back to development
    4bccb38c VERSION: release 1.1.11

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-04-09 13:10:39 +00:00
Bruce Ashfield
03a0378792 xen-tools: adjust recommendations for qemu package splitting
When vmsep is enabled the qemu packages are split based on
meta-virt policy. Detect this distro feature and update our
dependencies accordingly.

Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
2024-04-04 19:57:46 +00:00