Skip to contentSkip to conversation

containerd: fix HOMEPAGE

PATCH In review [email protected] 2 participants 5 messages Jun 26, 2023 – Jun 27, 2023 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

PATCH 1/2 containerd: fix HOMEPAGE

From: Chen Qi <[email protected]>

The previous HOMEPAGE has been archived. Use the active one.

---
 recipes-containers/containerd/containerd-opencontainers_git.bb | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
recipes-containers/containerd/containerd-opencontainers_git.bb +1 -1
index beb65db..c804caa 100644
@@ -1,4 +1,4 @@
-HOMEPAGE = "https://github.com/docker/containerd"
+HOMEPAGE = "https://github.com/containerd/containerd"
 SUMMARY = "containerd is a daemon to control runC"
 DESCRIPTION = "containerd is a daemon to control runC, built for performance and density. \
                containerd leverages runC's advanced features such as seccomp and user namespace \
Signature · 1 line
2.34.1
#1 lore raw

PATCH 2/2 meta-virt: rename containerd-opencontainers to containerd

From: Chen Qi <[email protected]>

We had two containerd recipes, containerd-opencontainers and containerd-docker. But now we have only one containerd recipe. We should just use the name 'containerd'.

The previous CVE_PRODUCT setting in containerd-opencontainers is deleted, as it's no longer needed.

The 'containerd-opencontainers' is added in PROVIDES and RPROVIDES for backward compatibility.

---
 conf/layer.conf                                             | 2 +-
 ...kefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch | 0
 .../0001-build-don-t-use-gcflags-to-define-trimpath.patch   | 0
 .../{containerd-opencontainers_git.bb => containerd_git.bb} | 6 ++----
 4 files changed, 3 insertions(+), 5 deletions(-)
 rename recipes-containers/containerd/{containerd-opencontainers => containerd}/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch (100%)
 rename recipes-containers/containerd/{containerd-opencontainers => containerd}/0001-build-don-t-use-gcflags-to-define-trimpath.patch (100%)
 rename recipes-containers/containerd/{containerd-opencontainers_git.bb => containerd_git.bb} (96%)
conf/layer.conf +1 -1
index 9ff61f1..cbd75f5 100644
@@ -40,7 +40,7 @@ LAYERRECOMMENDS_virtualization-layer = " \
 require conf/distro/include/virt_security_flags.inc
 
 PREFERRED_PROVIDER_virtual/runc ?= "runc-opencontainers"
-PREFERRED_PROVIDER_virtual/containerd ?= "containerd-opencontainers"
+PREFERRED_PROVIDER_virtual/containerd ?= "containerd"
 PREFERRED_PROVIDER_virtual/docker ?= "docker-moby"
 
 # Sanity check for meta-virtualization layer.
recipes-containers/containerd/containerd/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch renamed from recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch +0 -0
similarity index 100%
rename from recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch
rename to recipes-containers/containerd/containerd/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch
recipes-containers/containerd/containerd/0001-build-don-t-use-gcflags-to-define-trimpath.patch renamed from recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch +0 -0
similarity index 100%
rename from recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch
rename to recipes-containers/containerd/containerd/0001-build-don-t-use-gcflags-to-define-trimpath.patch
recipes-containers/containerd/containerd_git.bb renamed from recipes-containers/containerd/containerd-opencontainers_git.bb +2 -4
similarity index 96%
rename from recipes-containers/containerd/containerd-opencontainers_git.bb
rename to recipes-containers/containerd/containerd_git.bb
index c804caa..ab41a6c 100644
@@ -20,8 +20,8 @@ CVE_VERSION = "v1.7.1"
 
 # EXTRA_OEMAKE += "GODEBUG=1"
 
-PROVIDES += "virtual/containerd"
-RPROVIDES:${PN} = "virtual-containerd"
+PROVIDES += "virtual/containerd containerd-opencontainers"
+RPROVIDES:${PN} = "virtual-containerd containerd-opencontainers"
 
 S = "${WORKDIR}/git/src/github.com/containerd/containerd"
 
@@ -99,5 +99,3 @@ INSANE_SKIP:${PN} += "ldflags already-stripped"
 COMPATIBLE_HOST = "^(?!(qemu)?mips).*"
 
 RDEPENDS:${BPN} += " ${VIRTUAL-RUNTIME_container_runtime}"
-
-CVE_PRODUCT = "containerd"
Signature · 1 line
2.34.1
#2 lore raw

Re: [meta-virtualization][PATCH 2/2] meta-virt: rename containerd-opencontainers to containerd

Quoted 6 lines · Chen Qi via lists.yoctoproject.org

From: Chen Qi <[email protected]>

We had two containerd recipes, containerd-opencontainers and containerd-docker. But now we have only one containerd recipe. We should just use the name 'containerd'.

We could, but there's also no pressing need to change it (otherwise, I would have).

I'll leave this as-is, since there are actually some layers with includes that I don't feel the need to break at the moment.

Bruce

Quoted 75 lines

The previous CVE_PRODUCT setting in containerd-opencontainers is deleted, as it's no longer needed.

The 'containerd-opencontainers' is added in PROVIDES and RPROVIDES for backward compatibility.

---
 conf/layer.conf                                             | 2 +-
 ...kefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch | 0
 .../0001-build-don-t-use-gcflags-to-define-trimpath.patch   | 0
 .../{containerd-opencontainers_git.bb => containerd_git.bb} | 6 ++----
 4 files changed, 3 insertions(+), 5 deletions(-)
 rename recipes-containers/containerd/{containerd-opencontainers => containerd}/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch (100%)
 rename recipes-containers/containerd/{containerd-opencontainers => containerd}/0001-build-don-t-use-gcflags-to-define-trimpath.patch (100%)
 rename recipes-containers/containerd/{containerd-opencontainers_git.bb => containerd_git.bb} (96%)
conf/layer.conf +1 -1
index 9ff61f1..cbd75f5 100644
@@ -40,7 +40,7 @@ LAYERRECOMMENDS_virtualization-layer = " \
 require conf/distro/include/virt_security_flags.inc
 
 PREFERRED_PROVIDER_virtual/runc ?= "runc-opencontainers"
-PREFERRED_PROVIDER_virtual/containerd ?= "containerd-opencontainers"
+PREFERRED_PROVIDER_virtual/containerd ?= "containerd"
 PREFERRED_PROVIDER_virtual/docker ?= "docker-moby"
 
 # Sanity check for meta-virtualization layer.
recipes-containers/containerd/containerd/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch renamed from recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch +0 -0
similarity index 100%
rename from recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch
rename to recipes-containers/containerd/containerd/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch
recipes-containers/containerd/containerd/0001-build-don-t-use-gcflags-to-define-trimpath.patch renamed from recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch +0 -0
similarity index 100%
rename from recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch
rename to recipes-containers/containerd/containerd/0001-build-don-t-use-gcflags-to-define-trimpath.patch
recipes-containers/containerd/containerd_git.bb renamed from recipes-containers/containerd/containerd-opencontainers_git.bb +2 -5
similarity index 96%
rename from recipes-containers/containerd/containerd-opencontainers_git.bb
rename to recipes-containers/containerd/containerd_git.bb
index c804caa..ab41a6c 100644
@@ -20,8 +20,8 @@ CVE_VERSION = "v1.7.1"
 
 # EXTRA_OEMAKE += "GODEBUG=1"
 
-PROVIDES += "virtual/containerd"
-RPROVIDES:${PN} = "virtual-containerd"
+PROVIDES += "virtual/containerd containerd-opencontainers"
+RPROVIDES:${PN} = "virtual-containerd containerd-opencontainers"
 
 S = "${WORKDIR}/git/src/github.com/containerd/containerd"
 
@@ -99,5 +99,3 @@ INSANE_SKIP:${PN} += "ldflags already-stripped"
 COMPATIBLE_HOST = "^(?!(qemu)?mips).*"
 
 RDEPENDS:${BPN} += " ${VIRTUAL-RUNTIME_container_runtime}"
-
-CVE_PRODUCT = "containerd"
--

2.34.1

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8106): https://lists.yoctoproject.org/g/meta-virtualization/message/8106
Mute This Topic: https://lists.yoctoproject.org/mt/99782881/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/unsub [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

A message that is not in the archive (sent off-list or not yet received): [email protected]

#4 lore raw

Re: [meta-virtualization][PATCH 2/2] meta-virt: rename containerd-opencontainers to containerd

Quoted 10 lines · Bruce Ashfield via lists.yoctoproject.org
Quoted 6 lines · Chen Qi via lists.yoctoproject.org

From: Chen Qi <[email protected]>

We had two containerd recipes, containerd-opencontainers and containerd-docker. But now we have only one containerd recipe. We should just use the name 'containerd'.

Quoted 6 lines

We could, but there's also no pressing need to change it (otherwise, I would have).

I'll leave this as-is, since there are actually some layers with includes that I don't feel the need to break at the moment.

I should clarify that this is something I'll monitor and queue for the next release, once I've confirmed that migration has been done.

Bruce

Quoted 86 lines

Bruce

Quoted 64 lines

The previous CVE_PRODUCT setting in containerd-opencontainers is deleted, as it's no longer needed.

The 'containerd-opencontainers' is added in PROVIDES and RPROVIDES for backward compatibility.

---
 conf/layer.conf                                             | 2 +-
 ...kefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch | 0
 .../0001-build-don-t-use-gcflags-to-define-trimpath.patch   | 0
 .../{containerd-opencontainers_git.bb => containerd_git.bb} | 6 ++----
 4 files changed, 3 insertions(+), 5 deletions(-)
 rename recipes-containers/containerd/{containerd-opencontainers => containerd}/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch (100%)
 rename recipes-containers/containerd/{containerd-opencontainers => containerd}/0001-build-don-t-use-gcflags-to-define-trimpath.patch (100%)
 rename recipes-containers/containerd/{containerd-opencontainers_git.bb => containerd_git.bb} (96%)
conf/layer.conf +1 -1
index 9ff61f1..cbd75f5 100644
@@ -40,7 +40,7 @@ LAYERRECOMMENDS_virtualization-layer = " \
 require conf/distro/include/virt_security_flags.inc
 
 PREFERRED_PROVIDER_virtual/runc ?= "runc-opencontainers"
-PREFERRED_PROVIDER_virtual/containerd ?= "containerd-opencontainers"
+PREFERRED_PROVIDER_virtual/containerd ?= "containerd"
 PREFERRED_PROVIDER_virtual/docker ?= "docker-moby"
 
 # Sanity check for meta-virtualization layer.
recipes-containers/containerd/containerd/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch renamed from recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch +0 -0
similarity index 100%
rename from recipes-containers/containerd/containerd-opencontainers/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch
rename to recipes-containers/containerd/containerd/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch
recipes-containers/containerd/containerd/0001-build-don-t-use-gcflags-to-define-trimpath.patch renamed from recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch +0 -0
similarity index 100%
rename from recipes-containers/containerd/containerd-opencontainers/0001-build-don-t-use-gcflags-to-define-trimpath.patch
rename to recipes-containers/containerd/containerd/0001-build-don-t-use-gcflags-to-define-trimpath.patch
recipes-containers/containerd/containerd_git.bb renamed from recipes-containers/containerd/containerd-opencontainers_git.bb +2 -5
similarity index 96%
rename from recipes-containers/containerd/containerd-opencontainers_git.bb
rename to recipes-containers/containerd/containerd_git.bb
index c804caa..ab41a6c 100644
@@ -20,8 +20,8 @@ CVE_VERSION = "v1.7.1"
 
 # EXTRA_OEMAKE += "GODEBUG=1"
 
-PROVIDES += "virtual/containerd"
-RPROVIDES:${PN} = "virtual-containerd"
+PROVIDES += "virtual/containerd containerd-opencontainers"
+RPROVIDES:${PN} = "virtual-containerd containerd-opencontainers"
 
 S = "${WORKDIR}/git/src/github.com/containerd/containerd"
 
@@ -99,5 +99,3 @@ INSANE_SKIP:${PN} += "ldflags already-stripped"
 COMPATIBLE_HOST = "^(?!(qemu)?mips).*"
 
 RDEPENDS:${BPN} += " ${VIRTUAL-RUNTIME_container_runtime}"
-
-CVE_PRODUCT = "containerd"
--
Quoted 5 lines

2.34.1

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#8107): https://lists.yoctoproject.org/g/meta-virtualization/message/8107
Mute This Topic: https://lists.yoctoproject.org/mt/99782881/1050810
Group Owner: [email protected]
Unsubscribe: https://lists.yoctoproject.org/g/meta-virtualization/leave/6693017/1050810/978058475/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Signature · 3 lines
- Thou shalt not follow the NULL pointer, for chaos and madness await
thee at its end
- "Use the force Harry" - Gandalf, Star Trek II
author
#5 lore raw

RE: [meta-virtualization][PATCH 2/2] meta-virt: rename containerd-opencontainers to containerd

Got it. Thanks.

Regards,
Qi

-----Original Message-----
From: Bruce Ashfield <[email protected]>
Sent: Monday, June 26, 2023 7:58 PM
To: [email protected]
Cc: Chen, Qi <[email protected]>; [email protected]
Subject: Re: [meta-virtualization][PATCH 2/2] meta-virt: rename containerd-opencontainers to containerd

Quoted 10 lines · Bruce Ashfield via lists.yoctoproject.org
Quoted 6 lines · Chen Qi via lists.yoctoproject.org

From: Chen Qi <[email protected]>

We had two containerd recipes, containerd-opencontainers and containerd-docker. But now we have only one containerd recipe. We should just use the name 'containerd'.

Quoted 6 lines

We could, but there's also no pressing need to change it (otherwise, I would have).

I'll leave this as-is, since there are actually some layers with includes that I don't feel the need to break at the moment.

I should clarify that this is something I'll monitor and queue for the next release, once I've confirmed that migration has been done.

Bruce

Quoted 102 lines

Bruce

Quoted 88 lines

The previous CVE_PRODUCT setting in containerd-opencontainers is deleted, as it's no longer needed.

The 'containerd-opencontainers' is added in PROVIDES and RPROVIDES for backward compatibility.

---
 conf/layer.conf                                             | 2 +-
 ...kefile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch | 0
 .../0001-build-don-t-use-gcflags-to-define-trimpath.patch   | 0
 .../{containerd-opencontainers_git.bb => containerd_git.bb} | 6 
++----
 4 files changed, 3 insertions(+), 5 deletions(-)  rename 

recipes-containers/containerd/{containerd-opencontainers => containerd}/0001-Makefile-allow-GO_BUILD_FLAGS-to-be-externally-spec i.patch (100%) rename recipes-containers/containerd/{containerd-opencontainers => containerd}/0001-build-don-t-use-gcflags-to-define-trimpath.patch (100%) rename recipes-containers/containerd/{containerd-opencontainers_git.bb => containerd_git.bb} (96%)

conf/layer.conf index renamed from conf/layer.conf +0 -0

9ff61f1..cbd75f5 100644

conf/layer.conf +0 -0
@@ -40,7 +40,7 @@ LAYERRECOMMENDS_virtualization-layer = " \  

require conf/distro/include/virt_security_flags.inc

PREFERRED_PROVIDER_virtual/runc ?= "runc-opencontainers"

conf/layer.conf +1 -1
-PREFERRED_PROVIDER_virtual/containerd ?= "containerd-opencontainers"
+PREFERRED_PROVIDER_virtual/containerd ?= "containerd"
 PREFERRED_PROVIDER_virtual/docker ?= "docker-moby"
 
 # Sanity check for meta-virtualization layer.
(quoted diff) +0 -0

a/recipes-containers/containerd/containerd-opencontainers/0001-Makef ile-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch b/recipes-containers/containerd/containerd/0001-Makefile-allow-GO_BU ILD_FLAGS-to-be-externally-speci.patch
similarity index 100%
rename from recipes-containers/containerd/containerd-opencontainers/0001-Makefil e-allow-GO_BUILD_FLAGS-to-be-externally-speci.patch rename to recipes-containers/containerd/containerd/0001-Makefile-allow-GO_BUIL D_FLAGS-to-be-externally-speci.patch

(quoted diff) +0 -0

a/recipes-containers/containerd/containerd-opencontainers/0001-build -don-t-use-gcflags-to-define-trimpath.patch b/recipes-containers/containerd/containerd/0001-build-don-t-use-gcfl ags-to-define-trimpath.patch
similarity index 100%
rename from recipes-containers/containerd/containerd-opencontainers/0001-build-d on-t-use-gcflags-to-define-trimpath.patch
rename to recipes-containers/containerd/containerd/0001-build-don-t-use-gcflag s-to-define-trimpath.patch diff --git a/recipes-containers/containerd/containerd-opencontainers_git.bb b/recipes-containers/containerd/containerd_git.bb similarity index 96%
rename from recipes-containers/containerd/containerd-opencontainers_git.bb rename to recipes-containers/containerd/containerd_git.bb index c804caa..ab41a6c 100644

recipes-containers/containerd/containerd_git.bb renamed from recipes-containers/containerd/containerd-opencontainers_git.bb +2 -5
@@ -20,8 +20,8 @@ CVE_VERSION = "v1.7.1"
 
 # EXTRA_OEMAKE += "GODEBUG=1"
 
-PROVIDES += "virtual/containerd"
-RPROVIDES:${PN} = "virtual-containerd"
+PROVIDES += "virtual/containerd containerd-opencontainers"
+RPROVIDES:${PN} = "virtual-containerd containerd-opencontainers"
 
 S = "${WORKDIR}/git/src/github.com/containerd/containerd"
 
@@ -99,5 +99,3 @@ INSANE_SKIP:${PN} += "ldflags already-stripped"
 COMPATIBLE_HOST = "^(?!(qemu)?mips).*"
 
 RDEPENDS:${BPN} += " ${VIRTUAL-RUNTIME_container_runtime}"
-
-CVE_PRODUCT = "containerd"
--
Quoted 5 lines

2.34.1

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II

Quoted 11 lines

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group. View/Reply Online (#8107):
https://lists.yoctoproject.org/g/meta-virtualization/message/8107
Mute This Topic: https://lists.yoctoproject.org/mt/99782881/1050810
Group Owner: [email protected] Unsubscribe:
https://lists.yoctoproject.org/g/meta-virtualization/leave/6693017/105
0810/978058475/xyzzy [[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

--
- Thou shalt not follow the NULL pointer, for chaos and madness await thee at its end
- "Use the force Harry" - Gandalf, Star Trek II