# ChangeLog for gentoo/src/catalyst
# Copyright 2002-2004 Gentoo Technologies, Inc.; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.30 2004/03/31 15:18:43 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.31 2004/03/31 21:56:23 zhen Exp $
+
+ 31 Mar 2004; John Davis <zhen@gentoo.org> targets/stage2/stage2.sh:
+ added support to the stage2 for stackable profiles bootstrap
31 Mar 2004; John Davis <zhen@gentoo.org> arch/sparc.py, modules/targets.py:
sparc compatibility patches from gustavoz@gentoo.org added. These patches add
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage2/Attic/stage2.sh,v 1.9 2004/03/26 17:03:29 zhen Exp $
+# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage2/Attic/stage2.sh,v 1.10 2004/03/31 21:56:23 zhen Exp $
case $1 in
enter)
then
export EMERGE_OPTS="--usepkg --buildpkg"
fi
- /usr/portage/scripts/bootstrap.sh || exit 1
+ if [ -f /usr/portage/profiles/${clst_profile}/parent ]
+ then
+ export clst_bootstrap="bootstrap-cascade.sh"
+ else
+ export clst_bootstrap=bootstrap.sh
+ fi
+ /usr/portage/scripts/\${clst_bootstrap} || exit 1
EOF
[ $? -ne 0 ] && exit 1
;;