summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--conf/layer.conf2
-rw-r--r--recipes-containers/kubernetes/kubernetes/00_cni-containerd-net.conflist (renamed from recipes-containers/kubernetes/kubernetes/cni-containerd-net.conflist)0
-rw-r--r--recipes-containers/kubernetes/kubernetes_git.bb4
-rw-r--r--recipes-containers/podman/podman/run-ptest13
-rw-r--r--recipes-containers/podman/podman_git.bb27
-rw-r--r--recipes-core/bind/bind_virtualization.inc2
-rw-r--r--recipes-devtools/yq/yq_git.bb2
-rw-r--r--recipes-extended/fuse-overlayfs/fuse-overlayfs/0001-utils-Add-missing-include-on-limits.h.patch36
-rw-r--r--recipes-extended/fuse-overlayfs/fuse-overlayfs_1.14.bb15
-rw-r--r--recipes-extended/fuse-overlayfs/fuse-overlayfs_1.9.bb18
-rw-r--r--recipes-extended/libvirt/libvirt_git.bb3
-rw-r--r--recipes-extended/xen/files/0001-xen-fix-header-guard-inconsistencies-gcc15.patch54
-rw-r--r--recipes-extended/xen/xen_4.20.bb3
-rw-r--r--recipes-networking/cni/cni_git.bb5
14 files changed, 82 insertions, 102 deletions
diff --git a/conf/layer.conf b/conf/layer.conf
index 3c10cc18..43a39f50 100644
--- a/conf/layer.conf
+++ b/conf/layer.conf
@@ -21,7 +21,7 @@ BBFILES_DYNAMIC += " \
21# This should only be incremented on significant changes that will 21# This should only be incremented on significant changes that will
22# cause compatibility issues with other layers 22# cause compatibility issues with other layers
23LAYERVERSION_virtualization-layer = "1" 23LAYERVERSION_virtualization-layer = "1"
24LAYERSERIES_COMPAT_virtualization-layer = "styhead walnascar" 24LAYERSERIES_COMPAT_virtualization-layer = "walnascar whinlatter"
25LAYERDEPENDS_virtualization-layer = " \ 25LAYERDEPENDS_virtualization-layer = " \
26 core \ 26 core \
27 openembedded-layer \ 27 openembedded-layer \
diff --git a/recipes-containers/kubernetes/kubernetes/cni-containerd-net.conflist b/recipes-containers/kubernetes/kubernetes/00_cni-containerd-net.conflist
index ca434d6f..ca434d6f 100644
--- a/recipes-containers/kubernetes/kubernetes/cni-containerd-net.conflist
+++ b/recipes-containers/kubernetes/kubernetes/00_cni-containerd-net.conflist
diff --git a/recipes-containers/kubernetes/kubernetes_git.bb b/recipes-containers/kubernetes/kubernetes_git.bb
index fea48bca..b6eb4946 100644
--- a/recipes-containers/kubernetes/kubernetes_git.bb
+++ b/recipes-containers/kubernetes/kubernetes_git.bb
@@ -31,7 +31,7 @@ SRC_URI:append = " \
31 file://0001-cross-don-t-build-tests-by-default.patch \ 31 file://0001-cross-don-t-build-tests-by-default.patch \
32 file://0001-build-golang.sh-convert-remaining-go-calls-to-use.patch \ 32 file://0001-build-golang.sh-convert-remaining-go-calls-to-use.patch \
33 file://0001-build-hack-allow-go-1.20-building.patch \ 33 file://0001-build-hack-allow-go-1.20-building.patch \
34 file://cni-containerd-net.conflist \ 34 file://00_cni-containerd-net.conflist \
35 file://k8s-init \ 35 file://k8s-init \
36 file://99-kubernetes.conf \ 36 file://99-kubernetes.conf \
37 " 37 "
@@ -119,7 +119,7 @@ do_install() {
119 fi 119 fi
120} 120}
121 121
122CNI_NETWORKING_FILES ?= "${UNPACKDIR}/cni-containerd-net.conflist" 122CNI_NETWORKING_FILES ?= "${UNPACKDIR}/00_cni-containerd-net.conflist"
123 123
124PACKAGES =+ "kubeadm kubectl kubelet kube-proxy ${PN}-misc ${PN}-host" 124PACKAGES =+ "kubeadm kubectl kubelet kube-proxy ${PN}-misc ${PN}-host"
125 125
diff --git a/recipes-containers/podman/podman/run-ptest b/recipes-containers/podman/podman/run-ptest
deleted file mode 100644
index 108ff451..00000000
--- a/recipes-containers/podman/podman/run-ptest
+++ /dev/null
@@ -1,13 +0,0 @@
1#!/bin/sh
2
3# SPDX-FileCopyrightText: Huawei Inc.
4#
5# SPDX-License-Identifier: MIT
6
7#
8# Podman system tests
9#
10
11# The system tests don't need any go related variables. Dummy-define them to
12# avoid useless warnings/errors.
13GOOS=undefined GO=true BUILDTAGS= make localsystem
diff --git a/recipes-containers/podman/podman_git.bb b/recipes-containers/podman/podman_git.bb
index 46c6c969..8d8e0f05 100644
--- a/recipes-containers/podman/podman_git.bb
+++ b/recipes-containers/podman/podman_git.bb
@@ -20,7 +20,6 @@ SRCREV = "227df90eb7c021097c9ba5f8000c83648a598028"
20SRC_URI = " \ 20SRC_URI = " \
21 git://github.com/containers/libpod.git;branch=v5.4;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \ 21 git://github.com/containers/libpod.git;branch=v5.4;protocol=https;destsuffix=${GO_SRCURI_DESTSUFFIX} \
22 ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'file://50-podman-rootless.conf', '', d)} \ 22 ${@bb.utils.contains('PACKAGECONFIG', 'rootless', 'file://50-podman-rootless.conf', '', d)} \
23 file://run-ptest \
24" 23"
25 24
26LICENSE = "Apache-2.0" 25LICENSE = "Apache-2.0"
@@ -55,7 +54,7 @@ export BUILDFLAGS = "${GOBUILDFLAGS}"
55 54
56inherit go goarch 55inherit go goarch
57inherit container-host 56inherit container-host
58inherit systemd pkgconfig ptest 57inherit systemd pkgconfig
59 58
60do_configure[noexec] = "1" 59do_configure[noexec] = "1"
61 60
@@ -128,17 +127,6 @@ do_install() {
128 fi 127 fi
129} 128}
130 129
131do_install_ptest () {
132 cp ${S}/src/import/Makefile ${D}${PTEST_PATH}
133 install -d ${D}${PTEST_PATH}/test
134 cp -r ${S}/src/import/test/system ${D}${PTEST_PATH}/test
135
136 # Some compatibility links for the Makefile assumptions.
137 install -d ${D}${PTEST_PATH}/bin
138 ln -s ${bindir}/podman ${D}${PTEST_PATH}/bin/podman
139 ln -s ${bindir}/podman-remote ${D}${PTEST_PATH}/bin/podman-remote
140}
141
142FILES:${PN} += " \ 130FILES:${PN} += " \
143 ${systemd_unitdir}/system/* \ 131 ${systemd_unitdir}/system/* \
144 ${nonarch_libdir}/systemd/* \ 132 ${nonarch_libdir}/systemd/* \
@@ -169,16 +157,3 @@ RRECOMMENDS:${PN} += "slirp4netns \
169 kernel-module-xt-tcpudp \ 157 kernel-module-xt-tcpudp \
170 " 158 "
171RCONFLICTS:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'docker', 'docker', '', d)}" 159RCONFLICTS:${PN} = "${@bb.utils.contains('PACKAGECONFIG', 'docker', 'docker', '', d)}"
172
173RDEPENDS:${PN}-ptest += " \
174 bash \
175 bats \
176 buildah \
177 coreutils \
178 file \
179 gnupg \
180 jq \
181 make \
182 skopeo \
183 tar \
184"
diff --git a/recipes-core/bind/bind_virtualization.inc b/recipes-core/bind/bind_virtualization.inc
index f942d7ad..bb4e22b2 100644
--- a/recipes-core/bind/bind_virtualization.inc
+++ b/recipes-core/bind/bind_virtualization.inc
@@ -1,4 +1,4 @@
1# Tell named not to bother listening on the IP address that lxc and libvirtd handles itself. 1# Tell named not to bother listening on the IP address that lxc and libvirtd handles itself.
2do_install:append() { 2do_install:append() {
3 sed -i -e 's,^\( *options *{\)$,\1\n\t// lxc and libvirtd would take care of this address itself\n\tlisten-on { ! 10.0.3.1; ! 192.168.122.1; any;};\n\tlisten-on-v6 { ! fc11:4514:1919:810::1; any;};\n,' ${D}${sysconfdir}/bind/named.conf.options 3 sed -i -e 's,^\( *options *{\)$,\1\n\t// lxc and libvirtd would take care of this address itself\n\tlisten-on { ! 10.0.3.1; ! 192.168.122.1; any;};\n\tlisten-on-v6 { ! fc42:5009:ba4b:5ab0::1; any;};\n,' ${D}${sysconfdir}/bind/named.conf.options
4} 4}
diff --git a/recipes-devtools/yq/yq_git.bb b/recipes-devtools/yq/yq_git.bb
index 363769b9..415a4a4e 100644
--- a/recipes-devtools/yq/yq_git.bb
+++ b/recipes-devtools/yq/yq_git.bb
@@ -25,7 +25,7 @@ SRCREV_text = "566b44fc931e2542778a18423c655ce99b4f1402"
25SRC_URI += "git://go.googlesource.com/text;name=text;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/golang.org/x/text" 25SRC_URI += "git://go.googlesource.com/text;name=text;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/golang.org/x/text"
26 26
27SRCREV_diff = "20ebb0f2a09e612109b224b32f79370409108bcc" 27SRCREV_diff = "20ebb0f2a09e612109b224b32f79370409108bcc"
28SRC_URI += "git://github.com/pkg/diff;name=diff;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/pkg/diff" 28SRC_URI += "git://github.com/pkg/diff;name=diff;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/pkg/diff;apply=no"
29 29
30SRCREV_color = "1c8d8706604ee5fb9a464e5097ba113101828a75" 30SRCREV_color = "1c8d8706604ee5fb9a464e5097ba113101828a75"
31SRC_URI += "git://github.com/fatih/color;name=color;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/fatih/color" 31SRC_URI += "git://github.com/fatih/color;name=color;protocol=https;nobranch=1;destsuffix=${GO_SRCURI_DESTSUFFIX}/vendor/github.com/fatih/color"
diff --git a/recipes-extended/fuse-overlayfs/fuse-overlayfs/0001-utils-Add-missing-include-on-limits.h.patch b/recipes-extended/fuse-overlayfs/fuse-overlayfs/0001-utils-Add-missing-include-on-limits.h.patch
deleted file mode 100644
index cd504ce5..00000000
--- a/recipes-extended/fuse-overlayfs/fuse-overlayfs/0001-utils-Add-missing-include-on-limits.h.patch
+++ /dev/null
@@ -1,36 +0,0 @@
1From b48e958aaecfdfc3bb48db082a548a09d6487181 Mon Sep 17 00:00:00 2001
2From: Andrei Gherzan <andrei.gherzan@huawei.com>
3Date: Wed, 13 Jul 2022 12:05:07 +0200
4Subject: [PATCH] utils: Add missing include on limits.h
5
6This happens to not be an issue with glibc because it gets indirectly
7included via dirent.h:
8
9.. /usr/include/dirent.h
10[...]
11..... /usr/include/linux/limits.h
12
13When using the musl libc implementation, that is not the case anymore
14and the build fails.
15
16Signed-off-by: Andrei Gherzan <andrei.gherzan@huawei.com>
17Upstream-Status: Submitted [https://github.com/containers/fuse-overlayfs/pull/362]
18---
19 utils.h | 1 +
20 1 file changed, 1 insertion(+)
21
22diff --git a/utils.h b/utils.h
23index 13a177e..6fbc328 100644
24--- a/utils.h
25+++ b/utils.h
26@@ -32,6 +32,7 @@
27 # include <sys/types.h>
28 # include <fcntl.h>
29 # include "fuse-overlayfs.h"
30+# include <limits.h>
31
32 # define XATTR_OVERRIDE_STAT "user.fuseoverlayfs.override_stat"
33 # define XATTR_PRIVILEGED_OVERRIDE_STAT "security.fuseoverlayfs.override_stat"
34--
352.25.1
36
diff --git a/recipes-extended/fuse-overlayfs/fuse-overlayfs_1.14.bb b/recipes-extended/fuse-overlayfs/fuse-overlayfs_1.14.bb
new file mode 100644
index 00000000..0f6d0fb6
--- /dev/null
+++ b/recipes-extended/fuse-overlayfs/fuse-overlayfs_1.14.bb
@@ -0,0 +1,15 @@
1SUMMARY = "FUSE implementation of overlayfs."
2DESCRIPTION = "An implementation of overlay+shiftfs in FUSE for rootless \
3containers."
4
5LICENSE = "GPL-2.0-or-later"
6LIC_FILES_CHKSUM = "file://COPYING;md5=b234ee4d69f5fce4486a80fdaf4a4263"
7
8SRCREV = "33cb788edc05f5e3cbb8a7a241f5a04bee264730"
9SRC_URI = "git://github.com/containers/fuse-overlayfs.git;nobranch=1;protocol=https"
10
11DEPENDS = "fuse3"
12
13S = "${WORKDIR}/git"
14
15inherit autotools pkgconfig
diff --git a/recipes-extended/fuse-overlayfs/fuse-overlayfs_1.9.bb b/recipes-extended/fuse-overlayfs/fuse-overlayfs_1.9.bb
deleted file mode 100644
index 31199928..00000000
--- a/recipes-extended/fuse-overlayfs/fuse-overlayfs_1.9.bb
+++ /dev/null
@@ -1,18 +0,0 @@
1SUMMARY = "FUSE implementation of overlayfs."
2DESCRIPTION = "An implementation of overlay+shiftfs in FUSE for rootless \
3containers."
4
5LICENSE = "GPL-3.0-or-later"
6LIC_FILES_CHKSUM = "file://COPYING;md5=d32239bcb673463ab874e80d47fae504"
7
8SRCREV = "51592ea406f48faeccab288f65dcba6c4a67cd90"
9SRC_URI = " \
10 git://github.com/containers/fuse-overlayfs.git;nobranch=1;protocol=https \
11 file://0001-utils-Add-missing-include-on-limits.h.patch \
12"
13
14DEPENDS = "fuse3"
15
16S = "${WORKDIR}/git"
17
18inherit autotools pkgconfig
diff --git a/recipes-extended/libvirt/libvirt_git.bb b/recipes-extended/libvirt/libvirt_git.bb
index 4c6b3bdd..7ed708f5 100644
--- a/recipes-extended/libvirt/libvirt_git.bb
+++ b/recipes-extended/libvirt/libvirt_git.bb
@@ -47,9 +47,10 @@ S = "${WORKDIR}/git"
47 47
48inherit meson gettext update-rc.d pkgconfig systemd useradd perlnative 48inherit meson gettext update-rc.d pkgconfig systemd useradd perlnative
49USERADD_PACKAGES = "${PN}" 49USERADD_PACKAGES = "${PN}"
50GROUPADD_PARAM:${PN} = "-r qemu; -r kvm" 50GROUPADD_PARAM:${PN} = "-r qemu; -r kvm; -r libvirt; -r virtlogin"
51USERADD_PARAM:${PN} = "-r -g qemu -G kvm qemu" 51USERADD_PARAM:${PN} = "-r -g qemu -G kvm qemu"
52 52
53CFLAGS += "${@oe.utils.vartrue('DEBUG_BUILD', '-Wno-error=inline', '', d)}"
53 54
54EXTRA_OEMESON += "--cross-file ${WORKDIR}/meson-${PN}.cross" 55EXTRA_OEMESON += "--cross-file ${WORKDIR}/meson-${PN}.cross"
55do_write_config:append() { 56do_write_config:append() {
diff --git a/recipes-extended/xen/files/0001-xen-fix-header-guard-inconsistencies-gcc15.patch b/recipes-extended/xen/files/0001-xen-fix-header-guard-inconsistencies-gcc15.patch
new file mode 100644
index 00000000..4b2c0bdf
--- /dev/null
+++ b/recipes-extended/xen/files/0001-xen-fix-header-guard-inconsistencies-gcc15.patch
@@ -0,0 +1,54 @@
1From 70f96461462a5a0437398022aa71a2033c8c5c3a Mon Sep 17 00:00:00 2001
2From: Bruce Ashfield <bruce.ashfield@gmail.com>
3Date: Thu, 15 May 2025 14:26:47 -0400
4Subject: [PATCH] xen: fix header guard inconsistencies (gcc15)
5
6Fixing the following header inconsistencies
7
8 | In file included from arch/arm/platforms/midway.c:22:
9 | ./arch/arm/include/asm/platforms/midway.h:1: error: header guard '__ASM_ARM_PLATFORMS_MIDWAY_H' followed by '#define' of a different macro [-Werror=header-guard]
10 | 1 | #ifndef __ASM_ARM_PLATFORMS_MIDWAY_H
11 | ./arch/arm/include/asm/platforms/midway.h:2: note: '__ASM_ASM_PLATFORMS_MIDWAY_H' is defined here; did you mean '__ASM_ARM_PLATFORMS_MIDWAY_H'?
12 | 2 | #define __ASM_ASM_PLATFORMS_MIDWAY_H
13 | In file included from arch/arm/platforms/omap5.c:21:
14 | ./arch/arm/include/asm/platforms/omap5.h:1: error: header guard '__ASM_ARM_PLATFORMS_OMAP5_H' followed by '#define' of a different macro [-Werror=header-guard]
15 | 1 | #ifndef __ASM_ARM_PLATFORMS_OMAP5_H
16 | ./arch/arm/include/asm/platforms/omap5.h:2: note: '__ASM_ASM_PLATFORMS_OMAP5_H' is defined here; did you mean '__ASM_ARM_PLATFORMS_OMAP5_H'?
17
18It is unclear whether this is on purpose or not, but for our limited
19set of permuations, we change them to match and no issues have been
20found.
21
22Upstream-Status: Pending [the xen folks understand the code and the right fix .. I don't]
23
24Signed-off-by: Bruce Ashfield <bruce.ashfield@gmail.com>
25---
26 xen/arch/arm/include/asm/platforms/midway.h | 2 +-
27 xen/arch/arm/include/asm/platforms/omap5.h | 2 +-
28 2 files changed, 2 insertions(+), 2 deletions(-)
29
30diff --git a/xen/arch/arm/include/asm/platforms/midway.h b/xen/arch/arm/include/asm/platforms/midway.h
31index 099e4350f9..69143931c2 100644
32--- a/xen/arch/arm/include/asm/platforms/midway.h
33+++ b/xen/arch/arm/include/asm/platforms/midway.h
34@@ -1,5 +1,5 @@
35 #ifndef __ASM_ARM_PLATFORMS_MIDWAY_H
36-#define __ASM_ASM_PLATFORMS_MIDWAY_H
37+#define __ASM_ARM_PLATFORMS_MIDWAY_H
38
39 /* addresses of SREG registers for resetting the SoC */
40 #define MW_SREG_PWR_REQ 0xfff3cf00
41diff --git a/xen/arch/arm/include/asm/platforms/omap5.h b/xen/arch/arm/include/asm/platforms/omap5.h
42index c559c84b61..8867b4589a 100644
43--- a/xen/arch/arm/include/asm/platforms/omap5.h
44+++ b/xen/arch/arm/include/asm/platforms/omap5.h
45@@ -1,5 +1,5 @@
46 #ifndef __ASM_ARM_PLATFORMS_OMAP5_H
47-#define __ASM_ASM_PLATFORMS_OMAP5_H
48+#define __ASM_ARM_PLATFORMS_OMAP5_H
49
50 #define REALTIME_COUNTER_BASE 0x48243200
51 #define INCREMENTER_NUMERATOR_OFFSET 0x10
52--
532.39.2
54
diff --git a/recipes-extended/xen/xen_4.20.bb b/recipes-extended/xen/xen_4.20.bb
index d8324033..85c56296 100644
--- a/recipes-extended/xen/xen_4.20.bb
+++ b/recipes-extended/xen/xen_4.20.bb
@@ -1,4 +1,4 @@
1SRCREV ?= "3ad5d648cda5add395f49fc3704b2552aae734f7" 1SRCREV ?= "47d911f69eb976785fd17cae4e39de4d55b94b9e"
2 2
3XEN_REL ?= "4.20.0" 3XEN_REL ?= "4.20.0"
4XEN_BRANCH ?= "stable-4.20" 4XEN_BRANCH ?= "stable-4.20"
@@ -6,6 +6,7 @@ XEN_BRANCH ?= "stable-4.20"
6SRC_URI = " \ 6SRC_URI = " \
7 git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \ 7 git://xenbits.xen.org/xen.git;branch=${XEN_BRANCH} \
8 file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch \ 8 file://0001-menuconfig-mconf-cfg-Allow-specification-of-ncurses-location.patch \
9 file://0001-xen-fix-header-guard-inconsistencies-gcc15.patch \
9 " 10 "
10 11
11LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9" 12LIC_FILES_CHKSUM ?= "file://COPYING;md5=d1a1e216f80b6d8da95fec897d0dbec9"
diff --git a/recipes-networking/cni/cni_git.bb b/recipes-networking/cni/cni_git.bb
index e6d71aa2..023aa329 100644
--- a/recipes-networking/cni/cni_git.bb
+++ b/recipes-networking/cni/cni_git.bb
@@ -103,11 +103,12 @@ do_install() {
103 ln -sf ${libexecdir}/cni/ ${D}/opt/cni/bin 103 ln -sf ${libexecdir}/cni/ ${D}/opt/cni/bin
104} 104}
105 105
106PACKAGECONFIG ?= "ca-certs"
107PACKAGECONFIG[ca-certs] = ",,,ca-certificates"
108
106FILES:${PN} += "${libexecdir}/cni/* /opt/cni/bin" 109FILES:${PN} += "${libexecdir}/cni/* /opt/cni/bin"
107 110
108INSANE_SKIP:${PN} += "ldflags already-stripped" 111INSANE_SKIP:${PN} += "ldflags already-stripped"
109 112
110deltask compile_ptest_base 113deltask compile_ptest_base
111
112RDEPENDS:${PN} += " ca-certificates"
113RRECOMMENDS:${PN} += "iptables iproute2" 114RRECOMMENDS:${PN} += "iptables iproute2"