From: Michael Prokop Date: Mon, 17 Dec 2012 09:58:59 +0000 (+0100) Subject: Set wheezy as the new default release [Closes: #688234] X-Git-Tag: v0.54~4 X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=commitdiff_plain;h=6589216b03117f4630e5b480d86ea065347d82f1 Set wheezy as the new default release [Closes: #688234] --- diff --git a/config b/config index dba827f..f1798fe 100644 --- a/config +++ b/config @@ -63,10 +63,9 @@ # GRMLPACKAGES='grml-etc-core' # Debian release that should be installed. -# Supported values: lenny (old-stable), squeeze (stable), -# wheezy (testing), sid (unstable) -# Default: 'squeeze' -# RELEASE='squeeze' +# Supported values: lenny, squeeze, wheezy, sid +# Default: 'wheezy' +# RELEASE='wheezy' # Define components that should be used within sources.list. # Default: 'main contrib non-free' diff --git a/grml-debootstrap b/grml-debootstrap index 899f881..dcd2b7b 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -30,7 +30,7 @@ MKFS='mkfs.ext3' PACKAGES='yes' PRE_SCRIPTS='yes' RECONFIGURE='console-data' -RELEASE='squeeze' +RELEASE='wheezy' RM_APTCACHE='yes' SCRIPTS='yes' SECURE='yes' @@ -59,7 +59,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: squeeze). + -r, --release Release of new Debian system (default: wheezy). -t, --target Target partition (/dev/...) or directory where the system should be installed to. -p, --mntpoint Mountpoint used for mounting the target system, @@ -493,7 +493,7 @@ prompt_for_bootmanager() # ask for Debian release {{{ prompt_for_release() { - [ -n "$RELEASE" ] && DEFAULT_RELEASE="$RELEASE" || DEFAULT_RELEASE='squeeze' + [ -n "$RELEASE" ] && DEFAULT_RELEASE="$RELEASE" || DEFAULT_RELEASE='wheezy' RELEASE="$(dialog --stdout --title "${PN}" --default-item $DEFAULT_RELEASE --menu \ "Please enter the Debian release you would like to use for installation:" \ 0 50 4 \ diff --git a/grml-debootstrap.8.txt b/grml-debootstrap.8.txt index cebb41f..ff25aea 100644 --- a/grml-debootstrap.8.txt +++ b/grml-debootstrap.8.txt @@ -201,7 +201,7 @@ Usage examples grml-debootstrap --target /dev/sda1 --grub /dev/sda -Install default Debian release (squeeze) on /dev/sda1 and install bootmanager +Install default Debian release (wheezy) 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 @@ -212,25 +212,25 @@ 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 (squeeze) in directory /data/chroot (without +Install default Debian release (wheezy) 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 (squeeze) in a Virtual Machine file with +Install default debian release (wheezy) in a Virtual Machine file with 3GB disk size (including Grub as bootmanager in MBR of the virtual disk file): mount /dev/sda1 /mnt/sda1 grml-debootstrap --vmfile --vmsize 3G --target /mnt/sda1/qemu.img -Install default Debian release (squeeze) on /dev/sda3 and install bootmanager +Install default Debian release (wheezy) 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 (ftp://ftp.debian.de/debian) one. - mount -o loop /mnt/sda6/debian-40r0-i386-CD-1.iso /mnt/iso + mount -o loop /mnt/sda6/debian-CD-1.iso /mnt/iso grml-debootstrap --target /dev/sda1 --grub /dev/sda --iso file:/mnt/iso/debian/ -Install Debian squeeze on /dev/sda1 using the loopback mounted Debian-ISO +Install Debian on /dev/sda1 using the loopback mounted Debian-ISO for the base-system and install bootmanager Grub in MBR (master boot record) of /dev/sda and use /dev/sda1 as system partition. Please notice, that the chroot system requires network access for all packages which are not part of the @@ -311,7 +311,7 @@ Where do you want to install grub to? Usage example: grub=/dev/sda release=... -Specify release of new Debian system. Defaults to Debian squeeze. Supported +Specify release of new Debian system. Defaults to Debian wheezy. Supported relases: lenny, squeeze, wheezy and sid. Usage example: release=sid mirror=...