summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZac Medico <zmedico@gentoo.org>2021-10-11 22:53:42 -0700
committerZac Medico <zmedico@gentoo.org>2021-10-11 22:53:57 -0700
commit3ea065d5e41b9391d72501db1e56863808de249c (patch)
tree40a6ca7edca10e282f181865a78c73f91cf22437 /sys-cluster
parentsys-cluster/k3s: 1.21.5 bump (diff)
downloadgentoo-3ea065d5e41b9391d72501db1e56863808de249c.tar.gz
gentoo-3ea065d5e41b9391d72501db1e56863808de249c.tar.bz2
gentoo-3ea065d5e41b9391d72501db1e56863808de249c.zip
sys-cluster/k3s: fix ebuild.minorsyn
ebuild.minorsyn 1 sys-cluster/k3s/k3s-1.19.15.ebuild: line 1472: 'sed' call should be moved to src_prepare Package-Manager: Portage-3.0.28, Repoman-3.0.3 Signed-off-by: Zac Medico <zmedico@gentoo.org>
Diffstat (limited to 'sys-cluster')
-rw-r--r--sys-cluster/k3s/k3s-1.19.15.ebuild9
1 files changed, 5 insertions, 4 deletions
diff --git a/sys-cluster/k3s/k3s-1.19.15.ebuild b/sys-cluster/k3s/k3s-1.19.15.ebuild
index 86c414ac83c6..d14cbd88c11f 100644
--- a/sys-cluster/k3s/k3s-1.19.15.ebuild
+++ b/sys-cluster/k3s/k3s-1.19.15.ebuild
@@ -1465,16 +1465,17 @@ src_unpack() {
cp "${DISTDIR}/k3s-cni-plugins-${K3S_CNIPLUGINS_VERSION}.tar.gz" cache/ || die
mv "${WORKDIR}/bin/"* "${S}/bin/" || die
mv "${WORKDIR}/etc" "${S}/etc" || die
+}
+
+src_prepare() {
+ local filename pattern replacement
+ default
local RUNC_DIR=build/src/github.com/opencontainers/runc
mkdir -p "${RUNC_DIR}" || die
tar -x --strip-components=1 -f "${DISTDIR}/k3s-runc-${K3S_RUNC_VERSION}.tar.gz" -C "${RUNC_DIR}" || die
sed -e 's|mod=vendor|mod=readonly|g' -i "${RUNC_DIR}/Makefile" || die
-}
-src_prepare() {
- local filename pattern replacement
- default
# Disable download for files fetched via SRC_URI.
sed -e 's:^curl:#\0:' \
-e 's:^git:#\0:' \