Bug#705624: pbuilder: Please provide a way to copy files out of the chroot
Mattia Rizzolo
mattia at mapreri.org
Sat Oct 3 14:25:05 UTC 2015
control: tags -1 moreinfo
On Wed, Apr 17, 2013 at 06:18:27PM +0200, Sylvestre Ledru wrote:
> It would be nice if you could provide a way to copy files out of the chroot.
>
> For example, I am using pbuilder to build the packages and launch some
> QA operations (code coverage, static analysis, etc) at the end.
> I would like to retrieve these files.
pbuilder already has support for that, it's called
ADDITIONAL_BUILDRESULTS:
for FILE in "${ADDITIONAL_BUILDRESULTS[@]}"; do
log "I: Trying to save additional result ${FILE}"
cp -a "${BUILDPLACE}$BUILDDIR/"*"/${FILE}" "${BUILDRESULT}" || true
done
It's the second last entry in pbuilderrc(5) :)
As you can see that cp command looks a bit weird, indeed it copies
the file you list from the built tree ('debian/..' to be clear).
I don't use such feature, but guess you can make use of it? :)
--
regards,
Mattia Rizzolo
GPG Key: 66AE 2B4A FCCF 3F52 DA18 4D18 4B04 3FCD B944 4540 .''`.
more about me: http://mapreri.org : :' :
Launchpad user: https://launchpad.net/~mapreri `. `'`
Debian QA page: https://qa.debian.org/developer.php?login=mattia `-
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pbuilder-maint/attachments/20151003/09ecc03a/attachment.sig>
More information about the Pbuilder-maint
mailing list