Debian: Buster is now default, drop jessie

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>
master
Robert Nelson 5 years ago
parent b5f0e1d39c
commit 60f24f3523

@ -1,7 +1,7 @@
This file describes how you would install Debian's This file describes how you would install Debian's
'Network Installer' or netinstall on an SD Card. This 'Network Installer' or netinstall on an SD Card. This
SD card would then be used in the Beagleboard to install SD card would then be used in the Beagleboard to install
Debian Squeeze. Debian Buster.
If you haven't yet downlaoded the git repo which holds the If you haven't yet downlaoded the git repo which holds the
necessary software, you can do that this way; necessary software, you can do that this way;
@ -35,7 +35,7 @@ $ sudo ./mk_mmc.sh --mmc /dev/sdb/
You'll need to also provide the correct argument to the --dtb and the You'll need to also provide the correct argument to the --dtb and the
--distro arguments. In my case, I did this; --distro arguments. In my case, I did this;
$ sudo ./mk_mmc.sh --mmc /dev/sdb/ --dtb omap3-beagle-xm --distro jessie $ sudo ./mk_mmc.sh --mmc /dev/sdb/ --dtb omap3-beagle-xm --distro buster
You'll need to be root because the script is going to call fdisk which You'll need to be root because the script is going to call fdisk which
usually lives under /sbin/ usually lives under /sbin/
@ -68,10 +68,11 @@ Required Options:
Optional: Optional:
--distro <distro> --distro <distro>
Debian: Debian:
wheezy-armhf (Debian 7) stretch (Debian 9)
jessie (Debian 8) <default> buster (Debian 10) <default>
Ubuntu: Ubuntu:
trusty (14.04) (EOL: April 2019) xenial (16.04 LTS)
bionic (18.04 LTS)
--firmware --firmware
Add distro firmware Add distro firmware

@ -34,8 +34,8 @@ Required Options:
Optional: Optional:
--distro <distro> --distro <distro>
Debian: Debian:
jessie (Debian 8) stretch (Debian 9)
stretch (Debian 9) <default> buster (Debian 10) <default>
Ubuntu: Ubuntu:
xenial (16.04 LTS) xenial (16.04 LTS)
bionic (18.04 LTS) bionic (18.04 LTS)

@ -11,8 +11,7 @@ trusty-armhf-netboot|xenial-armhf-netboot|bionic-armhf-netboot)
HTTP_IMAGE="http://ports.ubuntu.com/ubuntu-ports/dists" HTTP_IMAGE="http://ports.ubuntu.com/ubuntu-ports/dists"
BASE_IMAGE="generic/netboot" BASE_IMAGE="generic/netboot"
;; ;;
jessie-armhf-netboot|stretch-armhf-netboot|buster-armhf-netboot) stretch-armhf-netboot|buster-armhf-netboot)
#http://ftp.us.debian.org/debian/dists/jessie/main/installer-armhf/
#http://ftp.us.debian.org/debian/dists/stretch/main/installer-armhf/ #http://ftp.us.debian.org/debian/dists/stretch/main/installer-armhf/
#http://ftp.us.debian.org/debian/dists/buster/main/installer-armhf/ #http://ftp.us.debian.org/debian/dists/buster/main/installer-armhf/
HTTP_IMAGE="http://ftp.debian.org/debian/dists" HTTP_IMAGE="http://ftp.debian.org/debian/dists"

@ -1,77 +0,0 @@
### Apt setup
# You can choose to install non-free and contrib software.
d-i apt-setup/non-free boolean true
d-i apt-setup/contrib boolean true
# The Wheezy, USB disabled (no keyboard access) till after you select keymap bug...
#(this is not needed in serial mode)
#d-i console-tools/archs string skip-config
#d-i debian-installer/locale string en_US
#d-i console-keymaps-at/keymap select us
#Removes the prompt about missing modules:
# Continue without installing a kernel?
d-i base-installer/kernel/skip-install boolean true
# Continue the install without loading kernel modules?
d-i anna/no_kernel_modules boolean true
# Stop Debian from installing random kernel choice
d-i base-installer/kernel/image select none
# Additional repositories, local[0-9] available
#d-i apt-setup/local0/repository string \
# http://local.server/debian stable main
#d-i apt-setup/local0/comment string local server
# Enable deb-src lines
#d-i apt-setup/local0/source boolean true
# URL to the public key of the local repository; you must provide a key or
# apt will complain about the unauthenticated repository and so the
# sources.list line will be left commented out
#d-i apt-setup/local0/key string http://local.server/key
d-i apt-setup/local0/repository string http://repos.rcn-ee.com/debian/ jessie main
#apt-cacher-ng allows "custom.gpg"
d-i apt-setup/local0/key string http://repos.rcn-ee.com/debian/conf/custom.gpg
# Controls whether to use NTP to set the clock during the install
d-i clock-setup/ntp boolean true
# NTP server to use. The default is almost always fine here.
d-i clock-setup/ntp-server string pool.ntp.org
### Partitioning
## Partitioning example
# If the system has free space you can choose to only partition that space.
# This is only honoured if partman-auto/method (below) is not set.
d-i partman-auto/init_automatically_partition select biggest_free
# Alternatively, you may specify a disk to partition. If the system has only
# one disk the installer will default to using that, but otherwise the device
# name must be given in traditional, non-devfs format (so e.g. /dev/hda or
# /dev/sda, and not e.g. /dev/discs/disc0/disc).
# For example, to use the first SCSI/SATA hard disk:
d-i partman-auto/disk string /dev/mmcblk0
# Or provide a recipe of your own...
# If you have a way to get a recipe file into the d-i environment, you can
# just point at it.
d-i partman-auto/expert_recipe_file string /partition_recipe
# Individual additional packages to install
d-i pkgsel/include string bash dosfstools initramfs-tools rcn-ee-archive-keyring util-linux wget board-firmware
# Whether to upgrade packages after debootstrap.
# Allowed values: none, safe-upgrade, full-upgrade
d-i pkgsel/upgrade select safe-upgrade
# Controls whether to use NTP to set the clock during the install
d-i clock-setup/ntp boolean true
# During installations from serial console, the regular virtual consoles
# (VT1-VT6) are normally disabled in /etc/inittab. Uncomment the next
# line to prevent this.
d-i finish-install/keep-consoles boolean true
# Avoid that last message about the install being complete.
d-i finish-install/reboot_in_progress note

@ -41,7 +41,7 @@ unset KERNEL_DEB
GIT_VERSION=$(git rev-parse --short HEAD) GIT_VERSION=$(git rev-parse --short HEAD)
DIST=stretch DIST=buster
ARCH=armhf ARCH=armhf
DISTARCH="${DIST}-${ARCH}" DISTARCH="${DIST}-${ARCH}"
deb_distribution="debian" deb_distribution="debian"
@ -566,7 +566,7 @@ initrd_cleanup () {
echo "NetInstall: Final size [$(du -ch ${TEMPDIR}/initrd-tree/ | grep total)]" echo "NetInstall: Final size [$(du -ch ${TEMPDIR}/initrd-tree/ | grep total)]"
case "${DIST}" in case "${DIST}" in
xenial|bionic|jessie|stretch|buster) xenial|bionic|stretch|buster)
echo "uncompressing modules..." echo "uncompressing modules..."
find "${TEMPDIR}"/initrd-tree/lib/modules/ -type f -name "*.xz" -exec unxz -d {} \; find "${TEMPDIR}"/initrd-tree/lib/modules/ -type f -name "*.xz" -exec unxz -d {} \;
echo "NetInstall: Final size [$(du -ch ${TEMPDIR}/initrd-tree/ | grep total)]" echo "NetInstall: Final size [$(du -ch ${TEMPDIR}/initrd-tree/ | grep total)]"
@ -1444,10 +1444,6 @@ check_distro () {
DIST="bionic" DIST="bionic"
deb_distribution="ubuntu" deb_distribution="ubuntu"
;; ;;
jessie|jessie-armhf)
DIST="jessie"
deb_distribution="debian"
;;
stretch|stretch-armhf) stretch|stretch-armhf)
DIST="stretch" DIST="stretch"
deb_distribution="debian" deb_distribution="debian"
@ -1465,9 +1461,8 @@ check_distro () {
----------------------------- -----------------------------
--distro <distro> --distro <distro>
Debian: Debian:
jessie (Debian 8) stretch (Debian 9)
stretch (Debian 9) <default> buster (Debian 10) <default>
buster (Debian 10) <broken>
Ubuntu: Ubuntu:
xenial (16.04 LTS) xenial (16.04 LTS)
bionic (18.04 LTS) bionic (18.04 LTS)
@ -1515,9 +1510,8 @@ usage () {
Optional: Optional:
--distro <distro> --distro <distro>
Debian: Debian:
jessie (Debian 8) stretch (Debian 9)
stretch (Debian 9) <default> buster (Debian 10) <default>
buster (Debian 10) <broken>
Ubuntu: Ubuntu:
xenial (16.04 LTS) xenial (16.04 LTS)
bionic (18.04 LTS) bionic (18.04 LTS)

@ -1,6 +1,6 @@
Test Parameters: Test Parameters:
sudo ./mk_mmc.sh --mmc /dev/sde --dtb omap4-panda --distro jessie sudo ./mk_mmc.sh --mmc /dev/sde --dtb omap4-panda --distro stretch
Hardware: PandaBoard, usb keyboard, dvi monitor, ethernet cable. Hardware: PandaBoard, usb keyboard, dvi monitor, ethernet cable.

Loading…
Cancel
Save