Introduce option --nopackages
authorMichael Prokop <mika@grml.org>
Mon, 22 Feb 2010 22:34:30 +0000 (23:34 +0100)
committerMichael Prokop <mika@grml.org>
Mon, 22 Feb 2010 22:34:30 +0000 (23:34 +0100)
cmdlineopts.clp
debian/changelog
grml-debootstrap
grml-debootstrap.8.txt

index dd88afb..5f144a5 100644 (file)
@@ -50,6 +50,9 @@ while :; do
   --nodebootstrap)     # Skip debootstrap, only do configuration to the target
     _opt_nodebootstrap=T
     ;;
+  --nopackages)        # Skip installation of packages defined in /etc/debootstrap/packages
+    _opt_nopackages=T
+    ;;
   --arch)              # Target architecutre
     shift; _opt_arch="$1"
     ;;
index 32e4b2e..a251f58 100644 (file)
@@ -1,12 +1,16 @@
 grml-debootstrap (0.34) unstable; urgency=low
 
-  * Move the apt cache removal function to the end to avoid failure
-    of grub installation.
+  * Move the apt cache removal function to a later point of execution
+    so custom scripts still have access to the Debian packages.
   * Display executed debootstrap cmdline when running it.
   * Slightly improve checks for grub-install/update-grub and do
     no set full path to the binaries.
+  * Revert "Updated grml-debootstrap parameter handling" which
+    breaks the way grml-debootstrap used to work. Instead:
+  * Introduce option --nopackages to skip installation of packages
+    defined in /etc/debootstrap/packages.
 
- -- Michael Prokop <mika@grml.org>  Mon, 22 Feb 2010 22:30:19 +0100
+ -- Michael Prokop <mika@grml.org>  Mon, 22 Feb 2010 23:33:54 +0100
 
 grml-debootstrap (0.33) unstable; urgency=low
 
index 2e386bf..bdc326c 100755 (executable)
@@ -140,6 +140,7 @@ fi
 [ "$_opt_interactive" ]         && INTERACTIVE=1
 [ "$_opt_config" ]              && CONFIGFILE=$_opt_config
 [ "$_opt_packages_set" ]        && PACKAGES='yes'
+[ "$_opt_nopackages" ]          && PACKAGES=''
 [ "$_opt_debconf_set" ]         && DEBCONF='yes'
 [ "$_opt_scripts_set" ]         && SCRIPTS='yes'
 [ "$_opt_pre_scripts_set" ]     && PRE_SCRIPTS='yes'
index b9e0349..d00575e 100644 (file)
@@ -103,6 +103,10 @@ Options and environment variables
 
     Skip debootstrap, only do configuration to the target.
 
+*--nopackages*::
+
+    Skip installation of packages defined in /etc/debootstrap/packages.
+
 *--insecure*::
 
     Do not download and check signatures for retrieved Release files.