################################################################################
_opt_temp=`getopt --name grml-debootstrap -o +m:i:r:t:p:c:d:vhV --long \
- mirror:,iso:,release:,target:,mntpoint:,debopt:,interactive,nodebootstrap,config:,confdir:,packages::,chroot-scripts::,scripts::,debconf::,keep_src_list,hostname:,password:,bootappend:,groot:,grub:,arch:,verbose,help,version \
+ mirror:,iso:,release:,target:,mntpoint:,debopt:,interactive,nodebootstrap,config:,confdir:,packages::,chroot-scripts::,scripts::,debconf::,keep_src_list,hostname:,password:,bootappend:,grub:,arch:,verbose,help,version \
-- "$@"`
if [ $? != 0 ]; then
eerror "Try 'grml-debootstrap --help' for more information."; eend 1; exit 1
--bootappend) # Add specified appendline to kernel whilst booting
shift; _opt_bootappend="$1"
;;
- --groot) # Root device for usage in grub, corresponds with $TARGET in grub
- shift; _opt_groot="$1"
- ;;
--grub) # Target for grub installation. Use grub syntax for specifying
shift; _opt_grub="$1"
;;
--- /dev/null
+grml-debootstrap (0.32) unstable; urgency=low
+
+ * Starting with this release support for the Debian/etch release
+ does not exist any longer.
+
+ * Starting with this release grml-debootstrap uses Grub2
+ instead of Grub-legacy (v1).
+
+ * To simplify handling for the user the configuration variable
+ GROOT was dropped and the syntax of GRUB slightly changed.
+ Instead of the old grub syntax style 'hd0' you can use
+ '/dev/sdX' for $GRUB nowadays. You don't have to care about
+ that if you are using the interactive mode.
+
+ -- Michael Prokop <mika@grml.org> Wed, 28 Oct 2009 23:39:19 +0100
}
# }}}
+# backwards compability checks {{{
+if [ -n "$GROOT" ] ; then
+ echo "Error: you seem to have \$GROOT configured." >&2
+ echo "This variable is no longer supported, please visit the" >&2
+ echo "grml-debootstrap documentation for details." >&2
+ exit 1
+fi
+
+if echo "$GRUB" | grep -q '^hd' ; then
+ echo "Error: this syntax for the grub configuration variable is no longer supported." >&2
+ echo "Please do not use hd... any longer but /dev/sdX instead." >&2
+ exit 1
+fi
+# }}}
+
# welcome screen {{{
welcome_dialog()
{