X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=grml-debootstrap;h=31b26ebedb7234ad846a62d5cf447e7c87f7862f;hp=48f7c64fd1670d17f66fe1b55c501c5821dacd1b;hb=c852c935af341e15b5174247e9c6cd23a3c2fc2f;hpb=ee2a7490fd324489ab008239c0b8657e880df2db diff --git a/grml-debootstrap b/grml-debootstrap index 48f7c64..31b26eb 100755 --- a/grml-debootstrap +++ b/grml-debootstrap @@ -11,7 +11,7 @@ set -e # exit on any error # variables {{{ PN="$(basename $0)" -VERSION='0.33-pre1' +VERSION='0.34' MNTPOINT="/mnt/debootstrap.$$" # inside the chroot system locales might not be available, so use minimum: @@ -57,15 +57,15 @@ Configuration options: /etc/debootstrap/config -d, --confdir Place of config files for debootstrap, defaults to /etc/debootstrap - --packages Install packages defined in specified list file. - --debconf Pre-seed packages using specified pre-seed db file. + --packages[=] Install packages defined in specified list file. + --debconf[=] Pre-seed packages using specified pre-seed db file. --keep_src_list Do not overwrite user provided apt sources.list. --hostname Hostname of Debian system. --password Use specified password as password for user root. --bootappend Add specified appendline to kernel whilst booting. --chroot-scripts Execute chroot scripts from specified directory. - --pre-scripts Execute scripts from specified directory (before chroot-scripts). - --scripts Execute scripts from specified directory (after chroot-scripts). + --pre-scripts[=] Execute scripts from specified directory (before chroot-scripts). + --scripts[=] Execute scripts from specified directory (after chroot-scripts). Other options: @@ -237,7 +237,7 @@ prompt_for_bootmanager() MBRDISK=$(readlink -f $MBRDISK) else # fall back to old behaviour - MBRDISK=$(echo ${TARGET} | sed -e 's/[0-9][0-9]*$/') + MBRDISK=$(echo ${TARGET} | sed -e 's/[0-9][0-9]*$//') fi MBRPART="MBR of $MBRDISK"