From: Chris Gianelloni Date: Tue, 25 Jul 2006 20:29:10 +0000 (+0000) Subject: Added check for verbose, and add --verbose if found, or --quiet, to emerge options. X-Git-Tag: CATALYST_2_0_6_916~329 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=4fcb7dd6c2719f7bc18674b502aaf8a030bc00da;p=catalyst.git Added check for verbose, and add --verbose if found, or --quiet, to emerge options. git-svn-id: svn+ssh://svn.gentoo.org/var/svnroot/catalyst/trunk@1165 d1e1f19c-881f-0410-ab34-b69fee027534 --- diff --git a/ChangeLog b/ChangeLog index f57d9849..9660f274 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.649 2006/07/21 16:16:39 wolf31o2 Exp $ +# $Header: /var/cvsroot/gentoo/src/catalyst/ChangeLog,v 1.650 2006/07/25 20:29:10 wolf31o2 Exp $ + + 25 Jul 2006; Chris Gianelloni + targets/support/chroot-functions.sh: + Added check for verbose, and add --verbose if found, or --quiet, to emerge + options. 21 Jul 2006; Chris Gianelloni targets/support/livecdfs-update.sh: diff --git a/targets/support/chroot-functions.sh b/targets/support/chroot-functions.sh index 6a2f26cb..540f40e4 100755 --- a/targets/support/chroot-functions.sh +++ b/targets/support/chroot-functions.sh @@ -64,9 +64,15 @@ setup_myfeatures(){ } setup_myemergeopts(){ + if [ -n "${clst_VERBOSE}" ] + then + clst_myemergeopts="--verbose" + else + clst_myemergeopts="--quiet" + fi if [ -n "${clst_PKGCACHE}" ] then - export clst_myemergeopts="--usepkg --buildpkg --newuse" + export clst_myemergeopts="${clst_myemergeopts} --usepkg --buildpkg --newuse" export bootstrap_opts="-r" fi if [ -n "${clst_FETCH}" ] @@ -154,8 +160,8 @@ run_emerge() { if [ -n "${clst_VERBOSE}" ] then - echo "ROOT=${ROOT} emerge ${clst_myemergeopts} -vpt $@" || exit 1 - emerge ${clst_myemergeopts} -vpt $@ || exit 3 + echo "ROOT=${ROOT} emerge ${clst_myemergeopts} -pt $@" || exit 1 + emerge ${clst_myemergeopts} -pt $@ || exit 3 echo "Press any key within 15 seconds to pause the build..." read -s -t 15 -n 1 if [ $? -eq 0 ]