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

Attachment: signature.asc
Description: Digital signature

Reply via email to