Fix USE flags for grp build
authorEric Edgar <rocket@gentoo.org>
Thu, 7 Jul 2005 18:48:08 +0000 (18:48 +0000)
committerEric Edgar <rocket@gentoo.org>
Thu, 7 Jul 2005 18:48:08 +0000 (18:48 +0000)
git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@764 d1e1f19c-881f-0410-ab34-b69fee027534

ChangeLog
targets/grp/grp-chroot.sh

index 9d29af6bc328310bc7c2343314f6763953d95dc1..44b7d40f185326dd7801202443265c69e1de0eae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.299 2005/07/07 18:18:15 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.300 2005/07/07 18:48:08 rocket Exp $
+
+  07 Jul 2005; Eric Edgar <rocket@gentoo.org> targets/grp/grp-chroot.sh:
+  Fix USE flags for grp build
 
   07 Jul 2005; Eric Edgar <rocket@gentoo.org> targets/grp/grp-chroot.sh,
   targets/stage4/stage4-chroot.sh:
index 1a27c5560ecc9a0e4fbd2b28e3df2c8b6b032ad1..2e131db0fd79820fc64ee54c279ecd9c4585fd7d 100755 (executable)
@@ -1,7 +1,7 @@
 #!/bin/bash
 # Copyright 1999-2005 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/grp/grp-chroot.sh,v 1.17 2005/07/07 18:18:15 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/grp/grp-chroot.sh,v 1.18 2005/07/07 18:48:08 rocket Exp $
 
 . /tmp/chroot-functions.sh
 
@@ -22,6 +22,10 @@ setup_portage
 
 #turn off auto-use:
 export USE_ORDER="env:pkg:conf:defaults"
+
+unset DISTDIR
+#don't grab MS core fonts, etc.
+export USE="${USE} ${clst_grp_use}"
        
 if [ "${clst_grp_type}" = "pkgset" ]
 then
@@ -47,10 +51,7 @@ then
        
        emerge --usepkg --buildpkg --noreplace --newuse ${clst_myemergeopts} ${clst_grp_packages} || exit 1
 else
-       unset DISTDIR
-       #don't grab MS core fonts, etc.
-       export USE="${USE} ${clst_grp_use} bindist"
-       
+       export USE="${USE} bindist"
        DISTDIR="/tmp/grp/${clst_grp_target}" emerge --fetchonly ${clst_grp_packages} || exit 1
        unset PKGDIR
 fi