From 8194543299a213d9597b85d726fe2085064dfcc7 Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Mon, 3 Aug 2009 15:05:59 +0200 Subject: [PATCH] buildd: add cronjob based on what the grml team is using at daily.grml.org --- buildd/cronjob.sh | 47 +++++++++++++++++++ buildd/files/HEADER.html | 114 +++++++++++++++++++++++++++++++++++------------ buildd/files/header.txt | 36 +++++++++++++++ debian/changelog | 6 ++- 4 files changed, 172 insertions(+), 31 deletions(-) create mode 100644 buildd/cronjob.sh create mode 100644 buildd/files/header.txt diff --git a/buildd/cronjob.sh b/buildd/cronjob.sh new file mode 100644 index 0000000..80b63d4 --- /dev/null +++ b/buildd/cronjob.sh @@ -0,0 +1,47 @@ +#!/bin/sh +# Filename: cronjob.sh +# Purpose: example for a grml-live buildd cronjob setup +# Authors: grml-team (grml.org), (c) Michael Prokop +# Bug-Reports: see http://grml.org/bugs/ +# License: This file is licensed under the GPL v2 or any later version. +################################################################################ +# Add something like that to the crontab to execute grml-live buildd +# every day at a specific time: +# 30 1 * * * /usr/share/grml-live/buildd/cronjob.sh +################################################################################ + +if [ -r /usr/share/grml-live/buildd/buildd_running ] ; then + echo "already running instance of grml-live buildd found, exiting.">&2 + echo "if you think this is not true: rm /usr/share/grml-live/buildd/buildd_running">&2 + exit 1 +fi + +echo $$ > /usr/share/grml-live/buildd/buildd_running + +/usr/share/grml-live/buildd/grml-live_autobuild_grml64-small_lenny.sh && \ +/usr/share/grml-live/buildd/grml-live_autobuild_grml64-small_squeeze.sh && \ +/usr/share/grml-live/buildd/grml-live_autobuild_grml64-small_sid.sh && \ +/usr/share/grml-live/buildd/grml-live_autobuild_grml-small_lenny.sh && \ +/usr/share/grml-live/buildd/grml-live_autobuild_grml-small_squeeze.sh && \ +/usr/share/grml-live/buildd/grml-live_autobuild_grml-small_sid.sh + +/usr/share/grml-live/buildd/grml-live_autobuild_grml64-medium_lenny.sh && \ +/usr/share/grml-live/buildd/grml-live_autobuild_grml64-medium_squeeze.sh && \ +/usr/share/grml-live/buildd/grml-live_autobuild_grml64-medium_sid.sh && \ +/usr/share/grml-live/buildd/grml-live_autobuild_grml-medium_lenny.sh && \ +/usr/share/grml-live/buildd/grml-live_autobuild_grml-medium_squeeze.sh && \ +/usr/share/grml-live/buildd/grml-live_autobuild_grml-medium_sid.sh + +/usr/share/grml-live/buildd/grml-live_autobuild_grml64-large_lenny.sh && \ +/usr/share/grml-live/buildd/grml-live_autobuild_grml64-large_squeeze.sh && \ +/usr/share/grml-live/buildd/grml-live_autobuild_grml64-large_sid.sh && \ +/usr/share/grml-live/buildd/grml-live_autobuild_grml-large_lenny.sh && \ +/usr/share/grml-live/buildd/grml-live_autobuild_grml-large_squeeze.sh && \ +/usr/share/grml-live/buildd/grml-live_autobuild_grml-large_sid.sh + +/usr/share/grml-live/buildd/upload_isos.sh && \ +/usr/share/grml-live/buildd/remove_isos.sh + +rm -f /usr/share/grml-live/buildd/buildd_running + +## END OF FILE ################################################################# diff --git a/buildd/files/HEADER.html b/buildd/files/HEADER.html index addb60d..ee06d96 100644 --- a/buildd/files/HEADER.html +++ b/buildd/files/HEADER.html @@ -1,6 +1,20 @@ - + + -grml: daily grml snapshots / builds +grml.org: daily grml snapshots / builds + + + + + + + + + + + + + @@ -16,8 +30,9 @@

About

This webpage provides automatically generated snapshots of -the grml Linux Live-CD which were build using grml-live.

+the grml Linux Live system which were build +using grml-live. If you don't know +what's grml please visit the grml FAQ.

WARNING: Feel free to use the ISOs but please notice that they are neither official devel releases nor stable releases. They provide the latest changes, but they also might have known issues. In fact, they may not work at all. So: PLEASE USE THEM WITH CAUTION!

-

Please report any bugs you notice! -Thanks for helping us improve grml!

+

Please report any bugs you notice.

+ + + + +

Download

- -

Explanation of directory-/filenames

+

Debian/stable based grml-ISOs

+

Debian/testing based grml-ISOs

+ + + +

Debian/unstable based grml-ISOs

+ + + +

base.tgz files

+

The base.tgz files can be used for the base chroot/debootstrap -system. Place base.tgz as /etc/grml/fai/config/basefiles/I386.tar.gz and -base64.tgz as /etc/grml/fai/config/basefiles/AMD64.tar.gz

+system within grml-live. Place base.tgz (sha1: 2318db46929f01d8d47f1b4849b6d97e04d7fdc4) +as /etc/grml/fai/config/basefiles/I386.tar.gz and base64.tgz (sha1: +a696423e6e94c897cf41940d1d49b732cb4cd6bb) as +/etc/grml/fai/config/basefiles/AMD64.tar.gz

Contact

@@ -69,7 +125,7 @@ base64.tgz as /etc/grml/fai/config/basefiles/AMD64.tar.gz

please do not forget to provide all the relevant information (especially which grml flavour and version you are refering to).

- + + + + diff --git a/buildd/files/header.txt b/buildd/files/header.txt new file mode 100644 index 0000000..e3438bc --- /dev/null +++ b/buildd/files/header.txt @@ -0,0 +1,36 @@ +Daily grml snapshots +==================== + +This directory contains automatically generated grml snapshots which were +build using grml-live: + + http://grml.org/grml-live/ + +Feel free to use the ISOs but please notice that they are neither official +devel releases nor stable releases - so: PLEASE USE THEM WITH CAUTION! + +Please report any bugs you notice! http://grml.org/bugs/ +Thanks for helping us improve grml! + +Explanation of filenames (the date describes the time of building the ISO): + + * grml_lenny: normal, 32bit version based on Debian/lenny (stable) + * grml_squeeze: normal, 32bit version based on Debian/squeeze (testing) + * grml_sid: normal, 32bit version based on Debian/sid (unstable) + * grml-medium_lenny: medium, 32bit version based on Debian/lenny (stable) + * grml-medium_squeeze: medium, 32bit version based on Debian/squeeze (testing) + * grml-medium_sid: medium, 32bit version based on Debian/sid (unstable) + * grml-small_lenny: small, 32bit version based on Debian/lenny (stable) + * grml-small_squeeze: small, 32bit version based on Debian/squeeze (testing) + * grml-small_sid: small, 32bit version based on Debian/sid (unstable) + * grml64_lenny: normal, 64bit version based on Debian/lenny (stable) + * grml64_squeeze: normal, 64bit version based on Debian/squeeze (testing) + * grml64_sid: normal, 64bit version based on Debian/sid (unstable) + * grml64-medium-lenny: medium, 64bit version based on Debian/lenny (stable) + * grml64-medium-squeeze: medium, 64bit version based on Debian/squeeze (testing) + * grml64-medium-sid: medium, 64bit version based on Debian/sid (unstable) + * grml64-small-lenny: small, 64bit version based on Debian/lenny (stable) + * grml64-small-squeeze: small, 64bit version based on Debian/squeeze (testing) + * grml64-small-sid: small, 64bit version based on Debian/sid (unstable) + + Michael 'mika' Prokop - http://grml.org/ diff --git a/debian/changelog b/debian/changelog index 0e1c97c..6f5afe2 100644 --- a/debian/changelog +++ b/debian/changelog @@ -21,9 +21,11 @@ grml-live (0.9.20) UNRELEASED; urgency=low if someone calls grml-live with a typo in the -s option. * Add exception for libewf1 and libstdc++2.10-glibc2.2 in /etc/grml/fai/config/scripts/GRMLBASE/40-deborphan. - * buildd: add support for building squeeze based ISOs. + * buildd: + - add support for building squeeze based ISOs. + - add cronjob based on what the grml team is using at daily.grml.org - -- Michael Prokop Mon, 03 Aug 2009 14:52:42 +0200 + -- Michael Prokop Mon, 03 Aug 2009 15:05:26 +0200 grml-live (0.9.19) unstable; urgency=low -- 2.1.4