diff options
Diffstat (limited to 'debian/templates/image.lintian-overrides.j2')
-rw-r--r-- | debian/templates/image.lintian-overrides.j2 | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/debian/templates/image.lintian-overrides.j2 b/debian/templates/image.lintian-overrides.j2 new file mode 100644 index 000000000..2bd64b413 --- /dev/null +++ b/debian/templates/image.lintian-overrides.j2 @@ -0,0 +1,13 @@ +# Some 32-bit architectures need 64-bit kernels and we still build +# these as the "wrong" architecture rather than mandating multiarch. +{% if arch in ['mips', 'mipsel'] %} +{{package}}: binary-from-other-architecture *boot/vmlinu* +{% endif %} +{% if arch in ['hppa', 'mips', 'mipsel', 'powerpc'] %} +{{package}}: binary-from-other-architecture *lib/modules/* +{% endif %} + +# vmlinux needs extra sections that would normally be stripped. +{% if arch in ['mips64el', 'mipsel', 'ppc64el'] %} +{{package}}: unstripped-binary-or-object *boot/vmlinu* +{% endif %} |