From de450b59076fc12f01c4d4f54ba64d14181cd5f8 Mon Sep 17 00:00:00 2001 From: Thierry Parmentelat Date: Fri, 24 May 2013 11:10:53 +0200 Subject: [PATCH 1/1] add raring as a ubuntu distro --- README-fcdistros.txt | 2 +- build.common | 2 +- pkgs.py | 2 +- vbuild-init-vserver.sh | 4 ++-- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/README-fcdistros.txt b/README-fcdistros.txt index cc3ded53..ab3e1555 100644 --- a/README-fcdistros.txt +++ b/README-fcdistros.txt @@ -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) and ubuntus ( oreinic, precise, quantal, raring ) # # of course we're nowhere close to supporting the whole PLC on these # systems, as packaging for debian requires manual tweaks in every diff --git a/build.common b/build.common index b2921432..5d496032 100644 --- a/build.common +++ b/build.common @@ -63,7 +63,7 @@ function pl_getReleaseName () { [Ss]L*) releasename=sl$release ;; - squeeze|wheezy|oneiric|precise|quantal) + squeeze|wheezy|oneiric|precise|quantal|raring) releasename=$distro ;; *) diff --git a/pkgs.py b/pkgs.py index 3d97cc82..84010db6 100755 --- a/pkgs.py +++ b/pkgs.py @@ -40,7 +40,7 @@ known_fcdistros = [ 'centos5','centos6', # debians 'squeeze','wheezy', # ubuntus - 'oneiric', 'precise', 'quantal' ] + 'oneiric', 'precise', 'quantal', 'raring' ] default_pldistro='onelab' known_keywords=['groupname', 'groupdesc', diff --git a/vbuild-init-vserver.sh b/vbuild-init-vserver.sh index 49e183de..11e30903 100755 --- a/vbuild-init-vserver.sh +++ b/vbuild-init-vserver.sh @@ -85,7 +85,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) echo debootstrap ;; + squeeze|wheezy|oneiric|precise|quantal|raring) echo debootstrap ;; *) echo Unknown distro $fcdistro ;; esac } @@ -96,7 +96,7 @@ function debian_mirror () { case $fcdistro in squeeze|wheezy) echo http://ftp2.fr.debian.org/debian/ ;; - oneiric|precise|quantal) + oneiric|precise|quantal|raring) echo http://mir1.ovh.net/ubuntu/ubuntu/ ;; *) echo unknown distro $fcdistro; exit 1;; esac -- 2.45.2