commit:     e7fd3a2d1198dd0b9e1a0d42f05f6e01f27da0ff
Author:     Rahil Bhimjiani <me <AT> rahil <DOT> rocks>
AuthorDate: Sat Feb  3 09:14:54 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Feb  3 10:52:20 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e7fd3a2d

app-containers/containers-image: bump to 5.29.2-r1

Apologies from my side, I let the bug slip in

Closes: https://bugs.gentoo.org/show_bug.cgi?id=923700
Signed-off-by: Rahil Bhimjiani <me <AT> rahil.rocks>
Closes: https://github.com/gentoo/gentoo/pull/35166
Signed-off-by: Sam James <sam <AT> gentoo.org>

 ...s-image-5.29.2.ebuild => containers-image-5.29.2-r1.ebuild} |  1 +
 app-containers/containers-image/containers-image-9999.ebuild   |  3 +++
 .../files/prevent-downloading-mods-5.29.2.patch                | 10 ++++++++++
 3 files changed, 14 insertions(+)

diff --git a/app-containers/containers-image/containers-image-5.29.2.ebuild 
b/app-containers/containers-image/containers-image-5.29.2-r1.ebuild
similarity index 94%
rename from app-containers/containers-image/containers-image-5.29.2.ebuild
rename to app-containers/containers-image/containers-image-5.29.2-r1.ebuild
index 0a3bb536ab4f..ddd9efcc26d5 100644
--- a/app-containers/containers-image/containers-image-5.29.2.ebuild
+++ b/app-containers/containers-image/containers-image-5.29.2-r1.ebuild
@@ -23,6 +23,7 @@ RESTRICT='test'
 BDEPEND=">=dev-go/go-md2man-2.0.3"
 PATCHES=(
        "${FILESDIR}"/moving-policy-json-default-yaml.patch
+       "${FILESDIR}"/prevent-downloading-mods-5.29.2.patch
 )
 
 src_compile() {

diff --git a/app-containers/containers-image/containers-image-9999.ebuild 
b/app-containers/containers-image/containers-image-9999.ebuild
index 4fb96c1222c3..2df39141c68d 100644
--- a/app-containers/containers-image/containers-image-9999.ebuild
+++ b/app-containers/containers-image/containers-image-9999.ebuild
@@ -21,6 +21,9 @@ SLOT="0"
 # https://github.com/gentoo/gentoo/pull/35012#discussion_r1473740969
 RESTRICT='test'
 BDEPEND=">=dev-go/go-md2man-2.0.3"
+PATCHES=(
+       "${FILESDIR}"/prevent-downloading-mods-5.29.2.patch
+)
 
 src_compile() {
        emake docs

diff --git 
a/app-containers/containers-image/files/prevent-downloading-mods-5.29.2.patch 
b/app-containers/containers-image/files/prevent-downloading-mods-5.29.2.patch
new file mode 100644
index 000000000000..8d70156bfb6f
--- /dev/null
+++ 
b/app-containers/containers-image/files/prevent-downloading-mods-5.29.2.patch
@@ -0,0 +1,10 @@
+--- a/Makefile
++++ b/Makefile
+@@ -15,7 +15,6 @@
+ BUILDTAGS = btrfs_noversion libdm_no_deferred_remove
+ BUILDFLAGS := -tags "$(BUILDTAGS)"
+ 
+-PACKAGES := $(shell GO111MODULE=on go list $(BUILDFLAGS) ./...)
+ SOURCE_DIRS = $(shell echo $(PACKAGES) | awk 'BEGIN{FS="/"; RS=" "}{print 
$$4}' | uniq)
+ 
+ PREFIX ?= ${DESTDIR}/usr

Reply via email to