- buildd/functions.sh: do not mv files if there was an error
during grml-live execution
* Added new grml-repository named grml-live which is intented
- to fix issues from Debian for grml-live builds.
+ to fix issues from Debian for grml-live builds. It is automatically
+ activated if you are building against unstable/sid and should
+ be used manually only if you realy know what you are doing. :)
* Use apt-pinning via /etc/grml/fai/config/hooks/instsoft.GRMLBASE
already and remove it from /etc/grml/fai/config/scripts/GRMLBASE/33-aptsetup
* Display version number of grml-live.
deb http://deb.grml.org/ grml-stable main
deb http://deb.grml.org/ grml-testing main
-deb http://deb.grml.org/ grml-live main
deb http://ftp.de.debian.org/debian etch main contrib non-free
#deb http://192.168.1.112/debian etch main contrib non-free
#deb http://deb.grml.org/ grml-stable main
#deb http://deb.grml.org/ grml-testing main
-#deb http://deb.grml.org/ grml-live main
#deb http://ftp.de.debian.org/debian etch main contrib non-free
#"
DIST="\|\ etch\ \|\ stable\ \|\ lenny\ \|\ testing\ \|\ sid\ \|\ unstable\ "
sed -i "s/\(deb .\+\)\([ \t]+\)$DIST\([ \t]+\)\(main \)/\1\2 $SUITE \3\4/" $LIVE_CONF
sed -i "s/\(deb .\+\)\([ \t]+\)$DIST\([ \t]+\)\(main \)/\1\2 $SUITE \3\4/" /etc/grml/fai/apt/sources.list
+ # notice: activate grml-live pool only if we are building against unstable:
+ if grep -qe unstable -qe sid /etc/grml/fai/apt/sources.list ; then
+ grep grml-stable /etc/grml/fai/apt/sources.list | \
+ sed 's/grml-stable/grml-live/' >> /etc/grml/fai/apt/sources.list
+ fi
sed -i "s|FAI_DEBOOTSTRAP=\"[a-z]* |FAI_DEBOOTSTRAP=\"$SUITE |" $LIVE_CONF
sed -i "s|FAI_DEBOOTSTRAP=\"[a-z]* |FAI_DEBOOTSTRAP=\"$SUITE |" $NFSROOT_CONF