X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fbasefiles%2Fmk-basefile;h=d9823cf6c366af338d6bd314d77b933885fc9546;hb=da61a304a10de72288782a9d872769fe44576f50;hp=6d6cfca3700791aa69ea37c7f89d627196800411;hpb=056eb4e90e13b2d8f7cbb8c3b875f35bf0fa207e;p=automated-distro-installer diff --git a/fai/config/basefiles/mk-basefile b/fai/config/basefiles/mk-basefile index 6d6cfca..d9823cf 100755 --- a/fai/config/basefiles/mk-basefile +++ b/fai/config/basefiles/mk-basefile @@ -2,7 +2,7 @@ # mk-basefile, create basefiles for some distributions # -# Thomas Lange, Uni Koeln, 2011-2016 +# Thomas Lange, Uni Koeln, 2011-2017 # based on the Makefile implementation of Michael Goetze # Supported distributions (each i386/amd64): @@ -17,16 +17,18 @@ # Define your local mirros here # For the first stage, set the CentOS/SLC mirror in /etc/rinse/rinse.conf -MIRROR_DEBIAN=http://httpredir.debian.org/debian/ +MIRROR_DEBIAN=http://http.us.debian.org/debian MIRROR_UBUNTU=http://mirror.netcologne.de/ubuntu/ +MIRROR_TRISQUEL=http://mirror.fsf.org/trisquel/ MIRROR_CENTOS=http://mirror.netcologne.de/ EXCLUDE_SQUEEZE=isc-dhcp-client,isc-dhcp-common,info,tasksel,tasksel-data EXCLUDE_WHEEZY=info,tasksel,tasksel-data EXCLUDE_JESSIE=tasksel,tasksel-data EXCLUDE_STRETCH=tasksel,tasksel-data - +EXCLUDE_BELENOS=dhcp3-client,dhcp3-common,info EXCLUDE_TRUSTY=dhcp3-client,dhcp3-common,info +EXCLUDE_FLIDAS=tasksel,tasksel-data EXCLUDE_XENIAL=tasksel,tasksel-data INCLUDE_DEBIAN=aptitude @@ -245,6 +247,7 @@ if [ $? -eq 1 ]; then echo "mktemp failed. Aborting." exit 2 fi +chmod 755 $xtmp target=$1 # also the name of the output file @@ -260,6 +263,8 @@ case "$target" in SLC6_32) slc i386 6 ;; SLC6_64) slc amd64 6 ;; SLC7_64) slc amd64 7 ;; + BELENOS*|FLIDAS*) + debgeneric $target $MIRROR_TRISQUEL ;; TRUSTY*|XENIAL*) debgeneric $target $MIRROR_UBUNTU ;; SQUEEZE*|WHEEZY*|JESSIE*|STRETCH*)