Index: targets/stage1/stage1-chroot.sh =================================================================== RCS file: /var/cvsroot/gentoo/src/catalyst/targets/stage1/stage1-chroot.sh,v retrieving revision 1.32 diff -u -p -r1.32 stage1-chroot.sh --- targets/stage1/stage1-chroot.sh 29 Apr 2005 21:31:32 -0000 1.32 +++ targets/stage1/stage1-chroot.sh 4 Jul 2005 05:40:58 -0000 @@ -1,9 +1,8 @@ #!/bin/bash -# Copyright 1999-2004 Gentoo Foundation +# Copyright 1999-2005 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage1/stage1-chroot.sh,v 1.32 2005/04/29 21:31:32 rocket Exp $ - . /tmp/chroot-functions.sh check_portage_version @@ -20,7 +19,13 @@ export STAGE1_USE="$(portageq envvar STA export USE="-* build ${STAGE1_USE}" export FEATURES="${clst_myfeatures}" +## Sanity check profile +if [[ -z ${clst_buildpkgs} ]] ; then + eerror "Your profile seems to be broken." + eerror "Could not build a list of build packages." + eerror "Double check your /etc/make.profile link and the 'packages' files." + exit 1 +fi + ## START BUILD run_emerge "--noreplace ${clst_buildpkgs}" - -