mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-24 17:09:10 -07:00
app-containers/docker: fix cross-compiliation by calling go-module_src_unpack
Extends the change made in d2244d7108 to
apply to the rest of the ebuilds for this package.
Closes: https://bugs.gentoo.org/907639
Signed-off-by: Alexander Barker <alex@1stleg.com>
Part-of: https://github.com/gentoo/gentoo/pull/45502
Closes: https://github.com/gentoo/gentoo/pull/45502
Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
committed by
Sam James
parent
d9e8b6e40b
commit
c4281f3f0b
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -232,6 +232,7 @@ pkg_setup() {
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
go-module_src_unpack
|
||||
cd "${S}"
|
||||
[[ -f go.mod ]] || ln -s vendor.mod go.mod || die
|
||||
[[ -f go.sum ]] || ln -s vendor.sum go.sum || die
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -232,6 +232,7 @@ pkg_setup() {
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
go-module_src_unpack
|
||||
cd "${S}"
|
||||
[[ -f go.mod ]] || ln -s vendor.mod go.mod || die
|
||||
[[ -f go.sum ]] || ln -s vendor.sum go.sum || die
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -232,6 +232,7 @@ pkg_setup() {
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
go-module_src_unpack
|
||||
cd "${S}"
|
||||
[[ -f go.mod ]] || ln -s vendor.mod go.mod || die
|
||||
[[ -f go.sum ]] || ln -s vendor.sum go.sum || die
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -239,6 +239,7 @@ pkg_setup() {
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
go-module_src_unpack
|
||||
cd "${S}"
|
||||
[[ -f go.mod ]] || ln -s vendor.mod go.mod || die
|
||||
[[ -f go.sum ]] || ln -s vendor.sum go.sum || die
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
# Copyright 1999-2025 Gentoo Authors
|
||||
# Copyright 1999-2026 Gentoo Authors
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
|
||||
EAPI=8
|
||||
@@ -239,6 +239,7 @@ pkg_setup() {
|
||||
|
||||
src_unpack() {
|
||||
default
|
||||
go-module_src_unpack
|
||||
cd "${S}"
|
||||
[[ -f go.mod ]] || ln -s vendor.mod go.mod || die
|
||||
[[ -f go.sum ]] || ln -s vendor.sum go.sum || die
|
||||
|
||||
Reference in New Issue
Block a user