X-Git-Url: http://git.grml.org/?p=grml-live.git;a=blobdiff_plain;f=grml-live;h=171457ff581e135bb83c8222e259c239b2bf44fa;hp=1ec32e599d65104576c1cb9abe9bd8aa2d11ef64;hb=cebf5e26632f0b5669b212fae8c44874865bbb02;hpb=f7739a126c2223d549cc0865daa979ef20bdbae0 diff --git a/grml-live b/grml-live index 1ec32e5..171457f 100755 --- a/grml-live +++ b/grml-live @@ -252,6 +252,11 @@ if [ -n "$SUITE" ] ; then 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