Merge branch 'upstream', fai 5.4
authorIan Kelling <iank@fsf.org>
Sun, 8 Oct 2017 17:16:17 +0000 (10:16 -0700)
committerIan Kelling <iank@fsf.org>
Sun, 8 Oct 2017 17:16:17 +0000 (10:16 -0700)
1  2 
fai/config/basefiles/mk-basefile
fai/config/class/DEBIAN.var
fai/config/package_config/DEBIAN
fai/config/package_config/FAIBASE
fai/config/scripts/DEBIAN/40-misc
fai/config/scripts/GRUB_PC/10-setup
fai/config/scripts/LAST/50-misc

index d9823cf6c366af338d6bd314d77b933885fc9546,b93831ca3493a506c1040149a1b32e2dfd1b2a29..b688a865e985d5a18186c8c7200f1782859957e0
  
  # Define your local mirros here
  # For the first stage, set the CentOS/SLC mirror in /etc/rinse/rinse.conf
- MIRROR_DEBIAN=http://http.us.debian.org/debian
+ MIRROR_DEBIAN=http://deb.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_JESSIE=info,tasksel,tasksel-data
+ EXCLUDE_STRETCH=info,tasksel,tasksel-data
+ EXCLUDE_BUSTER=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
++EXCLUDE_FLIDAS=udhcpc,dibbler-client,info,tasksel,tasksel-data
+ EXCLUDE_XENIAL=udhcpc,dibbler-client,info,tasksel,tasksel-data
  
+ # we need aptitude in the base file, since users may want to use it for installing packages
  INCLUDE_DEBIAN=aptitude
  
  
@@@ -263,12 -279,10 +282,12 @@@ case "$target" i
      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*)
-         debgeneric $target $MIRROR_DEBIAN ;;
+     SQUEEZE*|WHEEZY*|JESSIE*|STRETCH*|BUSTER*)
+         debgeneric $target $MIRROR_DEBIAN $ARCH;;
      *) echo "Unknown distribution. Aborting."
         prtdists
         exit 99 ;;
index ae445fa2a75b42f8bed125ddb7ea9cfdbad9f6bb,8f00bb917517969e35dcfc9dfdf28a0ea3d5155b..3823152c8a9901cc267790c8ef02c48873b90edb
@@@ -10,9 -9,9 +10,11 @@@ MODULESLIST="usbhid psmouse
  
  # if you have enough RAM (>2GB) you may want to enable this line. It
  # also puts /var/cache into a ramdisk.
 -#FAI_RAMDISKS="$target/var/lib/dpkg $target/var/cache"
 +# ian: uncommented
 +FAI_RAMDISKS="$target/var/lib/dpkg $target/var/cache"
  
  # if you want to use the faiserver as APT proxy
 -#APTPROXY=http://faiserver:3142
 +# ian: uncommented
 +APTPROXY=http://faiserver:3142
+ apt_cdn=http://deb.debian.org
Simple merge
index 98881756fb4c28d246cdd06fb77e948629f75266,5b1f9b8a8ba251c59e86d478aff3c06f2c7590d7..f2d0b29152c80236700deca40d65c987bb62d3fa
@@@ -1,4 -1,5 +1,5 @@@
 -PACKAGES install-norec DEBIAN
 +PACKAGES install-norec DEBIAN UBUNTU
+ apt-transport-https
  fai-client
  debconf-utils
  file
Simple merge
index 160dfa2e35fd05333a5b98a895b90e826818aa72,c19d4fa0438cf5b8633afabb4961c62486bc5dba..47b3ba49195db9c0978482e5e6350f5e71368ffb
@@@ -46,16 -42,12 +43,15 @@@ elif [[ $GROOT =~ 'hostdisk' ]]; the
      if [ $? -eq 0 ]; then
          echo "Grub installed on hostdisk $BOOT_DEVICE"
      fi
-     rm $target/boot/grub/device.map
  
  else
 -    $ROOTCMD grub-install --no-floppy "$GROOT"
 -    if [ $? -eq 0 ]; then
 -        echo "Grub installed on $BOOT_DEVICE = $GROOT"
 -    fi
 +    for dev in $BOOT_DEVICE; do
 +        GROOT=$($ROOTCMD grub-probe -tdrive -d $dev)
 +        $ROOTCMD grub-install --no-floppy "$GROOT"
 +        if [ $? -eq 0 ]; then
 +            echo "Grub installed on $dev = $GROOT"
 +        fi
 +    done
  fi
  $ROOTCMD update-grub
  
Simple merge