From a3939e0065b4b65ac980d46212208a512d0a3b16 Mon Sep 17 00:00:00 2001
From: Chris Gianelloni <wolf31o2@gentoo.org>
Date: Fri, 31 Aug 2007 17:19:00 +0000
Subject: [PATCH] We need to force USE=bindist on for building stages.

git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1241 d1e1f19c-881f-0410-ab34-b69fee027534
---
 ChangeLog                       | 4 ++++
 targets/stage1/stage1-chroot.sh | 2 +-
 targets/stage3/stage3-chroot.sh | 2 +-
 3 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/ChangeLog b/ChangeLog
index 6a693f07..e884d4de 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,6 +1,10 @@
 # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2
 # $Id: $
 
+  31 Aug 2007; Chris Gianelloni <wolf31o2@gentoo.org>
+  targets/stage1/stage1-chroot.sh, targets/stage3/stage3-chroot.sh:
+  We need to force USE=bindist on for building stages.
+
   29 Aug 2007; Chris Gianelloni <wolf31o2@gentoo.org> catalyst,
   modules/generic_stage_target.py:
   Fixed livecd/volid by removing the string.join() from set_iso_volume_id()
diff --git a/targets/stage1/stage1-chroot.sh b/targets/stage1/stage1-chroot.sh
index 69a51ba6..c6398c4c 100755
--- a/targets/stage1/stage1-chroot.sh
+++ b/targets/stage1/stage1-chroot.sh
@@ -9,7 +9,7 @@ setup_myfeatures
 # Setup our environment
 export clst_buildpkgs="$(/tmp/build.py)"
 export STAGE1_USE="$(portageq envvar STAGE1_USE)"
-export USE="-* build ${STAGE1_USE}"
+export USE="-* bindist build ${STAGE1_USE}"
 export FEATURES="${clst_myfeatures} nodoc noman noinfo"
 
 ## Sanity check profile
diff --git a/targets/stage3/stage3-chroot.sh b/targets/stage3/stage3-chroot.sh
index 55393a13..fd235171 100755
--- a/targets/stage3/stage3-chroot.sh
+++ b/targets/stage3/stage3-chroot.sh
@@ -8,7 +8,7 @@ setup_myfeatures
 
 # Setup the build environment
 export FEATURES="${clst_myfeatures}"
-export USE="${USE} ${clst_HOSTUSE}"
+export USE="${USE} bindist ${clst_HOSTUSE}"
 
 ## START BUILD
 # We need portage to be merged manually with USE="build" set to avoid frying
-- 
2.26.2