summaryrefslogtreecommitdiff
path: root/cgi/cron
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-06-21 22:52:10 +0200
committerDaniel Baumann <daniel@debian.org>2010-06-21 22:52:10 +0200
commit541824a8c469fcd9b9d8091e0a448b9d9a8188d2 (patch)
tree1f67f25669c9d888aa406ebf9bf372e1023fae7a /cgi/cron
parentee10be59d24ab3ca4bfe3a0f0ff169dca52a2e6d (diff)
downloadvyos-live-build-541824a8c469fcd9b9d8091e0a448b9d9a8188d2.tar.gz
vyos-live-build-541824a8c469fcd9b9d8091e0a448b9d9a8188d2.zip
Including build-job in the mail that is sent by the cgi.
Diffstat (limited to 'cgi/cron')
-rwxr-xr-xcgi/cron10
1 files changed, 10 insertions, 0 deletions
diff --git a/cgi/cron b/cgi/cron
index 0bf4554c2..f8e7b242b 100755
--- a/cgi/cron
+++ b/cgi/cron
@@ -118,6 +118,16 @@ then
-e "s#SERVER#${_SERVER}#" \
"${_TEMPLATES}"/mail.txt > "${_DESTDIR}"/"${_BUILD}"/mail
+cat >> "${_DESTDIR}"/"${_BUILD}"/mail << EOF
+
+---
+
+Here's a list of all build-options that were used to build your image:
+
+EOF
+
+ cat "${_DESTDIR}"/"${_BUILD}"/build >> "${_DESTDIR}"/"${_BUILD}"/mail
+
# Moving binary image
#if ls "${_TEMPDIR}"/"${_BUILD}"/binary*.* > /dev/null 2>&1
if Find_files ${_TEMPDIR}/${_BUILD}/binary*.*