################################################################################
_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:,verbose,help,version \
+ 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 \
-- "$@"`
if [ $? != 0 ]; then
eerror "Try 'grml-debootstrap --help' for more information."; eend 1; exit 1
--iso|-i) # Mountpoint where a Debian ISO is mounted to
shift; _opt_iso="$1"
;;
- --release|-r) # Release of new Debian system (default: stable)
+ --release|-r) # Release of new Debian system
shift; _opt_release="$1"
;;
--target|-t) # Target partition (/dev/...) or directory
--nodebootstrap) # Skip debootstrap, only do configuration to the target
_opt_nodebootstrap=T
;;
+ --arch) # Target architecutre
+ shift; _opt_arch="$1"
+ ;;
#
# == Configuration options