From 76bcbd1674e893ab24893c380b0c7499a644564d Mon Sep 17 00:00:00 2001 From: Chris Gianelloni Date: Tue, 14 Jun 2005 19:43:26 +0000 Subject: [PATCH] Added a -p bootstrap when catalyst is called with -V (verbose). git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@690 d1e1f19c-881f-0410-ab34-b69fee027534 --- ChangeLog | 6 +++++- targets/stage2/stage2-chroot.sh | 16 ++++++++++++++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 9a06fd66..1be23823 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,9 @@ # Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.270 2005/06/10 14:41:23 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.271 2005/06/14 19:43:26 wolf31o2 Exp $ + + 14 Jun 2005; Chris Gianelloni + targets/stage2/stage2-chroot.sh: + Added a -p bootstrap when catalyst is called with -V (verbose). 10 Jun 2005; Chris Gianelloni targets/support/livecdfs-update.sh: diff --git a/targets/stage2/stage2-chroot.sh b/targets/stage2/stage2-chroot.sh index 32a443ac..6c65308b 100755 --- a/targets/stage2/stage2-chroot.sh +++ b/targets/stage2/stage2-chroot.sh @@ -1,7 +1,7 @@ -#!/bin/sh +#!/bin/bash # Copyright 1999-2004 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage2/stage2-chroot.sh,v 1.11 2005/04/04 17:48:33 rocket Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/targets/stage2/stage2-chroot.sh,v 1.12 2005/06/14 19:43:26 wolf31o2 Exp $ . /tmp/chroot-functions.sh @@ -15,5 +15,17 @@ setup_myemergeopts export FEATURES="${clst_myfeatures}" GRP_STAGE23_USE="$(portageq envvar GRP_STAGE23_USE)" +if [ "${clst_VERBOSE}" ] +then + /usr/portage/scripts/bootstrap.sh -p ${bootstrap_opts} + echo "Press any key within 15 seconds to pause the build..." + read -s -t 15 -n 1 + if [ $? -eq 0 ] + then + echo "Press any key to continue..." + read -s -n 1 + fi +fi + ## START BUILD /usr/portage/scripts/bootstrap.sh ${bootstrap_opts} || exit 1 -- 2.26.2