Skip to content

Commit

Permalink
Debian stretch is the new default release
Browse files Browse the repository at this point in the history
Update documentation accordingly, also related to squeeze EOL
  • Loading branch information
mika committed Jan 26, 2017
1 parent 622fa87 commit afccc8e
Show file tree
Hide file tree
Showing 5 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions config
Expand Up @@ -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'
Expand Down
6 changes: 3 additions & 3 deletions grml-debootstrap
Expand Up @@ -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'
Expand Down Expand Up @@ -102,7 +102,7 @@ Bootstrap options:
-m, --mirror <URL> Mirror which should be used for apt-get/aptitude.
-i, --iso <mnt> Mountpoint where a Debian ISO is mounted to, for use
instead of fetching packages from a mirror.
-r, --release <name> Release of new Debian system (default: jessie).
-r, --release <name> Release of new Debian system (default: stretch).
-t, --target <target> Target partition (/dev/...) or directory where the
system should be installed to.
-p, --mntpoint <mnt> Mountpoint used for mounting the target system,
Expand Down Expand Up @@ -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 \
Expand Down
28 changes: 14 additions & 14 deletions grml-debootstrap.8.txt
Expand Up @@ -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*::

Expand Down Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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=...
Expand Down Expand Up @@ -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
Expand Down
4 changes: 2 additions & 2 deletions 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 |
+----------------+-------------+
Expand Down
2 changes: 1 addition & 1 deletion releasetable.txt
Expand Up @@ -3,7 +3,7 @@
|======================
|Release |Status
|lenny |works[1]
|squeeze |works
|squeeze |works[1]
|wheezy |works
|jessie |works
|stretch |works
Expand Down

0 comments on commit afccc8e

Please sign in to comment.