I am using pbuilder-dist to build my packages for Debian unstable and Ubuntu Precise. I want to know how to run lintian (and possibly other commands) inside a certain chroot.
I have Ubuntu 12.04 on my machine.
|
Lintian can be run inside Just copy the hook you want to a directory:
Then tell pbuilder to use the hooks in that directory:
And/or:
The first is required if you intend to run |
||||
|
|
|
Running debuild -S will run lintian on the source.changes for you I believe. Lintian is also run on the .changes file during the binary build. Once you've built the binary and/or source package you can manually run lintian against either .changes file, just like this:
or
You may get different lintian errors or warnings from each build (source and binary). If you're trying to move quicker, run pbuilder --login, install the build-deps and run your builds there, that saves you the start-up time from re-installing deps before each build. |
|||
|
|
debuild -S), but I'm not entirely certain, so I'm not posting this as a true answer. – Thomas Ward♦ Jun 14 '12 at 12:00