Display executed debootstrap cmdline when running it.
authorMichael Prokop <mika@grml.org>
Mon, 22 Feb 2010 21:23:55 +0000 (22:23 +0100)
committerMichael Prokop <mika@grml.org>
Mon, 22 Feb 2010 21:23:55 +0000 (22:23 +0100)
debian/changelog
grml-debootstrap

index 5153ec9..0b5d03e 100644 (file)
@@ -2,8 +2,9 @@ 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 the end to avoid failure
     of grub installation.
+  * Display executed debootstrap cmdline when running it.
 
 
- -- Michael Prokop <mika@grml.org>  Mon, 22 Feb 2010 22:17:09 +0100
+ -- Michael Prokop <mika@grml.org>  Mon, 22 Feb 2010 22:22:59 +0100
 
 grml-debootstrap (0.33) unstable; urgency=low
 
 
 grml-debootstrap (0.33) unstable; urgency=low
 
index 31b26eb..91d319c 100755 (executable)
@@ -758,8 +758,10 @@ debootstrap_system() {
   if grep -q "$MNTPOINT" /proc/mounts || [ -n "$DIRECTORY" ] ; then
      einfo "Running $DEBOOTSTRAP $DEBOOTSTRAP_OPT for release ${RELEASE}${ARCHINFO} using ${MIRROR}${ISO}"
      if [ -n "$MIRROR" ] ; then
   if grep -q "$MNTPOINT" /proc/mounts || [ -n "$DIRECTORY" ] ; then
      einfo "Running $DEBOOTSTRAP $DEBOOTSTRAP_OPT for release ${RELEASE}${ARCHINFO} using ${MIRROR}${ISO}"
      if [ -n "$MIRROR" ] ; then
+        einfo "Executing: $DEBOOTSTRAP $ARCHCMD $KEYRING $DEBOOTSTRAP_OPT $RELEASE $MNTPOINT $MIRROR"
         $DEBOOTSTRAP $ARCHCMD $KEYRING $DEBOOTSTRAP_OPT $RELEASE $MNTPOINT $MIRROR
      else
         $DEBOOTSTRAP $ARCHCMD $KEYRING $DEBOOTSTRAP_OPT $RELEASE $MNTPOINT $MIRROR
      else
+        einfo "Executing: $DEBOOTSTRAP $ARCHCMD $KEYRING $DEBOOTSTRAP_OPT $RELEASE $MNTPOINT $ISO"
         $DEBOOTSTRAP $ARCHCMD $KEYRING $DEBOOTSTRAP_OPT $RELEASE $MNTPOINT $ISO
      fi
      eend $?
         $DEBOOTSTRAP $ARCHCMD $KEYRING $DEBOOTSTRAP_OPT $RELEASE $MNTPOINT $ISO
      fi
      eend $?