[buildd-tools-devel] Bug#705926: Bug#705926: sbuild: Add basic DEP-8 autopkgtest

Geoffrey Thomas geofft at ldpreload.com
Wed Sep 10 19:38:27 UTC 2014


On Mon, 22 Apr 2013, James Hunt wrote:

> Dear Maintainer,
>
> The attached debdiff adds a basic DEP-8 autopkgtest for sbuild. See:
>
> - https://code.launchpad.net/~jamesodhunt/ubuntu/raring/sbuild/dep8-procenv
> -
> https://code.launchpad.net/~jamesodhunt/ubuntu/raring/sbuild/dep8-procenv/+merge/159596
>
> In Ubuntu, the attached patch was generated to achieve the following:
>
> * ability to detect if sbuilder is able to:
>  - create a chroot for the current release.
>  - build a package.
> * check that the resulting package is installable and the binary runnable.
>
> Thanks for considering the patch.

Hi,

Two quick questions about this. First, it appears that the patch uses 
`apt-get source` into the current directory, and doesn't change directory. 
It looks like the draft spec (README.package-tests.rst) says that you 
can't assume that the cwd is writable, and you should instead use $ADTTMP. 
Should there be a `cd "$ADTTMP"` at the top of the script?

Second, should we be merging the latest autopkgtest from sbuild 
0.64.1-1ubuntu6, including static sbuild signing keys? (I have some ideas 
for how to avoid the key requirement on recent distros by using 
[trusted=yes], but won't get around to trying it immediately.)

-- 
Geoffrey Thomas
https://ldpreload.com
geofft at ldpreload.com



More information about the Buildd-tools-devel mailing list