From c8ebd1a4b1e89da5303151a8584eec6cc686299a Mon Sep 17 00:00:00 2001 From: "John P. Davis" Date: Wed, 15 Oct 2003 05:23:14 +0000 Subject: [PATCH] adding build files git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@10 d1e1f19c-881f-0410-ab34-b69fee027534 --- targets/stage2/stage2.sh | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 targets/stage2/stage2.sh 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" + -- 2.26.2