support for jessie the latest debian
authorThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 4 Feb 2014 09:54:07 +0000 (10:54 +0100)
committerThierry Parmentelat <thierry.parmentelat@inria.fr>
Tue, 4 Feb 2014 09:54:07 +0000 (10:54 +0100)
README-fcdistros.txt
build.common
lbuild-initvm.sh
pkgs.py

index 4fcfaec..a300d7c 100644 (file)
@@ -12,7 +12,7 @@
 # #################### debians and ubuntus
 #
 # the build utilities can now produce a build VM for the most recent
-# debians (squeeze, wheezy) and ubuntus ( oreinic, precise, quantal,
+# debians (squeeze, wheezy, jessie) and ubuntus ( oreinic, precise, quantal,
 # raring, saucy )
 # 
 # of course we're nowhere close to supporting the whole PLC on these
index 268eaa7..f43cb49 100644 (file)
@@ -24,8 +24,9 @@ function pl_getDistro() {
     elif [ -f /etc/debian_version ] ; then
        case $(cat /etc/debian_version) in
            6.*) distro=squeeze ;;
-           7.*)   distro=wheezy  ;;
-           *)     distro=unknown.debian.in.build.common ;;
+           7.*) distro=wheezy  ;;
+           8.*) distro=jessie  ;;
+           *)   distro=unknown.debian.in.build.common ;;
        esac
     fi
     [ -z "$distro" ] && { echo "build.common.pl_getDistro-unknown"; exit 1; }
@@ -64,7 +65,7 @@ function pl_getReleaseName () {
        [Ss]L*)
            releasename=sl$release
            ;;
-       squeeze|wheezy|oneiric|precise|quantal|raring|saucy)
+       squeeze|wheezy|jessie|oneiric|precise|quantal|raring|saucy)
            releasename=$distro
            ;;
        *)
index 33cf44a..cea0838 100755 (executable)
@@ -174,7 +174,7 @@ function package_method () {
     fcdistro=$1; shift
     case $fcdistro in
        f[0-9]*|centos[0-9]*|sl[0-9]*) echo yum ;;
-       squeeze|wheezy|oneiric|precise|quantal|raring|saucy) echo debootstrap ;;
+       squeeze|wheezy|jessie|oneiric|precise|quantal|raring|saucy) echo debootstrap ;;
        *) echo Unknown distro $fcdistro ;;
     esac 
 }
@@ -473,7 +473,7 @@ EOF
 function debian_mirror () {
     fcdistro=$1; shift
     case $fcdistro in
-       squeeze|wheezy) 
+       squeeze|wheezy|jessie
            echo http://ftp2.fr.debian.org/debian/ ;;
        oneiric|precise|quantal|raring|saucy) 
            echo http://mir1.ovh.net/ubuntu/ubuntu/ ;;
diff --git a/pkgs.py b/pkgs.py
index f73a32e..50e0def 100755 (executable)
--- a/pkgs.py
+++ b/pkgs.py
@@ -38,7 +38,7 @@ known_fcdistros = [ 'centos5','centos6',
                     'f8', 'f10','f12', 'f14', 'f16', 'f18','f20',
                     'sl6', 
                     # debians
-                    'squeeze','wheezy',
+                    'squeeze','wheezy','jessie',
                     # ubuntus
                     'oneiric', 'precise', 'quantal', 'raring', 'saucy' ]
 default_pldistro='onelab'