From afccc8ec73274491d204bc71378f5bb1b35a553a Mon Sep 17 00:00:00 2001 From: Michael Prokop Date: Thu, 26 Jan 2017 01:02:54 +0100 Subject: [PATCH] Debian stretch is the new default release Update documentation accordingly, also related to squeeze EOL --- config | 4 ++-- grml-debootstrap | 6 +++--- grml-debootstrap.8.txt | 28 ++++++++++++++-------------- releasetable-man.txt | 4 ++-- releasetable.txt | 2 +- 5 files changed, 22 insertions(+), 22 deletions(-) diff --git a/config b/config index a9fb880..b86b997 100644 --- a/config +++ b/config @@ -69,8 +69,8 @@ # Debian release that should be installed. # Supported values: lenny, squeeze, wheezy, jessie, stretch, sid -# Default: 'jessie' -# RELEASE='jessie' +# Default: 'stretch' +# RELEASE='stretch' # Define components that should be used within sources.list. # Default: 'main' diff --git a/grml-debootstrap b/grml-debootstrap index 47e4e5c..18b1ef4 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -72,7 +72,7 @@ MNTPOINT="/mnt/debootstrap.$$" [ -n "$POST_SCRIPTS" ] || POST_SCRIPTS='yes' [ -n "$PRE_SCRIPTS" ] || PRE_SCRIPTS='yes' [ -n "$RECONFIGURE" ] || RECONFIGURE='console-data' -[ -n "$RELEASE" ] || RELEASE='jessie' +[ -n "$RELEASE" ] || RELEASE='stretch' [ -n "$RM_APTCACHE" ] || RM_APTCACHE='yes' [ -n "$SCRIPTS" ] || SCRIPTS='no' # deprecated, replaced by POST_SCRIPTS [ -n "$SECURE" ] || SECURE='yes' @@ -102,7 +102,7 @@ Bootstrap options: -m, --mirror Mirror which should be used for apt-get/aptitude. -i, --iso Mountpoint where a Debian ISO is mounted to, for use instead of fetching packages from a mirror. - -r, --release Release of new Debian system (default: jessie). + -r, --release Release of new Debian system (default: stretch). -t, --target Target partition (/dev/...) or directory where the system should be installed to. -p, --mntpoint Mountpoint used for mounting the target system, @@ -588,7 +588,7 @@ prompt_for_bootmanager() # ask for Debian release {{{ prompt_for_release() { - [ -n "$RELEASE" ] && DEFAULT_RELEASE="$RELEASE" || DEFAULT_RELEASE='jessie' + [ -n "$RELEASE" ] && DEFAULT_RELEASE="$RELEASE" || DEFAULT_RELEASE='stretch' RELEASE="$(dialog --stdout --title "${PN}" --default-item $DEFAULT_RELEASE --menu \ "Please enter the Debian release you would like to use for installation:" \ 0 50 5 \ diff --git a/grml-debootstrap.8.txt b/grml-debootstrap.8.txt index 69af5f4..17011ac 100644 --- a/grml-debootstrap.8.txt +++ b/grml-debootstrap.8.txt @@ -211,8 +211,8 @@ Options and environment variables *-r*, *--release* _releasename_:: Specify release of new Debian system. Supported releases names: lenny, - squeeze, wheezy, jessie, stretch (note: requires a recent version of debootstrap) - and sid. Corresponding with configuration variable RELEASE. + squeeze, wheezy, jessie, stretch and sid. Corresponding with configuration + variable RELEASE. Default release: stretch *--remove-configs*:: @@ -264,7 +264,7 @@ Usage examples grml-debootstrap --target /dev/sda1 --grub /dev/sda -Install default Debian release (jessie) on /dev/sda1 and install bootmanager +Install default Debian release (stretch) on /dev/sda1 and install bootmanager Grub in MBR (master boot record) of /dev/sda and use /dev/sda1 as system partition. grml-debootstrap --target /dev/sda6 --grub /dev/sda --release sid @@ -275,19 +275,19 @@ Install Debian unstable/sid on /dev/sda6, install bootmanager Grub in MBR mount /dev/sda1 /data/chroot grml-debootstrap --target /data/chroot -Install default Debian release (jessie) in directory /data/chroot (without +Install default Debian release (stretch) in directory /data/chroot (without any bootloader). grml-debootstrap --target /dev/sda3 --grub /dev/sda --mirror ftp://ftp.tugraz.at/mirror/debian -Install default Debian release (jessie) on /dev/sda3 and install bootmanager +Install default Debian release (stretch) on /dev/sda3 and install bootmanager Grub in MBR (master boot record) of /dev/sda and use /dev/sda3 as system partition. Use specified mirror instead of the default (http://httpredir.debian.org/debian) one. mount /dev/sda1 /mnt/sda1 grml-debootstrap --vmfile --vmsize 3G --target /mnt/sda1/qemu.img -Install default debian release (jessie) in a Virtual Machine file with +Install default debian release (stretch) in a Virtual Machine file with 3GB disk size (including Grub as bootmanager in MBR of the virtual disk file): mount -o loop /mnt/sda6/debian-CD-1.iso /mnt/iso @@ -363,7 +363,7 @@ Where do you want to install grub to? Usage example: grub=/dev/sda release=... -Specify release of new Debian system. Defaults to Debian jessie. Supported +Specify release of new Debian system. Defaults to Debian stretch. Supported releases: lenny, squeeze, wheezy, jessie, stretch and sid. Usage example: release=sid mirror=... @@ -398,17 +398,17 @@ Supported Releases include::releasetable.txt[] [NOTE] -.lenny release +.lenny/squeeze release ================================================================================ -[1] Please notice that lenny is an unsupported release within Debian nowadays. -grml-debootstrap can handle the release but you really should not use lenny -anymore unless you really know what you are doing. Choose Debian 8.0 (jessie) or -something newer instead. +[1] Please notice that lenny and squeeze are unsupported releases within Debian nowadays. +grml-debootstrap can handle the releases but you really should not use them +anymore unless you really know what you are doing. Choose the current Debian +stable version instead. -Notice that you need to specify a mirror providing the lenny release, the +Notice that you need to specify a mirror providing the lenny/squeeze releases, the default (http://httpredir.debian.org/debian) doesn't provide it any longer nowadays. Set the mirror to e.g. http://archive.debian.org/debian/ if you don't have -your own lenny mirror. +your own lenny/squeeze mirror. You also need to specify a filesystem that's supported by lenny, e.g. '--filesystem ext3' since grml-debootstrap's current default (ext4) isn't diff --git a/releasetable-man.txt b/releasetable-man.txt index 6e1b024..289fa4a 100644 --- a/releasetable-man.txt +++ b/releasetable-man.txt @@ -1,11 +1,11 @@ -Current status (as of 2015-06-06): +Current status (as of 2017-01-26): +----------------+-------------+ | Release / Tool | debootstrap | +----------------+-------------+ | lenny | works [1] | +----------------+-------------+ - | squeeze | works | + | squeeze | works [1] | +----------------+-------------+ | wheezy | works | +----------------+-------------+ diff --git a/releasetable.txt b/releasetable.txt index 5c3dc53..a535949 100644 --- a/releasetable.txt +++ b/releasetable.txt @@ -3,7 +3,7 @@ |====================== |Release |Status |lenny |works[1] -|squeeze |works +|squeeze |works[1] |wheezy |works |jessie |works |stretch |works -- 2.1.4