From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 0791313835B for ; Wed, 16 Dec 2020 16:00:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 09FD8E08FB; Wed, 16 Dec 2020 16:00:56 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id E372AE08FB for ; Wed, 16 Dec 2020 16:00:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D25C0340DA4 for ; Wed, 16 Dec 2020 16:00:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 39F63C7 for ; Wed, 16 Dec 2020 16:00:53 +0000 (UTC) From: "Matt Turner" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Matt Turner" Message-ID: <1608004360.5f62563f52a81b578703f140361a5fcec96e75e5.mattst88@gentoo> Subject: [gentoo-commits] proj/catalyst:master commit in: targets/stage1/ X-VCS-Repository: proj/catalyst X-VCS-Files: targets/stage1/chroot.sh X-VCS-Directories: targets/stage1/ X-VCS-Committer: mattst88 X-VCS-Committer-Name: Matt Turner X-VCS-Revision: 5f62563f52a81b578703f140361a5fcec96e75e5 X-VCS-Branch: master Date: Wed, 16 Dec 2020 16:00:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d2d55462-e505-4dc3-9078-e1ea7ea0f0e2 X-Archives-Hash: 92e31b8530bde059f405443aeafd2dba Message-ID: <20201216160053.Ys0c6fFm5uvO-gKS62QiGxlcX_mFzN3VQ1W8_f5HhWU@z> commit: 5f62563f52a81b578703f140361a5fcec96e75e5 Author: Matt Turner gentoo org> AuthorDate: Tue Dec 15 03:52:40 2020 +0000 Commit: Matt Turner gentoo org> CommitDate: Tue Dec 15 03:52:40 2020 +0000 URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=5f62563f targets: Move ${buildpkgs} error checking closer Signed-off-by: Matt Turner gentoo.org> targets/stage1/chroot.sh | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/targets/stage1/chroot.sh b/targets/stage1/chroot.sh index 7e8d5b4e..83cd084d 100755 --- a/targets/stage1/chroot.sh +++ b/targets/stage1/chroot.sh @@ -5,12 +5,6 @@ source /tmp/chroot-functions.sh # We do this first, so we know our package list for --debug buildpkgs=($(/tmp/build.py)) -# Setup our environment -[ -n "${clst_BINDIST}" ] && BINDIST="bindist" -BOOTSTRAP_USE="$(portageq envvar BOOTSTRAP_USE)" - -FEATURES="${FEATURES} nodoc noman noinfo" - ## Sanity check profile if [[ ${#buildpkgs[@]} -eq 0 ]]; then echo "Your profile seems to be broken." @@ -19,6 +13,12 @@ if [[ ${#buildpkgs[@]} -eq 0 ]]; then exit 1 fi +# Setup our environment +[ -n "${clst_BINDIST}" ] && BINDIST="bindist" +BOOTSTRAP_USE="$(portageq envvar BOOTSTRAP_USE)" + +FEATURES="${FEATURES} nodoc noman noinfo" + # We need to ensure the base stage3 has USE="bindist" # if BINDIST is set to avoid issues with openssl / openssh [ -e ${clst_make_conf} ] && echo "USE=\"${BINDIST} ${USE}\"" >> ${clst_make_conf}