X-Git-Url: https://iankelling.org/git/?a=blobdiff_plain;f=fai%2Fconfig%2Fbasefiles%2Fmk-basefile;h=a61010a59cfe3d1654cff8770b19d5ce2e2312c6;hb=d0b6a8cd4608fdffcf733f9180744819d8889be0;hp=3f539d8b782e44d0f1e489621a92c004652cea8d;hpb=2eebb95531424e04797094d622eebdd7ece5b38b;p=automated-distro-installer diff --git a/fai/config/basefiles/mk-basefile b/fai/config/basefiles/mk-basefile index 3f539d8..a61010a 100755 --- a/fai/config/basefiles/mk-basefile +++ b/fai/config/basefiles/mk-basefile @@ -23,6 +23,7 @@ MIRROR_DEBIAN=http://http.us.debian.org/debian #MIRROR_DEBIAN=http://localmirror/debian/ MIRROR_UBUNTU=http://mirror.netcologne.de/ubuntu/ +MIRROR_TRISQUEL=http://mirror.fsf.org/trisquel/ MIRROR_CENTOS=http://mirror.netcologne.de/ #MIRROR_CENTOS=http://localmirror #MIRROR_SLC=http://localmirror @@ -30,6 +31,7 @@ MIRROR_CENTOS=http://mirror.netcologne.de/ EXCLUDE_SQUEEZE=isc-dhcp-client,isc-dhcp-common,info,tasksel,tasksel-data EXCLUDE_WHEEZY=isc-dhcp-client,isc-dhcp-common,info,tasksel,tasksel-data EXCLUDE_JESSIE=isc-dhcp-client,isc-dhcp-common,info,tasksel,tasksel-data +EXCLUDE_BELENOS=dhcp3-client,dhcp3-common,info EXCLUDE_TRUSTY=dhcp3-client,dhcp3-common,info EXCLUDE_XENIAL=isc-dhcp-client,isc-dhcp-common,udhcpc,dibbler-client,dhcpcd5,info,tasksel,tasksel-data @@ -219,6 +221,16 @@ xenial() { } +belenos() { + ln -sf gutsy /usr/share/debootstrap/scripts/belenos + local arch=$1 + + check + debootstrap --arch $arch --exclude=${EXCLUDE_BELENOS} --include=${INCLUDE_DEBIAN} belenos $xtmp ${MIRROR_TRISQUEL} + cleanup-deb + tarit +} + unknown() { echo "Unknown distribution. Aborting." @@ -277,6 +289,7 @@ case "$target" in SLC7_64) slc amd64 7 ;; TRUSTY32) trusty i386 ;; TRUSTY64) trusty amd64 ;; + BELENOS64) belenos amd64 ;; XENIAL32) xenial i386 ;; XENIAL64) xenial amd64 ;; SQUEEZE32) squeeze i386 ;;