Log output of purge command

svn path=/trunk/; revision=604
This commit is contained in:
Andrew Gaffney 2009-01-02 01:45:40 +00:00
parent 9d81176831
commit cc3fbdfd82
2 changed files with 6 additions and 2 deletions

View file

@ -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 <agaffney@gentoo.org> catalyst-auto:
Log output of purge command
02 Dec 2008; Andrew Gaffney <agaffney@gentoo.org> catalyst-auto:
Change the handling of version_stamp a bit to preserve the existing
prefix, such as hardened-

View file

@ -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