X-Git-Url: https://git.grml.org/?p=grml-debootstrap.git;a=blobdiff_plain;f=cmdlineopts.clp;h=68b241aaf557dbcaee7933d0dfdf6d37b715c815;hp=0a46fc97eaf3f86643667b6702277309d5691f3a;hb=02723cbd75f967d58f97a965f93ea5e3aa816c8b;hpb=91f2e990ca65aa3670454097d6d3937d392d7652 diff --git a/cmdlineopts.clp b/cmdlineopts.clp index 0a46fc9..68b241a 100644 --- a/cmdlineopts.clp +++ b/cmdlineopts.clp @@ -12,7 +12,7 @@ # should be handled in the main script, where it belongs. ################################################################################ -CMDLINE_OPTS=mirror:,iso:,release:,target:,mntpoint:,debopt:,defaultinterfaces,interactive,nodebootstrap,nointerfaces,nokernel,nopackages,filesystem:,config:,confdir:,packages:,chroot-scripts:,scripts:,post-scripts:,pre-scripts:,debconf:,vm,vmfile,vmsize:,keep_src_list,hostname:,password:,nopassword,grmlrepos,backportrepos,bootappend:,grub:,arch:,insecure,verbose,help,version,force,debug,contrib,non-free +CMDLINE_OPTS=mirror:,iso:,release:,target:,mntpoint:,debopt:,defaultinterfaces,interactive,nodebootstrap,nointerfaces,nokernel,nopackages,filesystem:,config:,confdir:,packages:,chroot-scripts:,scripts:,post-scripts:,pre-scripts:,debconf:,vm,vmfile,vmsize:,keep_src_list,hostname:,password:,nopassword,grmlrepos,backportrepos,bootappend:,grub:,efi:,arch:,insecure,verbose,help,version,force,debug,contrib,non-free,remove-configs _opt_temp=`getopt --name grml-debootstrap -o +m:i:r:t:p:c:d:vhV --long \ $CMDLINE_OPTS -- "$@"` @@ -138,12 +138,18 @@ while :; do --grub) # Target for grub installation. Use grub syntax for specifying shift; _opt_grub="$1" ;; + --efi) # Target for EFI boot installation + shift; _opt_efi="$1" + ;; --contrib) # Add 'contrib' to list of components _opt_contrib=T ;; --non-free) # Add 'non-free' to list of components _opt_non_free=T ;; + --remove-configs) # Drop config files from installed system + _opt_remove_configs=T + ;; # == Other options --verbose|-v) # Increase verbosity