To close Issue556
[grml-debootstrap.git] / grml-debootstrap.clp
index 2038db8..06dd390 100644 (file)
@@ -7,7 +7,7 @@
 # grml
 #
 # @Author:  Tong SUN
-# @Release: $Revision: 1.2 $, under the BSD license
+# @Release: $Revision: 1.3 $, under the BSD license
 # @HomeURL: http://xpt.sourceforge.net/
 #
 
@@ -20,7 +20,7 @@
 
 
 _opt_temp=`getopt --name grml-debootstrap -o +m:i:r:t:p:c:d:hv --long \
-    mirror:,iso:,release:,target:,mntpoint:,debopt:,interactive,config:,confdir:,packages::,debconf::,keep_src_list,hostname:,password:,bootappend:,groot:,grub:,help,version \
+    mirror:,iso:,release:,target:,mntpoint:,debopt:,interactive,nodebootstrap,config:,confdir:,packages::,debconf::,keep_src_list,hostname:,password:,bootappend:,groot:,grub:,help,version \
   -- "$@"`
 if [ $? != 0 ]; then
   eerror "Try 'grml-debootstrap --help' for more information."; eend 1; exit 1
@@ -52,6 +52,9 @@ while :; do
   --interactive)       # Use interactive mode (frontend).
     _opt_interactive=T
     ;;
+  --nodebootstrap)     # Skip debootstrap, only do configuration to the target.
+    _opt_nodebootstrap=T
+    ;;
   #
 
   # == Configuration options