[Debian-live-changes] r1748 - in dists/trunk/live-helper: . debian examples/cron

daniel at alioth.debian.org daniel at alioth.debian.org
Fri May 25 19:59:22 UTC 2007


Author: daniel
Date: 2007-05-25 19:59:22 +0000 (Fri, 25 May 2007)
New Revision: 1748

Modified:
   dists/trunk/live-helper/Makefile
   dists/trunk/live-helper/debian/cron.daily
   dists/trunk/live-helper/examples/cron/daily.sh
   dists/trunk/live-helper/examples/cron/etch+beryl.sh
   dists/trunk/live-helper/examples/cron/etch.sh
   dists/trunk/live-helper/examples/cron/snapshots.sh
   dists/trunk/live-helper/examples/cron/weekly.sh
Log:


Modified: dists/trunk/live-helper/Makefile
===================================================================
--- dists/trunk/live-helper/Makefile	2007-05-25 19:53:26 UTC (rev 1747)
+++ dists/trunk/live-helper/Makefile	2007-05-25 19:59:22 UTC (rev 1748)
@@ -49,6 +49,9 @@
 		done; \
 	done
 
+	# Installing logfile
+	mkdir -p $(DESTDIR)/var/log
+
 uninstall:
 	# Uninstalling executables
 	for HELPER in helpers/*; \
@@ -85,6 +88,9 @@
 		done; \
 	done
 
+	# Uninstalling logfile
+	rm -f $(DESTDIR)/var/log/live-helper*
+
 update:
 	set -e; for MANPAGE in manpages/*.de.* manpages/*.en.*; \
 	do \

Modified: dists/trunk/live-helper/debian/cron.daily
===================================================================
--- dists/trunk/live-helper/debian/cron.daily	2007-05-25 19:53:26 UTC (rev 1747)
+++ dists/trunk/live-helper/debian/cron.daily	2007-05-25 19:59:22 UTC (rev 1748)
@@ -35,6 +35,8 @@
 	exit 1
 fi
 
+echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: begin daily build" >> /var/log/live-helper
+
 for ARCHITECTURE in ${ARCHITECTURES}
 do
 	for DISTRIBUTION in ${DISTRIBUTIONS}
@@ -146,3 +148,5 @@
 # Creating current symlink
 rm -f "${DESTDIR}"/"${BUILD}"-builds/current
 ln -s ${DATE} "${DESTDIR}"/"${BUILD}"-builds/current
+
+echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: end daily build" >> /var/log/live-helper

Modified: dists/trunk/live-helper/examples/cron/daily.sh
===================================================================
--- dists/trunk/live-helper/examples/cron/daily.sh	2007-05-25 19:53:26 UTC (rev 1747)
+++ dists/trunk/live-helper/examples/cron/daily.sh	2007-05-25 19:59:22 UTC (rev 1748)
@@ -53,6 +53,8 @@
 	exit 1
 fi
 
+echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: begin daily build" >> /var/log/live-helper
+
 for ARCHITECTURE in ${ARCHITECTURES}
 do
 	for DISTRIBUTION in ${DISTRIBUTIONS}
@@ -164,3 +166,5 @@
 # Creating current symlink
 rm -f "${DESTDIR}"/"${BUILD}"-builds/current
 ln -s ${DATE} "${DESTDIR}"/"${BUILD}"-builds/current
+
+echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: end daily build" >> /var/log/live-helper

Modified: dists/trunk/live-helper/examples/cron/etch+beryl.sh
===================================================================
--- dists/trunk/live-helper/examples/cron/etch+beryl.sh	2007-05-25 19:53:26 UTC (rev 1747)
+++ dists/trunk/live-helper/examples/cron/etch+beryl.sh	2007-05-25 19:59:22 UTC (rev 1748)
@@ -53,6 +53,8 @@
 	exit 1
 fi
 
+echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: begin etch+beryl build" >> /var/log/live-helper
+
 for ARCHITECTURE in ${ARCHITECTURES}
 do
 	for DISTRIBUTION in ${DISTRIBUTIONS}
@@ -173,3 +175,5 @@
 # Creating current symlink
 rm -f "${DESTDIR}"/"${BUILD}"-builds/current
 ln -s ${DATE} "${DESTDIR}"/"${BUILD}"-builds/current
+
+echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: end etch+beryl build" >> /var/log/live-helper

Modified: dists/trunk/live-helper/examples/cron/etch.sh
===================================================================
--- dists/trunk/live-helper/examples/cron/etch.sh	2007-05-25 19:53:26 UTC (rev 1747)
+++ dists/trunk/live-helper/examples/cron/etch.sh	2007-05-25 19:59:22 UTC (rev 1748)
@@ -53,6 +53,8 @@
 	exit 1
 fi
 
+echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: begin etch build" >> /var/log/live-helper
+
 for ARCHITECTURE in ${ARCHITECTURES}
 do
 	for DISTRIBUTION in ${DISTRIBUTIONS}
@@ -164,3 +166,5 @@
 # Creating current symlink
 rm -f "${DESTDIR}"/"${BUILD}"-builds/current
 ln -s ${DATE} "${DESTDIR}"/"${BUILD}"-builds/current
+
+echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: end etch build" >> /var/log/live-helper

Modified: dists/trunk/live-helper/examples/cron/snapshots.sh
===================================================================
--- dists/trunk/live-helper/examples/cron/snapshots.sh	2007-05-25 19:53:26 UTC (rev 1747)
+++ dists/trunk/live-helper/examples/cron/snapshots.sh	2007-05-25 19:59:22 UTC (rev 1748)
@@ -36,6 +36,8 @@
 # Creating lock file
 echo "${DATE_START}" > "${SERVER}"/Archive-Update-in-Progress
 
+echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: begin snapshot build" >> /var/log/live-helper
+
 # Processing packages
 for PACKAGE in ${PACKAGES}
 do
@@ -128,3 +130,5 @@
 
 # Removing build directory
 rm -rf "${TEMPDIR}"
+
+echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: end snapshot build" >> /var/log/live-helper

Modified: dists/trunk/live-helper/examples/cron/weekly.sh
===================================================================
--- dists/trunk/live-helper/examples/cron/weekly.sh	2007-05-25 19:53:26 UTC (rev 1747)
+++ dists/trunk/live-helper/examples/cron/weekly.sh	2007-05-25 19:59:22 UTC (rev 1748)
@@ -53,6 +53,8 @@
 	exit 1
 fi
 
+echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: begin weekly build" >> /var/log/live-helper
+
 for ARCHITECTURE in ${ARCHITECTURES}
 do
 	for DISTRIBUTION in ${DISTRIBUTIONS}
@@ -164,3 +166,5 @@
 # Creating current symlink
 rm -f "${DESTDIR}"/"${BUILD}"-builds/current
 ln -s ${DATE} "${DESTDIR}"/"${BUILD}"-builds/current
+
+echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: end weekly build" >> /var/log/live-helper




More information about the Debian-live-changes mailing list