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. Cheers Steffen 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 <[EMAIL PROTECTED]> 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 @@ else return 1 fi + 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 else error 1 UNKNOWNLOC "unknown location %s" "$from" fi -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]