summaryrefslogtreecommitdiff
path: root/cgi
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2010-06-21 22:52:10 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 19:17:11 +0100
commit92c3194fc5757f380931fea67f630d02696afb2c (patch)
tree1f67f25669c9d888aa406ebf9bf372e1023fae7a /cgi
parent134672b0ccc1080a71a01cd14e28252a8de1b1a6 (diff)
downloadvyos-live-build-92c3194fc5757f380931fea67f630d02696afb2c.tar.gz
vyos-live-build-92c3194fc5757f380931fea67f630d02696afb2c.zip
Including build-job in the mail that is sent by the cgi.
Diffstat (limited to 'cgi')
-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*.*