tags 381186 + confirmed patch fixed-upstream pending
thanks

Matthias Julius <[EMAIL PROTECTED]> writes:

> When add_sbuild_user finishes it writes:
>
> Now try a build:
>
>   /usr/share/sbuild/chrapt /var/chroot/sid-amd64/ apt-get update
>   /usr/share/sbuild/chrapt /var/chroot/sid-amd64/ apt-get upgrade
>      - or "/usr/share/sbuild/chrapt /var/chroot/sid-amd64/ apt-get -f install"
>        first if the chroot is broken
>   cd ~/build && sbuild -v -d unstable -p successful ed_0.2-19
>
> However, when trying that chrapt says:
>
> /var/chroot/sid-amd64/ chroot does not exist and in chroot only mode
> -- exiting
>
> chrapt seems to expect the chroot name as in ~/build/chroot-<name>

Thanks for reporting this; the example commands are outdated.  I have
committed the following changes to fix this.

Index: debian/changelog
===================================================================
--- debian/changelog    (revision 969)
+++ debian/changelog    (working copy)
@@ -1,8 +1,10 @@
 sbuild (0.50) UNRELEASED; urgency=low
 
   * debian/copyright: Add Alioth file download location.
+  * chroot/add_sbuild_user: Fix chrapt command examples in output to use
+    correct option syntax, thanks to Matthias Julius (Closes: #381186).
 
- -- Roger Leigh <[EMAIL PROTECTED]>  Thu, 20 Jul 2006 19:16:33 +0100
+ -- Roger Leigh <[EMAIL PROTECTED]>  Thu,  3 Aug 2006 18:38:02 +0100
 
 sbuild (0.49) unstable; urgency=low
 
Index: chroot/add_sbuild_user
===================================================================
--- chroot/add_sbuild_user      (revision 969)
+++ chroot/add_sbuild_user      (working copy)
@@ -96,11 +96,12 @@
 
 Now try a build:
 
-  /usr/share/sbuild/chrapt $CHROOT apt-get update
-  /usr/share/sbuild/chrapt $CHROOT apt-get upgrade
-     - or "/usr/share/sbuild/chrapt $CHROOT apt-get -f install"
+  cd ~/build
+  /usr/share/sbuild/chrapt $DIST apt-get update
+  /usr/share/sbuild/chrapt $DIST apt-get upgrade
+     - or "/usr/share/sbuild/chrapt $DIST apt-get -f install"
        first if the chroot is broken
-  cd ~/build && sbuild -v -d $DIST -p successful ed_0.2-19
+  sbuild -v -d $DIST -p successful ed_0.2-20
 
 ------------------------------------------------------------------------
 EOF


-- 
  .''`.  Roger Leigh
 : :' :  Debian GNU/Linux             http://people.debian.org/~rleigh/
 `. `'   Printing on GNU/Linux?       http://gutenprint.sourceforge.net/
   `-    GPG Public Key: 0x25BFB848   Please sign and encrypt your mail.

Attachment: pgphJmwjzgaDI.pgp
Description: PGP signature

Reply via email to