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

Bug#445157: debootstrap - hardcoded value of TARGET in second-stage prevents creation of a foreign chroot



Neil Williams wrote:
> OK. I've done the doclifter thing and updated the XML, generated a new
> manpage and compared it with the old. I'm assuming you don't want the
> build-dependency on docbook-xsl so I've included a patch to create a
> README that documents how to use xsltproc to generate the manpage.
> (Note that the man page *diff* is larger than the entire XML file!)

Please don't ship files in the source that can be generated at build time.
Requiring a manual step is just adding complexity and asking for
mistakes.

Is there a reason why you've chosen to use a manpage generation tool
if you don't think it's good for the package to build-depend on it? For
that matter, why choose docbook-xsl instead of docbook2x-man?

And finally, isn't just vi $manpage easier than all this?

Index: debootstrap.8
===================================================================
--- debootstrap.8       (revision 49792)
+++ debootstrap.8       (working copy)
@@ -92,6 +92,10 @@
 Complete the bootstrapping process. Other arguments are generally not
 needed.
 .IP
+.IP "\fB\-\-second\-stage\-tarball DIR\fP"
+Run second stage in a subdirectory instead of root. (can be used to create
+a foreign chroot) (requires --second-stage)
+.IP
 .IP "\fB\-\-keep\-debootstrap\-dir\fP"
 Don't delete the /debootstrap directory in the target after completing the
 installation.
-- 
see shy jo

Attachment: signature.asc
Description: Digital signature


Reply to: