aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Palimaka <kensington@gentoo.org>2014-08-28 14:50:52 +1000
committerMichael Palimaka <kensington@gentoo.org>2014-08-28 14:50:52 +1000
commit26cae8488b7a38fb8577952572868a03fd415709 (patch)
tree3aa98e4fe5009875a443c7eabe034cd3428fd490 /tinderbox
parentuse $(cat /proc/sys/kernel/random/uuid) for uuid (diff)
downloadqa-scripts-26cae8488b7a38fb8577952572868a03fd415709.tar.gz
qa-scripts-26cae8488b7a38fb8577952572868a03fd415709.tar.bz2
qa-scripts-26cae8488b7a38fb8577952572868a03fd415709.zip
tinderbox: add an option to be more verbose
Diffstat (limited to 'tinderbox')
-rw-r--r--tinderbox/bashrc4
1 files changed, 4 insertions, 0 deletions
diff --git a/tinderbox/bashrc b/tinderbox/bashrc
index 71da78e..560c3fd 100644
--- a/tinderbox/bashrc
+++ b/tinderbox/bashrc
@@ -62,6 +62,7 @@
: ${DEPCHECK_BIN:="/usr/bin/depcheck"}
: ${TINDERBOX_DIR:="/var/log/tinderbox"}
+: ${TINDERBOX_VERBOSE:=true}
PACKAGE_DATA_DIR="${TINDERBOX_DIR}/${CATEGORY}/${PN}"
BUILD_DATA_DIR="${PACKAGE_DATA_DIR}/${PF}/$(cat /proc/sys/kernel/random/uuid)"
@@ -115,6 +116,9 @@ tinderbox_postinst_checks() {
if type -P "${DEPCHECK_BIN}" > /dev/null ; then
SANDBOX_ON=0 "${DEPCHECK_BIN}" ${PF} > "${BUILD_DATA_DIR}"/depcheck
+ if [[ "${TINDERBOX_VERBOSE}" == true ]] ; then
+ cat "${BUILD_DATA_DIR}"/depcheck
+ fi
fi
}