From: Michael Prokop Date: Sun, 9 Dec 2007 17:07:37 +0000 (+0100) Subject: Update buildd/ X-Git-Tag: 0.0.12~7 X-Git-Url: http://git.grml.org/?p=grml-live.git;a=commitdiff_plain;h=9e76910676247609e681ee4d1b7f4d955ca288dc Update buildd/ --- diff --git a/buildd/cleanup.sh b/buildd/cleanup.sh index 2f16549..69e48bb 100755 --- a/buildd/cleanup.sh +++ b/buildd/cleanup.sh @@ -1,50 +1,49 @@ #!/bin/sh -# Filename: /usr/share/grml-live/buildd/cleanup.sh +# Filename: cleanup.sh # Purpose: clean up daily builds directory - remove old files # 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. -# Latest change: YDATE [mika] +# Latest change: Sun Dec 09 18:02:43 CET 2007 [mika] ################################################################################ set -e . /etc/grml/grml-buildd.conf -[ -n "$RECIPIENT" ] || RECIPIENT=root@localhost - [ -n "$MIRROR_DIRECTORY" ] || exit 1 cd $MIRROR_DIRECTORY || exit 2 # we want to always keep a few images, no matter how old they are # but get rid of the oldest ones first of course :) -# so: how many images do we want to keep? +# so: how many images do we want to keep? DAYS=3 usually means 'keep 4 images' DAYS=3 REMOVE_ME="" for flavour in grml-small_etch grml-small_sid grml-medium_etch grml-medium_sid grml_sid grml_etch \ grml64-small_etch grml64-small_sid grml64-medium_etch grml64-medium_sid grml64_sid grml64_etch ; do - FILE_COUNT=$(ls -1 $flavour*.iso | wc -l) + FILE_COUNT=$(ls -1 $flavour/$flavour*.iso | wc -l) if [ "$FILE_COUNT" -gt "$DAYS" ] ; then - FILES=$(ls -1 $flavour*.iso | tail -"$DAYS") - OLD_FILES=$(ls $flavour*.iso | grep -v "$FILES") + FILES=$(ls -1 $flavour/$flavour*.iso | tail -"$DAYS") + OLD_FILES=$(ls $flavour/$flavour*.iso | grep -v "$FILES") for file in $OLD_FILES ; do REMOVE_ME="$REMOVE_ME $(find $file -mtime +$DAYS)" done fi done -[ -d .delete ] || mkdir .delete +[ -d .archive ] || mkdir .archive -# move them before we really delete them: for file in $REMOVE_ME ; do + # remove ISOs: test -f ${file} && rm -f $file - test -f ${file}.md5 && mv ${file}.md5 .delete + # ... but keep their md5sum: + test -f ${file}.md5 && mv ${file}.md5 .archive done # inform on successful removal: if [ "$(echo "$REMOVE_ME" | tr -d ' ' )" != "" ] ; then - echo "deleted files $REMOVE_ME" | mail -s "daily-builds cleanup script" $RECIPIENT + echo "deleted files $REMOVE_ME" | mail -s "daily-builds cleanup script" mika@grml.org fi ## END OF FILE ################################################################# diff --git a/buildd/files/.logo.png b/buildd/files/.logo.png new file mode 100644 index 0000000..093a089 Binary files /dev/null and b/buildd/files/.logo.png differ diff --git a/buildd/files/.style.css b/buildd/files/.style.css new file mode 100644 index 0000000..89dc499 --- /dev/null +++ b/buildd/files/.style.css @@ -0,0 +1,69 @@ +/* This stylesheet was created by Michael Prokop for grml.org */ +/* Design was inspired by TeZeuZ: */ +/* http://www.oswd.org/user/profile/id/6272 */ +/* http://alumnos.elo.utfsm.cl/~osrehe - thx! */ + +@media all { + html {background-color: #FFDA62;} + abbr[title] {border-bottom: 0px} + a {color:#C70036; text-decoration: underline} + acronym[title] {border-bottom: 1px dashed #000} + a.current {color:#999999} + a:hover {text-decoration: underline} + a.plain {text-decoration: none} + a.plain:hover {text-decoration: underline} + a.smalllink {font-size: 80%} + body {font-family: verdana, tahoma, helvetica, arial, sans-serif; font-size: 100%; background-color:#FFDA62; margin: 1em} + cite {font-size: 80%} + div.container {width: 90%; height: auto; text-align: left; background-color:#FFFFFF; border-style:solid; border-width:1px; border-color:#CFB8B8; margin: 0px auto 0px auto} + div.content {background-color:#FFFFFF; padding: 0.5em 0.5em 0.5em 0.5em; border-style:solid; border-width:1px; border-color:#F0F0F0; margin: 0.5em 0.5em 0.5em 0.5em} + div.content h3 a {color:#996666} + div.copyright {line-height: 3em; text-align:center; font-size:50%; background-color: #F8F8F8; color: #999999} + div.menu h3 a{color:#996666} + div.menu h3{font-size:70%; border-top-style:solid; border-top-width:1px; border-top-color:#E5E5E5; margin-bottom: -1em; border-bottom-width:0px} + div.menu {width: 10em; float: left; clear: left; background-color:#FFFFFF; padding: 0.5em 0.5em 0.5em 0.5em; border-style:solid; border-width:1px; border-color:#E5E5E5; margin: 0.5em 0.5em 0em 0.3em} + div.news a {font-weight:bold} + div.news {background-color:#FFFFFF; padding: 0em 0.5em 0.5em 0.5em; border-style:solid; border-width:1px; border-color:#E5E5E5; margin: 0em 0.5em 0.5em 12.2em} + div.news h3 a {color:#996666} + div.sub_links a {color: #FFFFFF} + div.sub_links {margin-top:0.5em; text-align:center; color: #FFFFFF; font-size:55%; clear: both; background-color:#8B8D7B} + h1 {color:#9C6562 ; font-size:110%; font-weight:bold} + /*h2 {color:#CC3300; font-size:90%; font-weight:bold} + h3 {color:#996666; font-size:70%; font-weight:bold; padding-bottom:0.3em; border-bottom-style:solid; border-bottom-width:1px; border-bottom-color:#CFB8B8;*/ + h2 {color:#00309C; font-size:100%; font-weight:bold} + h3 {color:#996666; font-size:90%; font-weight:bold; padding-bottom:0.3em; border-bottom-style:solid; border-bottom-width:1px; border-bottom-color:#CFB8B8; + margin-bottom:0em} + h4 {color:#7F7F7F; font-size:80%; font-weight:bold} + p {text-align:justify; color:#666666; font-size: 70%; line-height: 1.5em} + ul {color:#666666; font-size:70%} + #texbox {} + .toc {font-size:70%} + ol {font-size:70%} +/*div.search { + width: 10em; + float: left; + clear: left; + background-color:#FFFFFF; + padding: 0.5em 0.5em 0.5em 0.5em; + border-style:solid; border-width:1px; border-color:#E5E5E5; + margin: 0.5em 0.5em 0.3em 0.3em; +} +div.search h3{font-size:70%; border-bottom-width:0px} +.searchbox {font-size:70%; color:#666666; border-style:solid; border-width:1px; border-color:#E5E5E5; margin-bottom:0.5em} +div.copyright a {color: #AAA} + ul {font-size:70%; color:#666666; line-height: 1.5em; list-style: none} + .tablenoprint {display: none} + .nav {display: none} +*/ +} + +@media screen { + .active {background-color: #FFCC33} + .rahmen {background-color: #FEDB64; font-size: 90%; padding: 5px; border: 1px dotted black} + abbr[title], acronym[title] {cursor: help} +} + +@media print { + body {font-family: Verdana, Arial, Helvetica, sans-serif; color: #000000} + .rahmen {padding: 5px; border: 1px dotted black} +} diff --git a/buildd/files/HEADER.html b/buildd/files/HEADER.html new file mode 100644 index 0000000..86ddc47 --- /dev/null +++ b/buildd/files/HEADER.html @@ -0,0 +1,62 @@ + + +grml: daily grml snapshots / builds + + + + + +
+
+ +

Daily grml snapshots

+ +* + +

About

+ +

This directory contains automatically generated snapshots of the grml Linux Live-CD which were build using 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! +Thanks for helping us improve grml!

+ +

Notice: if the md5sum (.md5) of a file is missing please do not download +the ISO yet as there might be problems with the ISO.

+ +

Explanation of directory-/filenames

+ +
    +
  • grml_etch: normal, 32bit version based on Debian/etch (stable) +
  • grml_sid: normal, 32bit version based on Debian/sid (unstable) +
  • grml-medium_etch: medium, 32bit version based on Debian/etch (stable) +
  • grml-medium_sid: medium, 32bit version based on Debian/sid (unstable) +
  • grml-small_etch: small, 32bit version based on Debian/etch (stable) +
  • grml-small_sid: small, 32bit version based on Debian/sid (unstable) +
  • grml64_etch: normal, 64bit version based on Debian/etch (stable) +
  • grml64_sid: normal, 64bit version based on Debian/sid (unstable) +
  • grml64-medium-etch: medium, 64bit version based on Debian/etch (stable) +
  • grml64-medium-sid: medium, 64bit version based on Debian/sid (unstable) +
  • grml64-small-etch: small, 64bit version based on Debian/etch (stable) +
  • grml64-small-sid: small, 64bit version based on Debian/sid (unstable) +
+ +

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

+ +

Contact

+ +

Problems? Questions? Contact us.

+ + diff --git a/buildd/link_latest.sh b/buildd/link_latest.sh new file mode 100755 index 0000000..82e9e9e --- /dev/null +++ b/buildd/link_latest.sh @@ -0,0 +1,26 @@ +#!/bin/sh +# Filename: /usr/share/grml-live/buildd/link_latest.sh +# Purpose: create symlinks to the most recent snapshot ISOs +# 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. +# Latest change: Sun Dec 09 18:02:45 CET 2007 [mika] +################################################################################ + +set -e + +. /etc/grml/grml-buildd.conf + +[ -n "$MIRROR_DIRECTORY" ] || exit 1 +cd $MIRROR_DIRECTORY || exit 2 + +for flavour in grml-small_etch grml-small_sid grml-medium_etch grml-medium_sid grml_sid grml_etch \ + grml64-small_etch grml64-small_sid grml64-medium_etch grml64-medium_sid grml64_sid grml64_etch ; do + ISO="$(ls -1 $flavour/*.iso | tail -1)" + if [ -n "$ISO" ] ; then + ln -sf $ISO $(basename ${ISO%%_[0-9]*})_latest.iso + ln -sf ${ISO}.md5 $(basename ${ISO%%_[0-9]*})_latest.iso.md5 + fi +done + +## END OF FILE ################################################################# diff --git a/debian/changelog b/debian/changelog index 94f9ffc..b78f5b6 100644 --- a/debian/changelog +++ b/debian/changelog @@ -7,6 +7,10 @@ grml-live (0.0.12) unstable; urgency=low Drop syslinux from Depends. * Mention -u option if using the option by accident and the chroot does not exist yet. + * Update buildd/cleanup.sh and add buildd/files/.logo.png, + buildd/files/.style.css, buildd/files/HEADER.html and + buildd/link_latest.sh (create symlinks for latest snapshot ISOs). + -- Michael Prokop Sun, 09 Dec 2007 17:28:01 +0100