diff options
author | Daniel Baumann <daniel@debian.org> | 2007-09-23 10:05:10 +0200 |
---|---|---|
committer | Daniel Baumann <daniel@debian.org> | 2011-03-09 18:18:29 +0100 |
commit | d1ee66e44c8272bb7a0053a456a3d8b0bd152268 (patch) | |
tree | 9e6722124d18f9358999b0da840f27857f97fede /examples | |
parent | 86726af9f5e7873d6cdbbe108fae1c41b1b67db0 (diff) | |
download | vyos-live-build-d1ee66e44c8272bb7a0053a456a3d8b0bd152268.tar.gz vyos-live-build-d1ee66e44c8272bb7a0053a456a3d8b0bd152268.zip |
Adding live-helper 1.0~a12-1.
Diffstat (limited to 'examples')
-rw-r--r-- | examples/cron/crontab | 8 | ||||
-rwxr-xr-x | examples/cron/daily.sh | 4 | ||||
-rwxr-xr-x | examples/cron/etch+beryl.sh | 6 | ||||
-rwxr-xr-x | examples/cron/etch.sh | 6 | ||||
-rwxr-xr-x | examples/cron/snapshots.sh | 6 | ||||
-rwxr-xr-x | examples/cron/weekly.sh | 4 | ||||
-rw-r--r-- | examples/sources/beryl (renamed from examples/sources.list/beryl) | 0 | ||||
-rw-r--r-- | examples/sources/debian-backports (renamed from examples/sources.list/debian-backports) | 0 | ||||
-rw-r--r-- | examples/sources/debian-edu (renamed from examples/sources.list/debian-edu) | 0 | ||||
-rw-r--r-- | examples/sources/fai (renamed from examples/sources.list/fai) | 0 | ||||
-rw-r--r-- | examples/sources/live-backports (renamed from examples/sources.list/live-backports) | 0 | ||||
-rw-r--r-- | examples/sources/live-snapshot (renamed from examples/sources.list/live-snapshot) | 0 |
12 files changed, 31 insertions, 3 deletions
diff --git a/examples/cron/crontab b/examples/cron/crontab new file mode 100644 index 000000000..2d6b052d7 --- /dev/null +++ b/examples/cron/crontab @@ -0,0 +1,8 @@ +# /etc/crontab - system-wide crontab + +SHELL=/bin/sh +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin + +# m h dom mon dow user command +*/1 * * * * root /etc/cron.d/live-webhelper > /dev/null 2>&1 +*/10 * * * * user /usr/share/doc/live-helper/examples/cron/snapshots.sh > /dev/null 2>&1 diff --git a/examples/cron/daily.sh b/examples/cron/daily.sh index ef5509970..f2b5c09fa 100755 --- a/examples/cron/daily.sh +++ b/examples/cron/daily.sh @@ -53,6 +53,8 @@ else exit 1 fi +echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: begin daily build." >> /var/log/live + for ARCHITECTURE in ${ARCHITECTURES} do for DISTRIBUTION in ${DISTRIBUTIONS} @@ -164,3 +166,5 @@ done # 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 diff --git a/examples/cron/etch+beryl.sh b/examples/cron/etch+beryl.sh index a51bf01ff..28a51b5a6 100755 --- a/examples/cron/etch+beryl.sh +++ b/examples/cron/etch+beryl.sh @@ -7,7 +7,7 @@ BUILD="etch+beryl" # Begin custom defaults AUTOBUILD="enabled" -DATE="r0_1.0~a11-1" +DATE="r0_1.0~a12-1" DESTDIR="/srv/debian-unofficial/ftp/debian-live" TEMPDIR="/srv/tmp/live-helper" @@ -53,6 +53,8 @@ else exit 1 fi +echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: begin etch+beryl build." >> /var/log/live + for ARCHITECTURE in ${ARCHITECTURES} do for DISTRIBUTION in ${DISTRIBUTIONS} @@ -173,3 +175,5 @@ done # 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 diff --git a/examples/cron/etch.sh b/examples/cron/etch.sh index 3bf2afd11..cf8ec2eb4 100755 --- a/examples/cron/etch.sh +++ b/examples/cron/etch.sh @@ -7,7 +7,7 @@ BUILD="etch" # Begin custom defaults AUTOBUILD="enabled" -DATE="r0_1.0~a11-1" +DATE="r0_1.0~a12-1" DESTDIR="/srv/debian-unofficial/ftp/debian-live" TEMPDIR="/srv/tmp/live-helper" @@ -53,6 +53,8 @@ else exit 1 fi +echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: begin etch build." >> /var/log/live + for ARCHITECTURE in ${ARCHITECTURES} do for DISTRIBUTION in ${DISTRIBUTIONS} @@ -164,3 +166,5 @@ done # 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 diff --git a/examples/cron/snapshots.sh b/examples/cron/snapshots.sh index 199dc2902..760b041fa 100755 --- a/examples/cron/snapshots.sh +++ b/examples/cron/snapshots.sh @@ -3,7 +3,7 @@ # Needs: build-essential fakeroot lsb-release svn [...] # Static variables -PACKAGES="live-helper live-initramfs live-webbuilder" +PACKAGES="live-helper live-initramfs live-webhelper" DEBEMAIL="debian-live-devel@lists.alioth.debian.org" EMAIL="debian-live-devel@lists.alioth.debian.org" @@ -36,6 +36,8 @@ trap "test -f ${SERVER}/Archive-Update-in-Progress && rm -f ${SERVER}/Archive-Up # 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 + # Processing packages for PACKAGE in ${PACKAGES} do @@ -128,3 +130,5 @@ EOF # Removing build directory rm -rf "${TEMPDIR}" + +echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: end snapshot build." >> /var/log/live diff --git a/examples/cron/weekly.sh b/examples/cron/weekly.sh index d3f9d79e1..19c1054aa 100755 --- a/examples/cron/weekly.sh +++ b/examples/cron/weekly.sh @@ -53,6 +53,8 @@ else exit 1 fi +echo "`date +%b\ %d\ %H:%M:%S` ${HOSTNAME} live-helper: begin weekly build." >> /var/log/live + for ARCHITECTURE in ${ARCHITECTURES} do for DISTRIBUTION in ${DISTRIBUTIONS} @@ -164,3 +166,5 @@ done # 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 diff --git a/examples/sources.list/beryl b/examples/sources/beryl index 9c1cd2e32..9c1cd2e32 100644 --- a/examples/sources.list/beryl +++ b/examples/sources/beryl diff --git a/examples/sources.list/debian-backports b/examples/sources/debian-backports index 04362f059..04362f059 100644 --- a/examples/sources.list/debian-backports +++ b/examples/sources/debian-backports diff --git a/examples/sources.list/debian-edu b/examples/sources/debian-edu index 9fb05e113..9fb05e113 100644 --- a/examples/sources.list/debian-edu +++ b/examples/sources/debian-edu diff --git a/examples/sources.list/fai b/examples/sources/fai index 7d2d7ecf6..7d2d7ecf6 100644 --- a/examples/sources.list/fai +++ b/examples/sources/fai diff --git a/examples/sources.list/live-backports b/examples/sources/live-backports index 3c1a2c190..3c1a2c190 100644 --- a/examples/sources.list/live-backports +++ b/examples/sources/live-backports diff --git a/examples/sources.list/live-snapshot b/examples/sources/live-snapshot index 763deda1d..763deda1d 100644 --- a/examples/sources.list/live-snapshot +++ b/examples/sources/live-snapshot |