From 8700b0098c264af84b38184cce74edb4f14ec44d Mon Sep 17 00:00:00 2001
From: Kyle K <kylek389@gmail.com>
Date: Wed, 17 Mar 2021 02:14:36 -0500
Subject: build packages using ~amd64 testing branch when building stage3
 tarball with build-stage3.sh

---
 build-stage3.sh | 5 +++++
 1 file changed, 5 insertions(+)

(limited to 'build-stage3.sh')

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
-- 
cgit v1.2.3