summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKyle K <kylek389@gmail.com>2021-03-17 02:14:36 -0500
committerKyle K <kylek389@gmail.com>2021-03-17 02:14:36 -0500
commit8700b0098c264af84b38184cce74edb4f14ec44d (patch)
tree901eca314254b23a94530e987ec4db1aeca5573e
parentc3fbd65ddb480894ed65f94c47cfd6cf009579c7 (diff)
downloadgentoox-8700b0098c264af84b38184cce74edb4f14ec44d.tar.gz
gentoox-8700b0098c264af84b38184cce74edb4f14ec44d.tar.bz2
gentoox-8700b0098c264af84b38184cce74edb4f14ec44d.zip
build packages using ~amd64 testing branch when building stage3 tarball with build-stage3.sh
-rwxr-xr-xbuild-stage3.sh5
1 files changed, 5 insertions, 0 deletions
diff --git a/build-stage3.sh b/build-stage3.sh
index e9d09ac..c9bf6f6 100755
--- a/build-stage3.sh
+++ b/build-stage3.sh
@@ -3,6 +3,11 @@
emerge -u catalyst pixz
version_stamp="$(date +%Y%m%d).graphite"
+if [[ ! -f .catalyst-accept-keywords ]]; then
+ echo -e '\nexport ACCEPT_KEYWORDS="~amd64"' >> /etc/catalyst/catalystrc
+ touch .catalyst-accept-keywords
+fi
+
if [[ ! -f .catalyst-prep-done ]]; then
builddate=$(wget --quiet -O - http://distfiles.gentoo.org/releases/amd64/autobuilds/current-stage3-amd64/ | sed -nr "s/.*href=\"stage3-amd64-([0-9].*).tar.xz\">.*/\1/p")
if [[ ! -f "stage3-amd64-$builddate.tar.xz" ]]; then