From cc3fbdfd820e1c1a1beb212692b09665ef58a2eb Mon Sep 17 00:00:00 2001 From: Andrew Gaffney Date: Fri, 2 Jan 2009 01:45:40 +0000 Subject: [PATCH] Log output of purge command svn path=/trunk/; revision=604 --- tools/ChangeLog | 5 ++++- tools/catalyst-auto | 3 ++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/tools/ChangeLog b/tools/ChangeLog index e3c0e5dc..3adaa0a9 100644 --- a/tools/ChangeLog +++ b/tools/ChangeLog @@ -1,7 +1,10 @@ # ChangeLog for releng repo -# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 # $Id$ + 02 Jan 2009; Andrew Gaffney catalyst-auto: + Log output of purge command + 02 Dec 2008; Andrew Gaffney catalyst-auto: Change the handling of version_stamp a bit to preserve the existing prefix, such as hardened- diff --git a/tools/catalyst-auto b/tools/catalyst-auto index fc5c75a7..fcb537d9 100755 --- a/tools/catalyst-auto +++ b/tools/catalyst-auto @@ -193,7 +193,8 @@ for i in ${OPTIONAL_SPECS}; do done for i in ${SPECS} ${OPTIONAL_SPECS}; do - run_cmd "catalyst -P -c ${CATALYST_CONFIG} -f ${i}" /dev/null + LOGFILE="${TMPDIR}/log/$(echo "${i}" | sed -e 's:/:_:' -e 's:\.spec$::')_purge.log" + run_cmd "catalyst -P -c ${CATALYST_CONFIG} -f ${i}" "${LOGFILE}" done if ! run_cmd "post_build" "${TMPDIR}/log/post_build.log"; then