summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorDaniel Baumann <daniel@debian.org>2007-09-23 10:05:10 +0200
committerDaniel Baumann <daniel@debian.org>2011-03-09 18:18:29 +0100
commitd1ee66e44c8272bb7a0053a456a3d8b0bd152268 (patch)
tree9e6722124d18f9358999b0da840f27857f97fede /examples
parent86726af9f5e7873d6cdbbe108fae1c41b1b67db0 (diff)
downloadlive-build-d1ee66e44c8272bb7a0053a456a3d8b0bd152268.zip
live-build-d1ee66e44c8272bb7a0053a456a3d8b0bd152268.tar.gz
Adding live-helper 1.0~a12-1.
Diffstat (limited to 'examples')
-rw-r--r--examples/cron/crontab8
-rwxr-xr-xexamples/cron/daily.sh4
-rwxr-xr-xexamples/cron/etch+beryl.sh6
-rwxr-xr-xexamples/cron/etch.sh6
-rwxr-xr-xexamples/cron/snapshots.sh6
-rwxr-xr-xexamples/cron/weekly.sh4
-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 0000000..2d6b052
--- /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 ef55099..f2b5c09 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 a51bf01..28a51b5 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 3bf2afd..cf8ec2e 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 199dc29..760b041 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 d3f9d79..19c1054 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 9c1cd2e..9c1cd2e 100644
--- a/examples/sources.list/beryl
+++ b/examples/sources/beryl
diff --git a/examples/sources.list/debian-backports b/examples/sources/debian-backports
index 04362f0..04362f0 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 9fb05e1..9fb05e1 100644
--- a/examples/sources.list/debian-edu
+++ b/examples/sources/debian-edu
diff --git a/examples/sources.list/fai b/examples/sources/fai
index 7d2d7ec..7d2d7ec 100644
--- a/examples/sources.list/fai
+++ b/examples/sources/fai
diff --git a/examples/sources.list/live-backports b/examples/sources/live-backports
index 3c1a2c1..3c1a2c1 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 763deda..763deda 100644
--- a/examples/sources.list/live-snapshot
+++ b/examples/sources/live-snapshot