From 15bc86661648c14b3919595f01e23642e490a09d Mon Sep 17 00:00:00 2001 From: Valentin Samir Date: Fri, 10 May 2013 18:30:14 +0200 Subject: [PATCH] [pxeboot] Wheezy est stable, plus besoin des "backports" pour squeeze --- gestion/gen_confs/pxeboot/config | 2 +- gestion/gen_confs/pxeboot/pxeboot | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/gestion/gen_confs/pxeboot/config b/gestion/gen_confs/pxeboot/config index d934bed3..e59ca1f4 100644 --- a/gestion/gen_confs/pxeboot/config +++ b/gestion/gen_confs/pxeboot/config @@ -27,7 +27,7 @@ DEBIAN_ARCHS="i386 amd64" DEBIAN_FTP="ftp://ftp.crans.org/debian/dists" #Image debian custom avec plus de drivers : http://kmuto.jp/debian/d-i/ -DEBIAN_BACKPORT_DISTS="squeeze" +DEBIAN_BACKPORT_DISTS="" DEBIAN_BACKPORT_ARCHS="i386 amd64" DEBIAN_BACKPORT_FTP="ftp://cdimage.debian.org/cdimage/unofficial/backports/" diff --git a/gestion/gen_confs/pxeboot/pxeboot b/gestion/gen_confs/pxeboot/pxeboot index c120715f..47e034db 100755 --- a/gestion/gen_confs/pxeboot/pxeboot +++ b/gestion/gen_confs/pxeboot/pxeboot @@ -240,6 +240,7 @@ for dist in $DEBIAN_BACKPORT_DISTS; do done done +if [[ $DEBIAN_BACKPORT_DISTS != "" ]]; then cat >> $TFTPROOT/boot-screens/menu.cfg << EOF menu begin debian-backport menu title Debian Backport @@ -289,6 +290,7 @@ done cat >> $TFTPROOT/boot-screens/menu.cfg << EOF menu end EOF +fi; ########################### # fin DEBIAN BACKPORT # ###########################