# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.298 2005/07/07 17:21:08 rocket Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.299 2005/07/07 18:18:15 rocket Exp $
+
+ 07 Jul 2005; Eric Edgar <rocket@gentoo.org> targets/grp/grp-chroot.sh,
+ targets/stage4/stage4-chroot.sh:
+ let grp use the users environment variables and removed extra
+ grp_stage23_use from stage4
07 Jul 2005; Eric Edgar <rocket@gentoo.org>
targets/stage2/stage2-chroot.sh, targets/stage3/stage3-chroot.sh:
#!/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.16 2005/07/05 21:53:41 wolf31o2 Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/grp/grp-chroot.sh,v 1.17 2005/07/07 18:18:15 rocket Exp $
. /tmp/chroot-functions.sh
# setup the environment
export FEATURES="${clst_myfeatures}"
export CONFIG_PROTECT="-*"
-
## START BUILD
setup_portage
else
unset DISTDIR
#don't grab MS core fonts, etc.
- export USE="${USE} bindist"
+ export USE="${USE} ${clst_grp_use} bindist"
DISTDIR="/tmp/grp/${clst_grp_target}" emerge --fetchonly ${clst_grp_packages} || exit 1
unset PKGDIR
export USE_ORDER="env:pkg:conf:defaults"
echo "Bringing system up to date using profile specific use flags"
-GRP_STAGE23_USE="$(portageq envvar GRP_STAGE23_USE)"
-export USE="-* ${clst_HOSTUSE} ${GRP_STAGE23_USE}"
+export USE="-* ${clst_HOSTUSE}"
run_emerge -u system
echo "Emerging packages using stage4 use flags"
if [ -n "${clst_stage4_use}" ]
then
- export USE="-* ${clst_HOSTUSE} ${GRP_STAGE23_USE}"
+ export USE="-* ${clst_HOSTUSE}"
else
USE="${clst_stage4_use}"
fi