[all-ubuntu-kernels] UBUNTU: [Packaging] force "dpkg-source -I -i" behavior
Andy Whitcroft
apw at canonical.com
Fri Jan 16 18:40:28 UTC 2015
On Fri, Jan 16, 2015 at 09:45:22AM -0800, Kamal Mostafa wrote:
> I'd like some Ack's or contrary opinions on this before proceeding...
>
> We occasionally end up with .git directories or other cruft in our
> kernel source packages, when packagers forget to use the "-I -i" flags
> with debuild. To avoid this problem, I propose that we enable the "-I
> -i" behavior by default for all of our kernel package branches by
> creating the file debian/source/options with these contents (see the
> dpkg-source man page for details):
>
> # force "dpkg-source -I -i" behavior
> diff-ignore
> tar-ignore
It seems safe enough to do indeed, assuming you tested the appropriate
chroots. I assume there is no bad effects from them being in there,
and my also supplying the same options.
> I've tested the resulting behavior. AFAICT, it works as desired in all
> branches. Specifically, I intend to add it to the following branches:
Also which chroots did you test this in ?
> ubuntu-lucid master-next
> ubuntu-lucid-lbm master
> ubuntu-lucid-meta master
> ubuntu-lucid-meta ports
>
> ubuntu-precise master-next
> ubuntu-precise lts-backport-trusty
^^ should get its from its master-next upstream
> ubuntu-precise-lbm master
> ubuntu-precise-meta master
> ubuntu-precise-meta lts-backport-trusty
> ubuntu-precise-signed master
> ubuntu-precise-signed lts-backport-trusty
>
> ubuntu-trusty master-next
> ubuntu-trusty lts-backport-utopic
^^ should get its from its master-next upstream
> ubuntu-trusty-meta master
> ubuntu-trusty-meta lts-backport-utopic
> ubuntu-trusty-signed master
> ubuntu-trusty-signed lts-backport-utopic
>
> ubuntu-utopic master-next
> ubuntu-utopic-meta master
> ubuntu-utopic-signed master
>
> ubuntu-vivid master-next
> ubuntu-vivid-meta master
> ubuntu-vivid-signed master
Plus:
ubuntu-vivid unstable
ubuntu-vivid-meta unstable
ubuntu-vivid-signed unstable
-apw
More information about the kernel-team
mailing list