Bug#349394: [Pbuilder-maint] Bug#349394: pbuilder: here's a patch for that

Sean Finney seanius at debian.org
Sun Feb 5 09:43:08 UTC 2006


hey junichi,

On Sun, Feb 05, 2006 at 12:17:54PM +0900, Junichi Uekawa wrote:
> Having a generic framework for sending out results from within chroot
> is probably required, especially considering pbuilder-test.
> 
> The main problem with pdebuild is that
> 
> ARCHITECTURE=$(dpkg-architecture -qDEB_HOST_ARCH)
> 
> is called outside of chroot.
> 
> If it's called inside of chroot; the output will be more interesting
> (i.e. correct), right ?

yes, i believe so.

so if you'd like to get the information (along with possibly more)
from pbuilder, i'm guessing that placing it in the output of
the pbuilder command would not make a lot of sense given how
much unrelated output is produced.

so, what if at the completion (or failure) of a build, pbuilder
dumped the "important" information in shell syntax into a temp
file inside the chroot, and then copied the file outside of the
chroot into the /var/cache/pbuilder/result directory to a
predictable location?  pdebuild and other tools could then
source this file to get the full information about build results,
architectures, etc.


	sean
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
Url : http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20060205/180c975d/attachment.pgp


More information about the Pbuilder-maint mailing list