A fresh gentoo/stage3 container has no /etc/portage/repos.conf directory, so writing gentoo.conf failed. mkdir -p it first in both workflows and the bump script. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
@@ -15,6 +15,7 @@ jobs:
|
||||
|
||||
- name: Configure portage + install tooling
|
||||
run: |
|
||||
mkdir -p /etc/portage/repos.conf
|
||||
printf '[DEFAULT]\nmain-repo = gentoo\n\n[gentoo]\nlocation = /var/db/repos/gentoo\n' \
|
||||
> /etc/portage/repos.conf/gentoo.conf
|
||||
sed -i 's/^verify-signature = true/verify-signature = false/' \
|
||||
|
||||
@@ -19,6 +19,7 @@ jobs:
|
||||
# can be pulled instead of compiled.
|
||||
- name: Configure portage
|
||||
run: |
|
||||
mkdir -p /etc/portage/repos.conf
|
||||
printf '[DEFAULT]\nmain-repo = gentoo\n\n[gentoo]\nlocation = /var/db/repos/gentoo\n' \
|
||||
> /etc/portage/repos.conf/gentoo.conf
|
||||
sed -i 's/^verify-signature = true/verify-signature = false/' \
|
||||
|
||||
@@ -89,6 +89,7 @@ goreq=$(curl -fsSL "${UPSTREAM_GOMOD}/v${latest}/go.mod" \
|
||||
mkdir -p /var/cache/distfiles
|
||||
cp "${dist}/${PN}-${latest}.tar.gz" /var/cache/distfiles/
|
||||
cp "${dist}/${PN}-${latest}-vendor.tar.xz" /var/cache/distfiles/
|
||||
mkdir -p /etc/portage/repos.conf
|
||||
printf '[DEFAULT]\nmain-repo = gentoo\n\n[gentoo]\nlocation = /var/db/repos/gentoo\n' \
|
||||
> /etc/portage/repos.conf/gentoo.conf
|
||||
printf '[azy5030]\nlocation = %s\nmasters = gentoo\nauto-sync = false\n' "$WORK" \
|
||||
|
||||
Reference in New Issue
Block a user