commit: 57a412802f36258306535f58d4f8449acb83d569
Author: Benda Xu <heroxbd <AT> gentoo <DOT> org>
AuthorDate: Wed Jun 8 01:09:48 2016 +0000
Commit: Benda XU <heroxbd <AT> gentoo <DOT> org>
CommitDate: Wed Jun 8 01:09:48 2016 +0000
URL: https://gitweb.gentoo.org/repo/proj/prefix.git/commit/?id=57a41280
s/bootstrap-prefix.sh: stage tools should be used first in stage3.
scripts/bootstrap-prefix.sh | 2 ++
1 file changed, 2 insertions(+)
diff --git a/scripts/bootstrap-prefix.sh b/scripts/bootstrap-prefix.sh
index f9b0d9a..1031262 100755
--- a/scripts/bootstrap-prefix.sh
+++ b/scripts/bootstrap-prefix.sh
@@ -1361,6 +1361,8 @@ bootstrap_stage3() {
fi
emerge_pkgs() {
+ # stage3 tools should be used first.
+ DEFAULT_PATH=$(echo "${ROOT}"/{,tmp/}{,usr/}{s,}bin | tr ' '
':')
EPREFIX="${ROOT}" \
do_emerge_pkgs "$@"
}