commit:     2389f54d75dab39a49fe530736081b0cf2b54972
Author:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
AuthorDate: Sat Mar  2 12:56:59 2024 +0000
Commit:     Fabian Groffen <grobian <AT> gentoo <DOT> org>
CommitDate: Sat Mar  2 12:57:48 2024 +0000
URL:        https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=2389f54d

scripts/auto-bootstraps: deprecate x86-darwin9, fix CHOST reporting

Signed-off-by: Fabian Groffen <grobian <AT> gentoo.org>

 scripts/auto-bootstraps/analyse_result.py | 1 +
 scripts/auto-bootstraps/dobootstrap       | 3 ++-
 2 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/scripts/auto-bootstraps/analyse_result.py 
b/scripts/auto-bootstraps/analyse_result.py
index 094462a1dc..5314d66593 100755
--- a/scripts/auto-bootstraps/analyse_result.py
+++ b/scripts/auto-bootstraps/analyse_result.py
@@ -10,6 +10,7 @@ from functools import cmp_to_key
 resultsdir='./results'
 
 deprecated_archs = (
+        'i386-apple-darwin9',
         'x86_64-pc-cygwin',
         'i386-pc-solaris2.11',
         'sparc-sun-solaris2.10',

diff --git a/scripts/auto-bootstraps/dobootstrap 
b/scripts/auto-bootstraps/dobootstrap
index 45b37c5211..14cc137a0d 100755
--- a/scripts/auto-bootstraps/dobootstrap
+++ b/scripts/auto-bootstraps/dobootstrap
@@ -146,7 +146,8 @@ do_prepare() {
                echo $((endtime - starttime)) > elapsedtime
 
                # get identification of host that includes Linux distro, RAP, 
...
-               chost=$(${BASH} ./bootstrap-prefix.sh chost.identify x)
+               chost=$(env CHOST=${chost} \
+                       ${BASH} ./bootstrap-prefix.sh chost.identify x)
 
                rsync -q /dev/null ${UPLOAD}/${HOSTNAME}-$$/
                rsync -q /dev/null ${UPLOAD}/${HOSTNAME}-$$/${chost}/

Reply via email to