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

patch to fix debootstrap invocation on local archive



Howdy,

The third item in the todo list reports that debootstrap is
failing to work for local archives.  This occurs because
dbootstrap invokes it with the path, rather than a URL.  The
following patch should fix this.  As I don't have a system on
which to test it at the moment, could someone else please try it
and report back?

Matt

Index: utilities/dbootstrap/extract_base.c
===================================================================
RCS file: /cvs/debian-boot/boot-floppies/utilities/dbootstrap/extract_base.c,v
retrieving revision 1.25
diff -u -r1.25 extract_base.c
--- utilities/dbootstrap/extract_base.c	2001/04/10 07:33:01	1.25
+++ utilities/dbootstrap/extract_base.c	2001/04/11 04:18:03
@@ -200,7 +200,7 @@
   {
       /* archive is on the filesystem */
       snprintf(prtbuf, sizeof prtbuf, 
-	      "/usr/sbin/debootstrap %s /target %s",
+	      "/usr/sbin/debootstrap %s /target file://%s",
 	      suite,
 	      Archive_Dir); 
   }

Attachment: pgpFKYebT0wh7.pgp
Description: PGP signature


Reply to: