[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#434893: marked as done (debootstrap: Please consider including support for ssh)

Your message dated Fri, 19 Oct 2007 14:32:02 +0000
with message-id <E1IistO-0002NN-Ga@ries.debian.org>
and subject line Bug#434893: fixed in debootstrap 1.0.4
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Debian bug tracking system administrator
(administrator, Debian Bugs database)

--- Begin Message ---
Package: debootstrap
Version: 1.0.1menzies1
Severity: wishlist
Tags: patch

Hi mates

Today, I needed debootstrap to use ssh, instead of http/ftp/file .
(Uni net really s...).
I used the patch below. Can you maybe consider including something
like that? Of course, it is really a pain using ssh without an ssh key.
Maybe this should be documented somewhere in the manpage.
Thanks for your effort.


diff -Nru /tmp/v6gtkaqksr/debootstrap-1.0.1/debian/changelog /tmp/Lhh6Gy0vZ5/debootstrap-1.0.1menzies1/debian/changelog
--- /tmp/v6gtkaqksr/debootstrap-1.0.1/debian/changelog  2007-07-20 21:12:50.000000000 +1000
+++ /tmp/Lhh6Gy0vZ5/debootstrap-1.0.1menzies1/debian/changelog  2007-07-28 01:02:25.000000000 +1000
@@ -1,3 +1,9 @@
+debootstrap (1.0.1menzies1) menzies; urgency=low
+  * Include patch to make sure debootstrap can use ssh
+ -- Steffen Joeris <white@debian.org>  Fri, 27 Jul 2007 23:11:34 +1000
 debootstrap (1.0.1) unstable; urgency=low

   * scripts/ubuntu/gutsy: Determine buildd variant dynamically using
diff -Nru /tmp/v6gtkaqksr/debootstrap-1.0.1/functions /tmp/Lhh6Gy0vZ5/debootstrap-1.0.1menzies1/functions
--- /tmp/v6gtkaqksr/debootstrap-1.0.1/functions 2007-06-21 04:15:56.000000000 +1000
+++ /tmp/Lhh6Gy0vZ5/debootstrap-1.0.1menzies1/functions 2007-07-28 01:10:20.000000000 +1000
@@ -351,6 +351,14 @@
       return 1
+  elif [ "${from#ssh:}" != "$from" ] ; then
+    ssh_dest="$(echo $from | sed -e 's#ssh://##' -e 's#/#:/#')"
+    if [ -n "$ssh_dest" ] ; then
+      scp "$ssh_dest" "$dest"
+      return 0
+    else
+      return 1
+    fi
     error 1 UNKNOWNLOC "unknown location %s" "$from"

--- End Message ---
--- Begin Message ---
Source: debootstrap
Source-Version: 1.0.4

We believe that the bug you reported is fixed in the latest version of
debootstrap, which is due to be installed in the Debian FTP archive:

  to pool/main/d/debootstrap/debootstrap-udeb_1.0.4_i386.udeb
  to pool/main/d/debootstrap/debootstrap_1.0.4.dsc
  to pool/main/d/debootstrap/debootstrap_1.0.4.tar.gz
  to pool/main/d/debootstrap/debootstrap_1.0.4_all.deb

A summary of the changes between this version and the previous one is

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 434893@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
Colin Watson <cjwatson@debian.org> (supplier of updated debootstrap package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)

Hash: SHA1

Format: 1.7
Date: Fri, 19 Oct 2007 14:57:37 +0100
Source: debootstrap
Binary: debootstrap-udeb debootstrap
Architecture: source all i386
Version: 1.0.4
Distribution: unstable
Urgency: low
Maintainer: Debian Install System Team <debian-boot@lists.debian.org>
Changed-By: Colin Watson <cjwatson@debian.org>
 debootstrap - Bootstrap a basic Debian system
 debootstrap-udeb - Bootstrap the Debian system (udeb)
Closes: 233798 327708 391604 402380 434893 445157
 debootstrap (1.0.4) unstable; urgency=low
   [ Neil Williams ]
   * Add --second-stage-target option that allows embedded to test for
     installations in a chroot on the device (closes: #445157).
   [ Colin Watson ]
   * Add (Ubuntu) hardy as a symlink to gutsy.
   * Unmount /lib/init/rw on exit (closes: #391604).
   * Cope if uncompressed Packages is missing from Release (closes: #402380).
   * Don't rely on XSI test(1) extensions.
   * Add support for ssh:/// URLs (thanks, Steffen Joeris; closes: #434893).
   * Fix Ubuntu hoary and breezy scripts to unmount /dev etc. on exit
     (closes: #327708).
   * Emit an error if we cannot create working devices or executables on the
     target (based on work by Bastian Kleineidam; closes: #233798).
 95e57c13d1d18cc5e3eae391a98c94e7 865 admin - debootstrap_1.0.4.dsc
 1b9a688aa73ed4e7a7cfb2ea71f9c250 49677 admin - debootstrap_1.0.4.tar.gz
 0ee51d9b61265fca7caf98dabcc725f1 50254 admin extra debootstrap_1.0.4_all.deb
 d567d7e500ecde3dfd9f16b795d60443 92164 debian-installer required debootstrap-udeb_1.0.4_i386.udeb
Package-Type: udeb

Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Colin Watson <cjwatson@debian.org> -- Debian developer


--- End Message ---

Reply to: