[all-ubuntu-kernels] UBUNTU: [Packaging] force "dpkg-source -I -i" behavior

Kamal Mostafa kamal at canonical.com
Fri Jan 16 17:45:22 UTC 2015


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

I've tested the resulting behavior.  AFAICT, it works as desired in all
branches.  Specifically, I intend to add it to the following branches:

        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
        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
        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

 -Kamal





More information about the kernel-team mailing list