Bug#381186: [Buildd-tools-devel] Bug#381186: add_sbuild_user:
misleading output
Roger Leigh
rleigh at whinlatter.ukfsn.org
Thu Aug 3 17:41:21 UTC 2006
tags 381186 + confirmed patch fixed-upstream pending
thanks
Matthias Julius <mdeb at julius-net.net> 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 <rleigh at debian.org> Thu, 20 Jul 2006 19:16:33 +0100
+ -- Roger Leigh <rleigh at debian.org> 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.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 188 bytes
Desc: not available
Url : http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20060803/ef63e782/attachment.pgp
More information about the Buildd-tools-devel
mailing list