--- /dev/null
+ian@treetowl.11407:1508122283
\ No newline at end of file
# It's code looks like this:
# if [[ ! -e /a/bin/fai/fai-wrapper ]]; then
# case $HOSTNAME in
-# tp) DEBIAN STABLE VOL_STABLE STABLE_FREE;;
+# tp) DEBIAN STRETCH VOL_STRETCH STRETCH_FREE;;
# # add more multi-boot hostnames here
# esac
# fi
#
# Each host defines the base distro: UBUNTU or DEBIAN.
# the disto version, also the basefile name if we aren't installing debian stable:
-# STABLE, STRETCH64, XENIAL64, BELENOS64, FLIDAS64
+# STRETCH64, XENIAL64, BELENOS64, FLIDAS64
# the distro subvol name, we can add as many of these as we want:
-# VOL_STABLE, VOL_STABLE_BOOTSTRAP, VOL_STRETCH, VOL_XENIAL, VOL_BELENOS, VOL_FLIDAS
-# Using VOL_STABLE_BOOTSTRAP sets up the install to act like a pxe rom if
+# VOL_TESTING, VOL_STRETCH, VOL_XENIAL, VOL_BELENOS, VOL_FLIDAS
+# Using VOL_STRETCH_BOOTSTRAP sets up the install to act like a pxe rom if
# grub sets a specific var.
# and the class which defines the apt sources files we want,
-# STABLE_FREE, STABLE_NONFREE, TESTING_FREE, TESTING_NONFREE,
-# XENIAL_FREE (no XENIAL_NONFREE setup yet), BELENOS, FLIDAS, STABLE_LINODE.
+# STRETCH_FREE, STRETCH_NONFREE, TESTING_FREE, TESTING_NONFREE,
+# XENIAL_FREE (no XENIAL_NONFREE setup yet), BELENOS, FLIDAS, STRETCH_LINODE.
# This is a little redundant in some cases, but it keeps things
# simpler.
#
echo "DEBIAN"
fi
if isdebian-stable; then
- echo "STABLE"
+ echo "STRETCH"
case $HOSTNAME in
- li|lj) echo "STABLE_LINODE" ;;
+ li|lj) echo "STRETCH_LINODE" ;;
*)
# nonfree repo is not going away any time soon due to
# gcc-doc being in nonfree
- echo "STABLE_NONFREE"
+ echo "STRETCH_NONFREE"
;;
esac
elif isdebian-testing; then
--- /dev/null
+DEBIAN
\ No newline at end of file
cp -rT $src $dst
fi
-if ifclass VOL_STABLE_BOOTSTRAP; then
+if ifclass VOL_STRETCH_BOOTSTRAP; then
exit 0
fi
--- /dev/null
+DEBIAN
\ No newline at end of file
Explanation: dev, and their mailing list says better to use recent version
Explanation: to avoid bugs. linux-base is needed for the kernel,
Explanation: which you can find out by failing
-Explanation: apt-get install linux-image-amd64/jessie-backports
+Explanation: apt-get install linux-image-amd64/stretch-backports
Explanation: And then trying aptitude -s install, or
-Explanation: apt-get -t jessie-backports install linux-image-amd64
+Explanation: apt-get -t stretch-backports install linux-image-amd64
Explanation:
Explanation:
Package: tar linux-image-amd64 linux-base btrfs-tools
-Pin: release a=jessie-backports
+Pin: release a=stretch-backports
Pin-Priority: 500
Package: *
-Pin: release a=testing
+Pin: release a=buster
Pin-Priority: -10
Package: *
-Pin: release a=testing-updates
+Pin: release a=buster-updates
Pin-Priority: -10
+++ /dev/null
-deb http://http.us.debian.org/debian jessie main
-deb-src http://http.us.debian.org/debian jessie main
-
-deb http://security.debian.org/ jessie/updates main
-deb-src http://security.debian.org/ jessie/updates main
-
-deb http://http.us.debian.org/debian jessie-updates main
-deb-src http://http.us.debian.org/debian jessie-updates main
-
-deb http://http.debian.net/debian jessie-backports main
-deb-src http://http.debian.net/debian jessie-backports main
+++ /dev/null
-deb http://mirrors.linode.com/debian/ jessie main
-deb-src http://mirrors.linode.com/debian/ jessie main
-
-deb http://security.debian.org/ jessie/updates main
-deb-src http://security.debian.org/ jessie/updates main
-
-# jessie-updates, previously known as 'volatile'
-deb http://mirrors.linode.com/debian/ jessie-updates main
-deb-src http://mirrors.linode.com/debian/ jessie-updates main
-
-deb http://mirrors.linode.com/debian/ jessie-backports main
-deb-src http://mirrors.linode.com/debian/ jessie-backports main
-
-deb http://mirrors.linode.com/debian testing main
-deb-src http://mirrors.linode.com/debian testing main
-
-deb http://security.debian.org/ testing/updates main
-deb-src http://security.debian.org/ testing/updates main
-
-deb http://mirrors.linode.com/debian testing-updates main
-deb-src http://mirrors.linode.com/debian testing-updates main
-
-deb http://mirrors.linode.com/debian unstable main
-deb-src http://mirrors.linode.com/debian unstable main
+++ /dev/null
-deb http://http.us.debian.org/debian jessie main contrib non-free
-deb-src http://http.us.debian.org/debian jessie main contrib non-free
-
-deb http://security.debian.org/ jessie/updates main contrib non-free
-deb-src http://security.debian.org/ jessie/updates main contrib non-free
-
-deb http://http.us.debian.org/debian jessie-updates main contrib non-free
-deb-src http://http.us.debian.org/debian jessie-updates main contrib non-free
-
-deb http://http.debian.net/debian jessie-backports main contrib non-free
-deb-src http://http.debian.net/debian jessie-backports main contrib non-free
--- /dev/null
+deb http://http.us.debian.org/debian stretch main
+deb-src http://http.us.debian.org/debian stretch main
+
+deb http://security.debian.org/ stretch/updates main
+deb-src http://security.debian.org/ stretch/updates main
+
+deb http://http.us.debian.org/debian stretch-updates main
+deb-src http://http.us.debian.org/debian stretch-updates main
+
+deb http://http.debian.net/debian stretch-backports main
+deb-src http://http.debian.net/debian stretch-backports main
--- /dev/null
+deb http://mirrors.linode.com/debian/ stretch main
+deb-src http://mirrors.linode.com/debian/ stretch main
+
+deb http://security.debian.org/ stretch/updates main
+deb-src http://security.debian.org/ stretch/updates main
+
+# stretch-updates, previously known as 'volatile'
+deb http://mirrors.linode.com/debian/ stretch-updates main
+deb-src http://mirrors.linode.com/debian/ stretch-updates main
+
+deb http://mirrors.linode.com/debian/ stretch-backports main
+deb-src http://mirrors.linode.com/debian/ stretch-backports main
+
+deb http://mirrors.linode.com/debian stretch main
+deb-src http://mirrors.linode.com/debian stretch main
+
+deb http://security.debian.org/ stretch/updates main
+deb-src http://security.debian.org/ stretch/updates main
+
+deb http://mirrors.linode.com/debian stretch-updates main
+deb-src http://mirrors.linode.com/debian stretch-updates main
+
+deb http://mirrors.linode.com/debian unstable main
+deb-src http://mirrors.linode.com/debian unstable main
--- /dev/null
+deb http://http.us.debian.org/debian stretch main contrib non-free
+deb-src http://http.us.debian.org/debian stretch main contrib non-free
+
+deb http://security.debian.org/ stretch/updates main contrib non-free
+deb-src http://security.debian.org/ stretch/updates main contrib non-free
+
+deb http://http.us.debian.org/debian stretch-updates main contrib non-free
+deb-src http://http.us.debian.org/debian stretch-updates main contrib non-free
+
+deb http://http.debian.net/debian stretch-backports main contrib non-free
+deb-src http://http.debian.net/debian stretch-backports main contrib non-free
+++ /dev/null
-TESTING_FREE
\ No newline at end of file
+++ /dev/null
-TESTING_NONFREE
\ No newline at end of file
#!/bin/bash
# exit for any vm which is not our test vm
-if ifclass VM && ! ifclass demohost || ifclass VOL_STABLE_BOOTSTRAP; then
+if ifclass VM && ! ifclass demohost || ifclass VOL_STRETCH_BOOTSTRAP; then
exit 0
fi
--- /dev/null
+instsoft.DEBIAN
\ No newline at end of file
if [[ ! $DISTRO ]]; then
- if ifclass VOL_STABLE_BOOTSTRAP; then
- DISTRO=debianstable_bootstrap
+ if ifclass VOL_STRETCH_BOOTSTRAP; then
+ DISTRO=stretch_bootstrap
elif ifclass VOL_STRETCH; then
- DISTRO=debiantesting
- elif ifclass VOL_STABLE; then
- DISTRO=debianstable
+ DISTRO=debianstretch
elif ifclass VOL_XENIAL; then
DISTRO=ubuntuxenial
elif ifclass VOL_BELENOS; then
fi
-if [[ $DISTRO != debianstable_bootstrap ]]; then
+if [[ $DISTRO != stretch_bootstrap ]]; then
# bootstrap distro doesn't use separate encrypted root.
mount -o subvolid=0 $first_root_crypt /mnt
# systemd creates subvolumes we want to delete.
mkdir -p /mnt/grub2
cp $FAI/distro-install-common/libreboot_grub.cfg /mnt/grub2
-if [[ $DISTRO == debianstable_bootstrap ]]; then
+if [[ $DISTRO == stretch_bootstrap ]]; then
# this is just convenience for the libreboot_grub config
# so we can glob the other ones easier.
boot_vol=$DISTRO
grub-editenv /mnt/grubenv set last_boot=/$boot_vol
umount /mnt
-if [[ $DISTRO == debianstable_bootstrap ]]; then
+if [[ $DISTRO == stretch_bootstrap ]]; then
cat > /tmp/fai/fstab <<EOF
$first_boot_dev / btrfs noatime,subvol=$boot_vol 0 0
EOF
fi
$FAI/distro-install-common/end
-if ifclass VOL_STABLE_BOOTSTRAP; then
+if ifclass VOL_STRETCH_BOOTSTRAP; then
fcopy -ri /etc/systemd/system
chroot $FAI_ROOT bash <<'EOFOUTER'
systemctl enable fai_check.service