From d1ee66e44c8272bb7a0053a456a3d8b0bd152268 Mon Sep 17 00:00:00 2001 From: Daniel Baumann Date: Sun, 23 Sep 2007 10:05:10 +0200 Subject: Adding live-helper 1.0~a12-1. --- examples/cron/crontab | 8 ++++++++ examples/cron/daily.sh | 4 ++++ examples/cron/etch+beryl.sh | 6 +++++- examples/cron/etch.sh | 6 +++++- examples/cron/snapshots.sh | 6 +++++- examples/cron/weekly.sh | 4 ++++ examples/sources.list/beryl | 14 -------------- examples/sources.list/debian-backports | 9 --------- examples/sources.list/debian-edu | 11 ----------- examples/sources.list/fai | 9 --------- examples/sources.list/live-backports | 11 ----------- examples/sources.list/live-snapshot | 9 --------- examples/sources/beryl | 14 ++++++++++++++ examples/sources/debian-backports | 9 +++++++++ examples/sources/debian-edu | 11 +++++++++++ examples/sources/fai | 9 +++++++++ examples/sources/live-backports | 11 +++++++++++ examples/sources/live-snapshot | 9 +++++++++ 18 files changed, 94 insertions(+), 66 deletions(-) create mode 100644 examples/cron/crontab delete mode 100644 examples/sources.list/beryl delete mode 100644 examples/sources.list/debian-backports delete mode 100644 examples/sources.list/debian-edu delete mode 100644 examples/sources.list/fai delete mode 100644 examples/sources.list/live-backports delete mode 100644 examples/sources.list/live-snapshot create mode 100644 examples/sources/beryl create mode 100644 examples/sources/debian-backports create mode 100644 examples/sources/debian-edu create mode 100644 examples/sources/fai create mode 100644 examples/sources/live-backports create mode 100644 examples/sources/live-snapshot (limited to 'examples') 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.list/beryl deleted file mode 100644 index 9c1cd2e32..000000000 --- a/examples/sources.list/beryl +++ /dev/null @@ -1,14 +0,0 @@ -## This is a sources.list for live-helper(7) to use packages from the -## Beryl Etch repository. -## -## To enable it, copy this file to your config/chroot_sources directory, once -## as e.g. beryl.bootstrap and once as beryl.binary. -## Additionally, you need to copy the beryl.sh file to your -## config/chroot_local-hooks directory. -## -## Remeber to also import http://debian.beryl-project.org/root@lupine.me.uk.gpg -## into your trusted keyring. - -# Beryl packages for Etch -deb http://debian.beryl-project.org/ etch main -deb-src http://debian.beryl-project.org/ etch main diff --git a/examples/sources.list/debian-backports b/examples/sources.list/debian-backports deleted file mode 100644 index 04362f059..000000000 --- a/examples/sources.list/debian-backports +++ /dev/null @@ -1,9 +0,0 @@ -## This is a sources.list for live-helper(7) to use packages from the -## Debian Etch backports repository. -## -## To enable it, copy this file to your config/chroot_sources directory, once -## as e.g. debian-backports.bootstrap and once as debian-backports.binary. - -# Debian backports for Etch -deb http://www.backports.org/debian/ etch-backports main -deb-src http://www.backports.org/debian/ etch-backports main diff --git a/examples/sources.list/debian-edu b/examples/sources.list/debian-edu deleted file mode 100644 index 9fb05e113..000000000 --- a/examples/sources.list/debian-edu +++ /dev/null @@ -1,11 +0,0 @@ -## This is a sources.list for live-helper(7) to use packages from the -## Debian Edu/Skolelinux repository. -## -## To enable it, copy this file to your config/chroot_sources directory, once -## as e.g. edu.bootstrap and once as edu.binary. -## -## Remeber to add debian-edu-archive-keyring to your package selection. - -# Debian Edu/Skolelinux -deb http://ftp.skolelinux.org/skolelinux/ etch-test local -deb-src http://ftp.skolelinux.org/skolelinux/ etch-test local diff --git a/examples/sources.list/fai b/examples/sources.list/fai deleted file mode 100644 index 7d2d7ecf6..000000000 --- a/examples/sources.list/fai +++ /dev/null @@ -1,9 +0,0 @@ -## This is a sources.list for live-helper(7) to use packages from the -## FAI - Fully Automated Install repository. -## -## To enable it, copy this file to your config/chroot_sources directory, once -## as e.g. fai.bootstrap and once as fai.binary. - -# FAI - Fully Automated Install -deb http://www.informatik.uni-koeln.de/fai/download/ etch koeln -deb-src http://www.informatik.uni-koeln.de/fai/download/ etch koeln diff --git a/examples/sources.list/live-backports b/examples/sources.list/live-backports deleted file mode 100644 index 3c1a2c190..000000000 --- a/examples/sources.list/live-backports +++ /dev/null @@ -1,11 +0,0 @@ -## This is a sources.list for live-helper(7) to use packages from the -## Debian Live Etch backports repository. -## -## To enable it, copy this file to your config/chroot_sources directory, once -## as e.g. live-backports.bootstrap and once as live-backports.binary. -## -## Remeber to add debian-unofficial-archive-keyring to your package selection. - -# Debian Live backports for Etch -deb http://live.debian.net/debian/ etch main -deb-src http://live.debian.net/debian/ etch main diff --git a/examples/sources.list/live-snapshot b/examples/sources.list/live-snapshot deleted file mode 100644 index 763deda1d..000000000 --- a/examples/sources.list/live-snapshot +++ /dev/null @@ -1,9 +0,0 @@ -## This is a sources.list for live-helper(7) to use packages from the -## Debian Live Snapshot repository. -## -## To enable it, copy this file to your config/chroot_sources directory, once -## as e.g. live-snapshots.bootstrap and once as live-snapshots.binary. - -# Debian Live Snapshots -deb http://live.debian.net/debian-snapshots/ ./ -deb-src http://live.debian.net/debian-snapshots/ ./ diff --git a/examples/sources/beryl b/examples/sources/beryl new file mode 100644 index 000000000..9c1cd2e32 --- /dev/null +++ b/examples/sources/beryl @@ -0,0 +1,14 @@ +## This is a sources.list for live-helper(7) to use packages from the +## Beryl Etch repository. +## +## To enable it, copy this file to your config/chroot_sources directory, once +## as e.g. beryl.bootstrap and once as beryl.binary. +## Additionally, you need to copy the beryl.sh file to your +## config/chroot_local-hooks directory. +## +## Remeber to also import http://debian.beryl-project.org/root@lupine.me.uk.gpg +## into your trusted keyring. + +# Beryl packages for Etch +deb http://debian.beryl-project.org/ etch main +deb-src http://debian.beryl-project.org/ etch main diff --git a/examples/sources/debian-backports b/examples/sources/debian-backports new file mode 100644 index 000000000..04362f059 --- /dev/null +++ b/examples/sources/debian-backports @@ -0,0 +1,9 @@ +## This is a sources.list for live-helper(7) to use packages from the +## Debian Etch backports repository. +## +## To enable it, copy this file to your config/chroot_sources directory, once +## as e.g. debian-backports.bootstrap and once as debian-backports.binary. + +# Debian backports for Etch +deb http://www.backports.org/debian/ etch-backports main +deb-src http://www.backports.org/debian/ etch-backports main diff --git a/examples/sources/debian-edu b/examples/sources/debian-edu new file mode 100644 index 000000000..9fb05e113 --- /dev/null +++ b/examples/sources/debian-edu @@ -0,0 +1,11 @@ +## This is a sources.list for live-helper(7) to use packages from the +## Debian Edu/Skolelinux repository. +## +## To enable it, copy this file to your config/chroot_sources directory, once +## as e.g. edu.bootstrap and once as edu.binary. +## +## Remeber to add debian-edu-archive-keyring to your package selection. + +# Debian Edu/Skolelinux +deb http://ftp.skolelinux.org/skolelinux/ etch-test local +deb-src http://ftp.skolelinux.org/skolelinux/ etch-test local diff --git a/examples/sources/fai b/examples/sources/fai new file mode 100644 index 000000000..7d2d7ecf6 --- /dev/null +++ b/examples/sources/fai @@ -0,0 +1,9 @@ +## This is a sources.list for live-helper(7) to use packages from the +## FAI - Fully Automated Install repository. +## +## To enable it, copy this file to your config/chroot_sources directory, once +## as e.g. fai.bootstrap and once as fai.binary. + +# FAI - Fully Automated Install +deb http://www.informatik.uni-koeln.de/fai/download/ etch koeln +deb-src http://www.informatik.uni-koeln.de/fai/download/ etch koeln diff --git a/examples/sources/live-backports b/examples/sources/live-backports new file mode 100644 index 000000000..3c1a2c190 --- /dev/null +++ b/examples/sources/live-backports @@ -0,0 +1,11 @@ +## This is a sources.list for live-helper(7) to use packages from the +## Debian Live Etch backports repository. +## +## To enable it, copy this file to your config/chroot_sources directory, once +## as e.g. live-backports.bootstrap and once as live-backports.binary. +## +## Remeber to add debian-unofficial-archive-keyring to your package selection. + +# Debian Live backports for Etch +deb http://live.debian.net/debian/ etch main +deb-src http://live.debian.net/debian/ etch main diff --git a/examples/sources/live-snapshot b/examples/sources/live-snapshot new file mode 100644 index 000000000..763deda1d --- /dev/null +++ b/examples/sources/live-snapshot @@ -0,0 +1,9 @@ +## This is a sources.list for live-helper(7) to use packages from the +## Debian Live Snapshot repository. +## +## To enable it, copy this file to your config/chroot_sources directory, once +## as e.g. live-snapshots.bootstrap and once as live-snapshots.binary. + +# Debian Live Snapshots +deb http://live.debian.net/debian-snapshots/ ./ +deb-src http://live.debian.net/debian-snapshots/ ./ -- cgit v1.2.3