[PATCH] docker: add netfilter configuration fragments
crawford.benjamin15@...
The docker.cfg file is missing a few netfilter
module requirements. Without these, it is possible for networking and bridge initialization to fail. Signed-off-by: Benjamin Mordaunt <crawford.benjamin15@...> --- recipes-kernel/linux/linux-yocto/docker.cfg | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/recipes-kernel/linux/linux-yocto/docker.cfg b/recipes-kernel/linux/linux-yocto/docker.cfg index 79012a6..9378266 100644 --- a/recipes-kernel/linux/linux-yocto/docker.cfg +++ b/recipes-kernel/linux/linux-yocto/docker.cfg @@ -5,7 +5,9 @@ CONFIG_NF_CONNTRACK=y CONFIG_DM_THIN_PROVISIONING=m - +CONFIG_NETFILTER_NETLINK=m +CONFIG_NT_CT_NETLINK=m +CONFIG_NETFILTER_XT_MATCH_CONNTRACK=m CONFIG_IP_NF_NAT=m CONFIG_IP_NF_TARGET_MASQUERADE=m -- 2.30.1 (Apple Git-130)
|
|
Re: Error building Xen device tree for qemuarm64
Bertrand Marquis
Hi Bruce,
On 3 Nov 2021, at 14:08, Bruce Ashfield via lists.yoctoproject.org <bruce.ashfield=gmail.com@...> wrote:Thanks a lot. Yes I think this is ok for now. If you push any fix do not hesitate to ping us to validate them. Cheers Bertrand
|
|
Re: [PATCH] xen,xen-tools: update xen to new releases
Bruce Ashfield
On Thu, Oct 28, 2021 at 3:39 PM Bruce Ashfield via lists.yoctoproject.org <bruce.ashfield=gmail.com@...> wrote:
I've gone ahead and merged these to master and honister .. but that being said, I'll revert or tweak as necessary based on what Christopher suggests. Master still has the libfdt issue, I still need to sort out what is wrong with python 3.10 and swig. Bruce
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: Error building Xen device tree for qemuarm64
Bruce Ashfield
On Wed, Nov 3, 2021 at 8:11 AM Bertrand Marquis <Bertrand.Marquis@...> wrote: Hi Bruce, Normally I might not bring back version bumps like these, but since most of the heavy Xen users are asking for the change .. I've gone ahead and pulled it back. Note: I've left ARM64 broken on master, due to the libfdt issue, since that still requires more effort. Bruce
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [PATCH] k3s: Add additional required kernel modules
Bruce Ashfield
On Wed, Nov 3, 2021 at 9:05 AM Richard Neill <richard.neill@...> wrote:
It's just configuration tweak, so I can do that. I have some other k3s changes in flight (version bumps, packaging and unifying of configuration into the main config repository), but I've added these and expect to push them in a few days. Bruce
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [PATCH] global: convert github SRC_URIs to use https protocol
Bruce Ashfield
On Wed, Nov 3, 2021 at 4:51 AM Martin Jansa <Martin.Jansa@...> wrote: * apply the same also for recipes using PKG_NAME starting Thans Martin, I've added these to the patches that I did, and pushed them to master. I've also pulled variants of them back to honster and dunfell (so anyone using those branches, let me know if there are other missing recipes, or if something breaks). Bruce Signed-off-by: Martin Jansa <Martin.Jansa@...> - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [PATCH] lxc: update to 4.0.11
Bruce Ashfield
On Mon, Nov 1, 2021 at 6:13 AM Xu, Yanfei <yanfei.xu@...> wrote: update to 4.0.11 Thanks for the patch! (and the explanation above). I've merged this to master and honister. Bruce Signed-off-by: Yanfei Xu <yanfei.xu@...> - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [PATCH] k3s: Add additional required kernel modules
Richard Neill
Hi,
If possible, could this patch also be added to the honister branch?
Thanks,
Richard
From: meta-virtualization@... <meta-virtualization@...> on behalf of Richard Neill via lists.yoctoproject.org
<richard.neill=arm.com@...>
Sent: Wednesday, November 3, 2021 1:01 PM To: meta-virtualization@... <meta-virtualization@...> Cc: nd <nd@...> Subject: [meta-virtualization] [PATCH] k3s: Add additional required kernel modules Adds the following kernel modules for k3s:
* xt-physdev * xt-nflog * xt-limit * nfnetlink-log Without them, the k3s network-policy-controller reports failures in the log related to iptables-restore. Signed-off-by: Richard Neill <richard.neill@...> --- recipes-containers/k3s/k3s_git.bb | 4 ++++ recipes-kernel/linux/linux-yocto/kubernetes.cfg | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/recipes-containers/k3s/k3s_git.bb b/recipes-containers/k3s/k3s_git.bb index e341ad7..4e1cf64 100644 --- a/recipes-containers/k3s/k3s_git.bb +++ b/recipes-containers/k3s/k3s_git.bb @@ -96,6 +96,10 @@ RRECOMMENDS:${PN} = "\ kernel-module-vxlan \ kernel-module-xt-masquerade \ kernel-module-xt-statistic \ + kernel-module-xt-physdev \ + kernel-module-xt-nflog \ + kernel-module-xt-limit \ + kernel-module-nfnetlink-log \ " RCONFLICTS:${PN} = "kubectl" diff --git a/recipes-kernel/linux/linux-yocto/kubernetes.cfg b/recipes-kernel/linux/linux-yocto/kubernetes.cfg index 2d4e1f5..84fa8c5 100644 --- a/recipes-kernel/linux/linux-yocto/kubernetes.cfg +++ b/recipes-kernel/linux/linux-yocto/kubernetes.cfg @@ -13,9 +13,14 @@ CONFIG_IP_VS_NFCT=y CONFIG_IP_VS_PROTO_TCP=y CONFIG_IP_VS_PROTO_UDP=y CONFIG_IP_VS_RR=m +CONFIG_NETFILTER_NETLINK_LOG=m +CONFIG_NETFILTER_XT_CONNMARK=m CONFIG_NETFILTER_XT_MATCH_COMMENT=m +CONFIG_NETFILTER_XT_MATCH_LIMIT=m CONFIG_NETFILTER_XT_MATCH_MARK=m -CONFIG_NETFILTER_XT_CONNMARK=m +CONFIG_NETFILTER_XT_MATCH_PHYSDEV=m +CONFIG_NETFILTER_XT_TARGET_NFLOG=m +CONFIG_NETFILTER_XT_TARGET_REDIRECT=m CONFIG_NAMESPACES=y CONFIG_NET_NS=y CONFIG_PID_NS=y @@ -32,4 +37,3 @@ CONFIG_MEMCG=y CONFIG_INET=y CONFIG_EXT4_FS=y CONFIG_PROC_FS=y -CONFIG_NETFILTER_XT_TARGET_REDIRECT=m -- 2.25.1
|
|
[PATCH] k3s: Add additional required kernel modules
Richard Neill
Adds the following kernel modules for k3s:
* xt-physdev * xt-nflog * xt-limit * nfnetlink-log Without them, the k3s network-policy-controller reports failures in the l= og related to iptables-restore. Signed-off-by: Richard Neill <richard.neill@...> --- recipes-containers/k3s/k3s_git.bb | 4 ++++ recipes-kernel/linux/linux-yocto/kubernetes.cfg | 8 ++++++-- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/recipes-containers/k3s/k3s_git.bb b/recipes-containers/k3s/k= 3s_git.bb index e341ad7..4e1cf64 100644 --- a/recipes-containers/k3s/k3s_git.bb +++ b/recipes-containers/k3s/k3s_git.bb @@ -96,6 +96,10 @@ RRECOMMENDS:${PN} =3D "\ kernel-module-vxlan \ kernel-module-xt-masquerade \ kernel-module-xt-statistic \ + kernel-module-xt-physdev \ + kernel-module-xt-nflog \ + kernel-module-xt-limit \ + kernel-module-nfnetlink-log \ " RCONFLICTS:${PN} =3D "kubectl" diff --git a/recipes-kernel/linux/linux-yocto/kubernetes.cfg b/recipes-ke= rnel/linux/linux-yocto/kubernetes.cfg index 2d4e1f5..84fa8c5 100644 --- a/recipes-kernel/linux/linux-yocto/kubernetes.cfg +++ b/recipes-kernel/linux/linux-yocto/kubernetes.cfg @@ -13,9 +13,14 @@ CONFIG_IP_VS_NFCT=3Dy CONFIG_IP_VS_PROTO_TCP=3Dy CONFIG_IP_VS_PROTO_UDP=3Dy CONFIG_IP_VS_RR=3Dm +CONFIG_NETFILTER_NETLINK_LOG=3Dm +CONFIG_NETFILTER_XT_CONNMARK=3Dm CONFIG_NETFILTER_XT_MATCH_COMMENT=3Dm +CONFIG_NETFILTER_XT_MATCH_LIMIT=3Dm CONFIG_NETFILTER_XT_MATCH_MARK=3Dm -CONFIG_NETFILTER_XT_CONNMARK=3Dm +CONFIG_NETFILTER_XT_MATCH_PHYSDEV=3Dm +CONFIG_NETFILTER_XT_TARGET_NFLOG=3Dm +CONFIG_NETFILTER_XT_TARGET_REDIRECT=3Dm CONFIG_NAMESPACES=3Dy CONFIG_NET_NS=3Dy CONFIG_PID_NS=3Dy @@ -32,4 +37,3 @@ CONFIG_MEMCG=3Dy CONFIG_INET=3Dy CONFIG_EXT4_FS=3Dy CONFIG_PROC_FS=3Dy -CONFIG_NETFILTER_XT_TARGET_REDIRECT=3Dm -- 2.25.1
|
|
Re: Error building Xen device tree for qemuarm64
Bertrand Marquis
Hi Bruce,
On 26 Oct 2021, at 22:27, Bruce Ashfield <bruce.ashfield@...> wrote: Could this be also considered for honister branch ? Regards Bertrand
|
|
[PATCH] global: convert github SRC_URIs to use https protocol
Martin Jansa
* apply the same also for recipes using PKG_NAME starting
with github.com which the conversion script doesn't update automatically Signed-off-by: Martin Jansa <Martin.Jansa@...> --- recipes-containers/go-digest/go-digest_git.bb | 2 +- recipes-containers/go-errors/go-errors_git.bb | 2 +- recipes-containers/go-spf13-cobra/spf13-cobra_git.bb | 2 +- recipes-containers/go-spf13-pflag/spf13-pflag_git.bb | 2 +- recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb | 2 +- recipes-devtools/go/compose-file_git.bb | 2 +- recipes-devtools/go/go-capability_git.bb | 2 +- recipes-devtools/go/go-cli_git.bb | 2 +- recipes-devtools/go/go-connections_git.bb | 2 +- recipes-devtools/go/go-context_git.bb | 2 +- recipes-devtools/go/go-dbus_git.bb | 2 +- recipes-devtools/go/go-fsnotify_git.bb | 2 +- recipes-devtools/go/go-libtrust_git.bb | 2 +- recipes-devtools/go/go-logrus_git.bb | 2 +- recipes-devtools/go/go-metalinter_git.bb | 2 +- recipes-devtools/go/go-mux_git.bb | 2 +- recipes-devtools/go/go-patricia_git.bb | 2 +- recipes-devtools/go/go-pty_git.bb | 2 +- recipes-devtools/go/notary_git.bb | 2 +- 19 files changed, 19 insertions(+), 19 deletions(-) diff --git a/recipes-containers/go-digest/go-digest_git.bb b/recipes-containers/go-digest/go-digest_git.bb index 3966fac..c06a142 100644 --- a/recipes-containers/go-digest/go-digest_git.bb +++ b/recipes-containers/go-digest/go-digest_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE.code;md5=9cd86830b557232ce55e SRCNAME = "go-digest" PKG_NAME = "github.com/opencontainers/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master" +SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" SRCREV = "b6234c321f263c503268e3b205f3d9755f9d14ed" PV = "v1.0.0-rc0+git${SRCPV}" diff --git a/recipes-containers/go-errors/go-errors_git.bb b/recipes-containers/go-errors/go-errors_git.bb index d7b3287..f1d7ef3 100644 --- a/recipes-containers/go-errors/go-errors_git.bb +++ b/recipes-containers/go-errors/go-errors_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=6fe682a02df52c6653f33bd0f SRCNAME = "errors" PKG_NAME = "github.com/pkg/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master" +SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" SRCREV = "5dd12d0cfe7f152f80558d591504ce685299311e" PV = "v0.8.1+git${SRCPV}" diff --git a/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb b/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb index 697ba4e..b272f16 100644 --- a/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb +++ b/recipes-containers/go-spf13-cobra/spf13-cobra_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE.txt;md5=920d76114a32b0fb75b3f SRCNAME = "cobra" PKG_NAME = "github.com/spf13/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master" +SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" SRCREV = "b5d8e8f46a2f829f755b6e33b454e25c61c935e1" PV = "v0.0.1+git${SRCPV}" diff --git a/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb b/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb index c4c374e..ea63029 100644 --- a/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb +++ b/recipes-containers/go-spf13-pflag/spf13-pflag_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=1e8b7dc8b906737639131047a SRCNAME = "pflag" PKG_NAME = "github.com/spf13/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master" +SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" SRCREV = "d5e0c0615acee7028e1e2740a11102313be88de1" PV = "v1.0.5+git${SRCPV}" diff --git a/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb b/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb index d30868c..64354f9 100644 --- a/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb +++ b/recipes-containers/oci-runtime-spec/oci-runtime-spec_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=b355a61a394a504dacde901c9 SRCNAME = "runtime-spec" PKG_NAME = "github.com/opencontainers/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master" +SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" SRCREV = "ab23082b188344f6fbb63a441ea00ffc2852d06d" PV = "v1.0.2+git${SRCPV}" diff --git a/recipes-devtools/go/compose-file_git.bb b/recipes-devtools/go/compose-file_git.bb index 1571265..c33a7ac 100644 --- a/recipes-devtools/go/compose-file_git.bb +++ b/recipes-devtools/go/compose-file_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=9cd86830b557232ce55e2a6b4 SRCNAME = "compose-file" PKG_NAME = "github.com/aanand/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master" +SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" SRCREV = "a3e58764f50597b6217fec07e9bff7225c4a1719" PV = "3.0+git${SRCPV}" diff --git a/recipes-devtools/go/go-capability_git.bb b/recipes-devtools/go/go-capability_git.bb index 5c180e7..7e5ab11 100644 --- a/recipes-devtools/go/go-capability_git.bb +++ b/recipes-devtools/go/go-capability_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=a7304f5073e7be4ba7bffabbf9f2bbca" SRCNAME = "gocapability" PKG_NAME = "github.com/syndtr/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;branch=master" +SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" SRCREV = "2c00daeb6c3b45114c80ac44119e7b8801fdd852" PV = "0.0+git${SRCPV}" diff --git a/recipes-devtools/go/go-cli_git.bb b/recipes-devtools/go/go-cli_git.bb index 7db5fc5..ae67f8e 100644 --- a/recipes-devtools/go/go-cli_git.bb +++ b/recipes-devtools/go/go-cli_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=ed9b539ed65d73926f30ff1f1587dc44" SRCNAME = "cli" PKG_NAME = "github.com/codegangsta/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;branch=master" +SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" SRCREV = "27ecc97192df1bf053a22b04463f2b51b8b8373e" PV = "1.1.0+git${SRCPV}" diff --git a/recipes-devtools/go/go-connections_git.bb b/recipes-devtools/go/go-connections_git.bb index 1bf6e94..ebfdb9f 100644 --- a/recipes-devtools/go/go-connections_git.bb +++ b/recipes-devtools/go/go-connections_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=04424bc6f5a5be60691b9824d SRCNAME = "go-connections" PKG_NAME = "github.com/docker/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master" +SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" SRCREV = "4ccf312bf1d35e5dbda654e57a9be4c3f3cd0366" PV = "0.2.1+git${SRCPV}" diff --git a/recipes-devtools/go/go-context_git.bb b/recipes-devtools/go/go-context_git.bb index ba0368b..37f39b3 100644 --- a/recipes-devtools/go/go-context_git.bb +++ b/recipes-devtools/go/go-context_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c50f6bd9c1e15ed0bad3bea18e3c1b7f" SRCNAME = "context" PKG_NAME = "github.com/gorilla/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;branch=master" +SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" SRCREV = "14f550f51af52180c2eefed15e5fd18d63c0a64a" diff --git a/recipes-devtools/go/go-dbus_git.bb b/recipes-devtools/go/go-dbus_git.bb index 39b14a5..4bf44d6 100644 --- a/recipes-devtools/go/go-dbus_git.bb +++ b/recipes-devtools/go/go-dbus_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=09042bd5c6c96a2b9e45ddf1bc517eed" SRCNAME = "dbus" PKG_NAME = "github.com/godbus/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;branch=master" +SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" SRCREV = "5f6efc7ef2759c81b7ba876593971bfce311eab3" PV = "4.0.0+git${SRCPV}" diff --git a/recipes-devtools/go/go-fsnotify_git.bb b/recipes-devtools/go/go-fsnotify_git.bb index 2ae27b1..8aa1c76 100644 --- a/recipes-devtools/go/go-fsnotify_git.bb +++ b/recipes-devtools/go/go-fsnotify_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c38914c9a7ab03bb2b96d4baaee10769" SRCNAME = "fsnotify" PKG_NAME = "github.com/fsnotify/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;branch=master" +SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" SRCREV = "836bfd95fecc0f1511dd66bdbf2b5b61ab8b00b6" PV = "1.2.11+git${SRCPV}" diff --git a/recipes-devtools/go/go-libtrust_git.bb b/recipes-devtools/go/go-libtrust_git.bb index 404baf5..e2a28ec 100644 --- a/recipes-devtools/go/go-libtrust_git.bb +++ b/recipes-devtools/go/go-libtrust_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=435b266b3899aa8a959f17d41c56def8" SRCNAME = "libtrust" PKG_NAME = "github.com/docker/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;branch=master" +SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" SRCREV = "9cbd2a1374f46905c68a4eb3694a130610adc62a" PV = "0.0+git${SRCPV}" diff --git a/recipes-devtools/go/go-logrus_git.bb b/recipes-devtools/go/go-logrus_git.bb index b54b32b..2c59d34 100644 --- a/recipes-devtools/go/go-logrus_git.bb +++ b/recipes-devtools/go/go-logrus_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=8dadfef729c08ec4e631c4f6fc5d43a0" SRCNAME = "logrus" PKG_NAME = "github.com/Sirupsen/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;branch=master" +SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" SRCREV = "d26492970760ca5d33129d2d799e34be5c4782eb" PV = "0.11.0+git${SRCPV}" diff --git a/recipes-devtools/go/go-metalinter_git.bb b/recipes-devtools/go/go-metalinter_git.bb index 3bef3b5..3dda45c 100644 --- a/recipes-devtools/go/go-metalinter_git.bb +++ b/recipes-devtools/go/go-metalinter_git.bb @@ -9,7 +9,7 @@ BBCLASSEXTEND = "native" SRCNAME = "gometalinter" PKG_NAME = "github.com/alecthomas/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;branch=master" +SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" SRCREV = "e8d801238da6f0dfd14078d68f9b53fa50a7eeb5" PV = "0.0+git${SRCPV}" diff --git a/recipes-devtools/go/go-mux_git.bb b/recipes-devtools/go/go-mux_git.bb index c0db050..3f939f4 100644 --- a/recipes-devtools/go/go-mux_git.bb +++ b/recipes-devtools/go/go-mux_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=c50f6bd9c1e15ed0bad3bea18e3c1b7f" SRCNAME = "mux" PKG_NAME = "github.com/gorilla/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;branch=master" +SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" SRCREV = "136d54f81f00414c45c3c68dd47e98cc97519c5e" diff --git a/recipes-devtools/go/go-patricia_git.bb b/recipes-devtools/go/go-patricia_git.bb index 1098560..4c29b57 100644 --- a/recipes-devtools/go/go-patricia_git.bb +++ b/recipes-devtools/go/go-patricia_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=9949b99212edd6b1e24ce702376c3baf" SRCNAME = "go-patricia" PKG_NAME = "github.com/tchap/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;branch=master" +SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" SRCREV = "666120de432aea38ab06bd5c818f04f4129882c9" PV = "2.2.6+git${SRCPV}" diff --git a/recipes-devtools/go/go-pty_git.bb b/recipes-devtools/go/go-pty_git.bb index 0baa70d..132e82d 100644 --- a/recipes-devtools/go/go-pty_git.bb +++ b/recipes-devtools/go/go-pty_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://License;md5=93958070863d769117fa33b129020050" SRCNAME = "pty" PKG_NAME = "github.com/creack/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;branch=master" +SRC_URI = "git://${PKG_NAME}.git;branch=master;protocol=https" SRCREV = "05017fcccf23c823bfdea560dcc958a136e54fb7" diff --git a/recipes-devtools/go/notary_git.bb b/recipes-devtools/go/notary_git.bb index 3e908a0..972da5e 100644 --- a/recipes-devtools/go/notary_git.bb +++ b/recipes-devtools/go/notary_git.bb @@ -7,7 +7,7 @@ LIC_FILES_CHKSUM = "file://src/${PKG_NAME}/LICENSE;md5=3596b980bb036e0875174ed15 SRCNAME = "notary" PKG_NAME = "github.com/docker/${SRCNAME}" -SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master" +SRC_URI = "git://${PKG_NAME}.git;destsuffix=git/src/${PKG_NAME};branch=master;protocol=https" SRCREV = "d6e1431feb32348e0650bf7551ac5cffd01d857b" PV = "0.6.1+git${SRCPV}" -- 2.32.0
|
|
Re: [PATCH] lxc: update to 4.0.11
Xu, Yanfei
On 11/1/21 6:13 PM, Xu, Yanfei wrote:
diff --git a/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch b/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patchThe reason about dropping this patch refer to the commit of lxc: commit 82b850ddaa21e0f4d713e764bd57d3d9235fd319 Author: Christian Brauner <christian.brauner@...> Date: Mon Aug 16 17:40:45 2021 +0200 tests: use busybox in lxc-test-no-new-privs Signed-off-by: Christian Brauner <christian.brauner@...> diff --git a/src/tests/lxc-test-no-new-privs b/src/tests/lxc-test-no-new-privs index cfcb43bd6..64988a011 100755 --- a/src/tests/lxc-test-no-new-privs +++ b/src/tests/lxc-test-no-new-privs @@ -44,63 +44,26 @@ lxc.net.0.link = lxcbr0 EOF fi -ARCH=i386 -if type dpkg >/dev/null 2>&1; then - ARCH=$(dpkg --print-architecture) -fi - -lxc-create -t download -n c1 -- -d ubuntu -r xenial -a $ARCH +lxc-create -t busybox -n c1 echo "lxc.no_new_privs = 1" >> /var/lib/lxc/c1/config ...... Thanks, Yanfei
|
|
[PATCH] lxc: update to 4.0.11
Xu, Yanfei
update to 4.0.11
1.drop two patches that have been integrated to upstream repo. 2.drop tests-add-no-validate-when-using-download-template.patch because it is no longer appropriate as the "download" has been replaced with "busybox" 3.fix the apply failure of templates-use-curl-instead-of-wget.patch 4.update lxc from 4.0.10 to 4.0.11 Signed-off-by: Yanfei Xu <yanfei.xu@...> --- ...omp_profile_when_compiled_libseccomp.patch | 46 ---------- .../lxc/files/fix_c_command.patch | 36 -------- .../templates-use-curl-instead-of-wget.patch | 23 ++--- ...alidate-when-using-download-template.patch | 85 ------------------- recipes-containers/lxc/lxc_git.bb | 7 +- 5 files changed, 15 insertions(+), 182 deletions(-) delete mode 100644 recipes-containers/lxc/files/enable_seccomp_profile_when_compiled_libseccomp.patch delete mode 100644 recipes-containers/lxc/files/fix_c_command.patch delete mode 100644 recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch diff --git a/recipes-containers/lxc/files/enable_seccomp_profile_when_compiled_libseccomp.patch b/recipes-containers/lxc/files/enable_seccomp_profile_when_compiled_libseccomp.patch deleted file mode 100644 index f0a58139..00000000 --- a/recipes-containers/lxc/files/enable_seccomp_profile_when_compiled_libseccomp.patch +++ /dev/null @@ -1,46 +0,0 @@ -From 3d46e1d1f8e904fddd4fab3e8d0c6cf57d2ddd4e Mon Sep 17 00:00:00 2001 -From: Maximilian Blenk <Maximilian.Blenk@...> -Date: Mon, 23 Aug 2021 22:04:40 +0200 -Subject: [PATCH] config: enable seccomp profile only when compiled with - libseccomp - -Make lxc fail if seccomp.profile is specified but lxc is compiled -without seccomp support. Currently, seccomp.profile is silently ignored -if is specified in such a scenario. This could lead to the false -impression that the seccomp filter is applied while it actually isn't. - -Signed-off-by: Maximilian Blenk <Maximilian.Blenk@...> ---- - src/lxc/confile.c | 8 ++++++++ - 1 file changed, 8 insertions(+) - -Upstream-Status: Submitted [https://github.com/lxc/lxc/pull/3947/commits/3d46e1d1f8e904fddd4fab3e8d0c6cf57d2ddd4e] - -diff --git a/src/lxc/confile.c b/src/lxc/confile.c -index d8b96c6921..1cc8da15f1 100644 ---- a/src/lxc/confile.c -+++ b/src/lxc/confile.c -@@ -1211,7 +1211,11 @@ static int set_config_seccomp_notify_proxy(const char *key, const char *value, - static int set_config_seccomp_profile(const char *key, const char *value, - struct lxc_conf *lxc_conf, void *data) - { -+#ifdef HAVE_SECCOMP - return set_config_path_item(&lxc_conf->seccomp.seccomp, value); -+#else -+ return ret_set_errno(-1, ENOSYS); -+#endif - } - - static int set_config_execute_cmd(const char *key, const char *value, -@@ -4383,7 +4387,11 @@ static int get_config_seccomp_notify_proxy(const char *key, char *retv, int inle - static int get_config_seccomp_profile(const char *key, char *retv, int inlen, - struct lxc_conf *c, void *data) - { -+#ifdef HAVE_SECCOMP - return lxc_get_conf_str(retv, inlen, c->seccomp.seccomp); -+#else -+ return ret_errno(ENOSYS); -+#endif - } - - static int get_config_autodev(const char *key, char *retv, int inlen, diff --git a/recipes-containers/lxc/files/fix_c_command.patch b/recipes-containers/lxc/files/fix_c_command.patch deleted file mode 100644 index 1ed8dafd..00000000 --- a/recipes-containers/lxc/files/fix_c_command.patch +++ /dev/null @@ -1,36 +0,0 @@ -From 9becf309a81806ef08acf9ca99ab95c1bcfa1f65 Mon Sep 17 00:00:00 2001 -From: Maximilian Blenk <Maximilian.Blenk@...> -Date: Mon, 23 Aug 2021 15:39:28 +0200 -Subject: [PATCH] attach: Fix -c command - -Currently, the -c command (to set the selinux context) seems to be -broken because the passed context is ignored and always overwritten by -the context specified in the config file. The intention behind the -c -imho was to be able to manually overwrite this behavior. This patch -ensures that the selinux context will be set if passed via the command -line. - -Signed-off-by: Maximilian Blenk <Maximilian.Blenk@...> ---- - src/lxc/tools/lxc_attach.c | 5 ++++- - 1 file changed, 4 insertions(+), 1 deletion(-) - -Upstream-Status: Backport [https://github.com/lxc/lxc/commit/9becf309a81806ef08acf9ca99ab95c1bcfa1f65.patch] -Comment: No change in any hunk - -diff --git a/src/lxc/tools/lxc_attach.c b/src/lxc/tools/lxc_attach.c -index 0374d980b4..e6b388b20c 100644 ---- a/src/lxc/tools/lxc_attach.c -+++ b/src/lxc/tools/lxc_attach.c -@@ -379,7 +379,10 @@ int main(int argc, char *argv[]) - attach_options.gid = my_args.gid; - - // selinux_context will be NULL if not set -- attach_options.lsm_label = selinux_context; -+ if (selinux_context) { -+ attach_options.attach_flags |= LXC_ATTACH_LSM_LABEL; -+ attach_options.lsm_label = selinux_context; -+ } - - if (command.program) { - ret = c->attach_run_wait(c, &attach_options, command.program, diff --git a/recipes-containers/lxc/files/templates-use-curl-instead-of-wget.patch b/recipes-containers/lxc/files/templates-use-curl-instead-of-wget.patch index 156df82f..4556293a 100644 --- a/recipes-containers/lxc/files/templates-use-curl-instead-of-wget.patch +++ b/recipes-containers/lxc/files/templates-use-curl-instead-of-wget.patch @@ -1,4 +1,4 @@ -From 07890dd8ffdcd08b7be1ddbd9f56ac55482c76bb Mon Sep 17 00:00:00 2001 +From 1db2db7783bd7ec2aa1da86e640019891634c659 Mon Sep 17 00:00:00 2001 From: Joakim Roubert <joakimr@...> Date: Fri, 16 Aug 2019 07:52:48 +0200 Subject: [PATCH] Use curl instead of wget @@ -7,16 +7,16 @@ When curl's MIT license is preferable to wget's GPLv3. Change-Id: I4684ae7569704514fdcc63e0655c556efcaf44f8 Signed-off-by: Joakim Roubert <joakimr@...> - +Signed-off-by: Yanfei Xu <yanfei.xu@...> --- templates/lxc-download.in | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/templates/lxc-download.in b/templates/lxc-download.in -index d7e6128..8a4b567 100644 +index e8570692a..f7291b0cc 100755 --- a/templates/lxc-download.in +++ b/templates/lxc-download.in -@@ -74,9 +74,9 @@ cleanup() { +@@ -75,9 +75,9 @@ cleanup() { fi } @@ -28,18 +28,18 @@ index d7e6128..8a4b567 100644 return 0 fi done -@@ -85,8 +85,8 @@ wget_wrapper() { +@@ -86,8 +86,8 @@ wget_wrapper() { } download_file() { -- if ! wget_wrapper -T 30 -q "https://${DOWNLOAD_SERVER}/$1" -O "$2" >/dev/null 2>&1; then -- if ! wget_wrapper -T 30 -q "http://${DOWNLOAD_SERVER}/$1" -O "$2" >/dev/null 2>&1; then -+ if ! curl_wrapper -m 30 -s "https://${DOWNLOAD_SERVER}/$1" -o "$2" >/dev/null 2>&1; then -+ if ! curl_wrapper -m 30 -s "http://${DOWNLOAD_SERVER}/$1" -o "$2" >/dev/null 2>&1; then +- if ! wget_wrapper --user-agent="lxc/@PACKAGE_VERSION@ compat:${DOWNLOAD_COMPAT_LEVEL}" -T 30 -q "https://${DOWNLOAD_SERVER}/$1" -O "$2" >/dev/null 2>&1; then +- if ! wget_wrapper --user-agent="lxc/@PACKAGE_VERSION@ compat:${DOWNLOAD_COMPAT_LEVEL}" -T 30 -q "http://${DOWNLOAD_SERVER}/$1" -O "$2" >/dev/null 2>&1; then ++ if ! curl_wrapper --user-agent="lxc/@PACKAGE_VERSION@ compat:${DOWNLOAD_COMPAT_LEVEL}" -m 30 -s "https://${DOWNLOAD_SERVER}/$1" -o "$2" >/dev/null 2>&1; then ++ if ! curl_wrapper --user-agent="lxc/@PACKAGE_VERSION@ compat:${DOWNLOAD_COMPAT_LEVEL}" -m 30 -s "http://${DOWNLOAD_SERVER}/$1" -o "$2" >/dev/null 2>&1; then if [ "$3" = "noexit" ]; then return 1 else -@@ -271,7 +271,7 @@ while :; do +@@ -277,7 +277,7 @@ while :; do done # Check for required binaries @@ -48,3 +48,6 @@ index d7e6128..8a4b567 100644 if ! command -V "${bin}" >/dev/null 2>&1; then echo "ERROR: Missing required tool: ${bin}" 1>&2 exit 1 +-- +2.27.0 + diff --git a/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch b/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch deleted file mode 100644 index f335e796..00000000 --- a/recipes-containers/lxc/files/tests-add-no-validate-when-using-download-template.patch +++ /dev/null @@ -1,85 +0,0 @@ -From 1c2506434e744d8c6a86e42c9d8bae4cde7553f6 Mon Sep 17 00:00:00 2001 -From: Mark Asselstine <mark.asselstine@...> -Date: Thu, 31 May 2018 15:14:26 -0400 -Subject: [PATCH] tests: add '--no-validate' when using download template - -We are usually running the ptests with core-image-minimal which has no -mechanism to validate the downloads. Validation isn't really of -interest to this test at any rate so simply add '--no-validate' to -avoid failing due to no GPG validation. - -Signed-off-by: Mark Asselstine <mark.asselstine@...> - ---- - src/tests/lxc-test-apparmor-mount | 2 +- - src/tests/lxc-test-autostart | 2 +- - src/tests/lxc-test-no-new-privs | 2 +- - src/tests/lxc-test-unpriv | 2 +- - src/tests/lxc-test-usernic.in | 2 +- - 5 files changed, 5 insertions(+), 5 deletions(-) - -Index: lxc-4.0.9/src/tests/lxc-test-apparmor-mount -=================================================================== ---- lxc-4.0.9.orig/src/tests/lxc-test-apparmor-mount -+++ lxc-4.0.9/src/tests/lxc-test-apparmor-mount -@@ -170,7 +170,7 @@ - done - fi - --run_cmd lxc-create -t download -n $cname -- -d ubuntu -r $release -a $ARCH -+run_cmd lxc-create -t download -n $cname -- --no-validate -d ubuntu -r $release -a $ARCH - - echo "test default confined container" - run_cmd lxc-start -n $cname -d -lDEBUG -o "$logfile" -Index: lxc-4.0.9/src/tests/lxc-test-autostart -=================================================================== ---- lxc-4.0.9.orig/src/tests/lxc-test-autostart -+++ lxc-4.0.9/src/tests/lxc-test-autostart -@@ -55,7 +55,7 @@ - done - fi - --lxc-create -t download -n $CONTAINER_NAME -B dir -- -d ubuntu -r $release -a $ARCH -+lxc-create -t download -n $CONTAINER_NAME -B dir -- --no-validate -d ubuntu -r $release -a $ARCH - CONTAINER_PATH=$(dirname $(lxc-info -n $CONTAINER_NAME -c lxc.rootfs.path -H) | sed -e 's/dir://') - cp $CONTAINER_PATH/config $CONTAINER_PATH/config.bak - -Index: lxc-4.0.9/src/tests/lxc-test-no-new-privs -=================================================================== ---- lxc-4.0.9.orig/src/tests/lxc-test-no-new-privs -+++ lxc-4.0.9/src/tests/lxc-test-no-new-privs -@@ -49,7 +49,7 @@ - ARCH=$(dpkg --print-architecture) - fi - --lxc-create -t download -n c1 -- -d ubuntu -r xenial -a $ARCH -+lxc-create -t download -n c1 -- --no-validate -d ubuntu -r xenial -a $ARCH - echo "lxc.no_new_privs = 1" >> /var/lib/lxc/c1/config - - lxc-start -n c1 -Index: lxc-4.0.9/src/tests/lxc-test-unpriv -=================================================================== ---- lxc-4.0.9.orig/src/tests/lxc-test-unpriv -+++ lxc-4.0.9/src/tests/lxc-test-unpriv -@@ -178,7 +178,7 @@ - cp -R /var/cache/lxc/download $HDIR/.cache/lxc && \ - chown -R $TUSER: $HDIR/.cache/lxc - --run_cmd lxc-create -t download -n c1 -l trace -o "${UNPRIV_LOG}" -- -d ubuntu -r $release -a $ARCH -+run_cmd lxc-create -t download -n c1 -l trace -o "${UNPRIV_LOG}" -- --no-validate -d ubuntu -r $release -a $ARCH - - # Make sure we can start it - twice - -Index: lxc-4.0.9/src/tests/lxc-test-usernic.in -=================================================================== ---- lxc-4.0.9.orig/src/tests/lxc-test-usernic.in -+++ lxc-4.0.9/src/tests/lxc-test-usernic.in -@@ -147,7 +147,7 @@ - fi - - # Create three containers --run_cmd "lxc-create -t download -n b1 -- -d ubuntu -r $release -a $ARCH" -+run_cmd "lxc-create -t download -n b1 -- --no-validate -d ubuntu -r $release -a $ARCH" - run_cmd "lxc-start -n b1 -d" - p1=$(run_cmd "lxc-info -n b1 -p -H") - diff --git a/recipes-containers/lxc/lxc_git.bb b/recipes-containers/lxc/lxc_git.bb index f5b5128b..ba1cef5a 100644 --- a/recipes-containers/lxc/lxc_git.bb +++ b/recipes-containers/lxc/lxc_git.bb @@ -46,15 +46,12 @@ SRC_URI = "git://github.com/lxc/lxc.git;branch=stable-4.0 \ file://template-make-busybox-template-compatible-with-core-.patch \ file://templates-use-curl-instead-of-wget.patch \ file://tests-our-init-is-not-busybox.patch \ - file://tests-add-no-validate-when-using-download-template.patch \ file://dnsmasq.conf \ file://lxc-net \ - file://enable_seccomp_profile_when_compiled_libseccomp.patch \ - file://fix_c_command.patch \ " -SRCREV = "cec7cb14b2a4367d4cb21a90e1b90d0f98a9d874" -PV = "4.0.10+git${SRCPV}" +SRCREV = "48e079bf318982ae7d5684feeb7358870fa71c10" +PV = "4.0.11+git${SRCPV}" S = "${WORKDIR}/git" -- 2.27.0
|
|
Re: [PATCH 1/2] k3s: Update k3s service configuration
Diego Sueiro
Thanks
Diego Sueiro
From: meta-virtualization@... <meta-virtualization@...> on behalf of Bruce Ashfield via lists.yoctoproject.org
<bruce.ashfield=gmail.com@...>
Sent: 28 October 2021 20:32 To: Bruce Ashfield <bruce.ashfield@...> Cc: Diego Sueiro <Diego.Sueiro@...>; meta-virtualization@... <meta-virtualization@...>; Kamil Dzieżyk <Kamil.Dziezyk@...>; nd <nd@...> Subject: Re: [meta-virtualization] [PATCH 1/2] k3s: Update k3s service configuration On Thu, Oct 28, 2021 at 8:53 AM Bruce Ashfield via
lists.yoctoproject.org <bruce.ashfield=gmail.com@...> wrote:
On Thu, Oct 28, 2021 at 4:36 AM Diego Sueiro <Diego.Sueiro@...> wrote: ... and they are now on honister as well.
Bruce
Bruce - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [m-c-s][hardknott][PATCH] python3-posix-ipc: Add LDSHARED to recipe
Bruce Ashfield
In message: [meta-virtualization][m-c-s][hardknott][PATCH] python3-posix-ipc: Add LDSHARED to recipe
on 25/10/2021 Trevor Gamblin wrote: Doing "import posix_ipc" on hardknott builds gives the following error:Thanks for the fix, most appreciated. This is now merged. Bruce
|
|
Re: [PATCH] xen,xen-tools: update xen to new releases
Bruce Ashfield
Just a status update. I'm still hung up on how python 3.10 is breaking with c compiled extensions (i.e. libfdt), so this will take a bit longer. For now, it isn't something I'm willing to overlook. I'm also going to wait to hear from Christopher on the upgrades. Bruce
On Tue, Oct 26, 2021 at 9:32 AM Edward Pickup <edward.pickup@...> wrote: Update the SHA in recipes for xen and xen-tools to use the latest releases; --
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [PATCH 1/2] k3s: Update k3s service configuration
Bruce Ashfield
On Thu, Oct 28, 2021 at 8:53 AM Bruce Ashfield via lists.yoctoproject.org <bruce.ashfield=gmail.com@...> wrote: On Thu, Oct 28, 2021 at 4:36 AM Diego Sueiro <Diego.Sueiro@...> wrote: ... and they are now on honister as well. Bruce Bruce - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [PATCH] ceph: 15.2.12 -> 15.2.15
Bruce Ashfield
merged to master.
toggle quoted messageShow quoted text
Bruce In message: [meta-virtualization] [PATCH] ceph: 15.2.12 -> 15.2.15 on 22/10/2021 kai wrote:
From: Kai Kang <kai.kang@...>
|
|
Re: [PATCH 1/2] k3s: Update k3s service configuration
Bruce Ashfield
On Thu, Oct 28, 2021 at 4:36 AM Diego Sueiro <Diego.Sueiro@...> wrote:
I've tagged them for backport, I was just busy trying to figure out why python 3.10 is breaking master. I expect to get to them shortly. Bruce If it helps, we can send the patches targeting honister to the mailing list. -- - Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end - "Use the force Harry" - Gandalf, Star Trek II
|
|
Re: [PATCH 1/2] k3s: Update k3s service configuration
Diego Sueiro
Hi Bruce,
Any expectations to have this patch chain backported to honister?
If it helps, we can send the patches targeting honister to the mailing list.
Regards,
Diego Sueiro
From: meta-virtualization@... <meta-virtualization@...> on behalf of Kamil Dziezyk via lists.yoctoproject.org
<kamil.dziezyk=arm.com@...>
Sent: 22 October 2021 08:37 To: meta-virtualization@... <meta-virtualization@...> Subject: Re: [meta-virtualization] [PATCH 1/2] k3s: Update k3s service configuration Hello Bruce, Can you backport these two k3s patches to honister branch? Kamil
|
|