From: John P. Davis Date: Wed, 15 Oct 2003 05:23:14 +0000 (+0000) Subject: adding build files X-Git-Tag: CATALYST_1_0_1~230 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=c8ebd1a4b1e89da5303151a8584eec6cc686299a;p=catalyst.git adding build files git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@10 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/targets/stage2/stage2.sh b/targets/stage2/stage2.sh new file mode 100755 index 00000000..4e5d90d0 --- /dev/null +++ b/targets/stage2/stage2.sh @@ -0,0 +1,19 @@ +# 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.1 2003/10/15 05:23:14 zhen Exp $ + +$CHROOT . /bin/bash << EOF + env-update + source /etc/profile + mkdir -p /usr/portage/packages/All + export EMERGE_OPTS="--usepkg --buildpkg" + if [ ${CCACHE} -eq 1 ] + then + emerge --oneshot --nodeps ccache || exit 1 + fi + + /usr/portage/scripts/bootstrap.sh || exit 1 +EOF + +[ $? -ne 0 ] && die "Stage 2 build failure" +