From: Thierry Parmentelat Date: Fri, 24 May 2013 09:10:53 +0000 (+0200) Subject: add raring as a ubuntu distro X-Git-Tag: 5.2.3~29 X-Git-Url: http://git.onelab.eu/?p=build.git;a=commitdiff_plain;h=de450b59076fc12f01c4d4f54ba64d14181cd5f8 add raring as a ubuntu distro --- 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