diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:28:00 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-11 08:28:00 +0000 |
commit | 3565071f226432336a54d0193d729fa4508a3394 (patch) | |
tree | 4cde13f078f84c0a7785d234fd52edce7c90546a /debian/templates/image-dbg.lintian-overrides.j2 | |
parent | Adding upstream version 6.6.15. (diff) | |
download | linux-3565071f226432336a54d0193d729fa4508a3394.tar.xz linux-3565071f226432336a54d0193d729fa4508a3394.zip |
Adding debian version 6.6.15-2.debian/6.6.15-2
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'debian/templates/image-dbg.lintian-overrides.j2')
-rw-r--r-- | debian/templates/image-dbg.lintian-overrides.j2 | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/debian/templates/image-dbg.lintian-overrides.j2 b/debian/templates/image-dbg.lintian-overrides.j2 new file mode 100644 index 0000000000..ce59aa9957 --- /dev/null +++ b/debian/templates/image-dbg.lintian-overrides.j2 @@ -0,0 +1,32 @@ +# Kernel dbg packages contain a full image with debug data +{{package}}: dbg-package-missing-depends + +# glibc doesn't seem to check for a PT_GNU_STACK section in vDSOs, so +# it's OK that they don't have it +{% if arch in ['arm64', 'armhf'] %} +{{package}}: shared-library-lacks-stack-section *usr/lib/debug/lib/modules/{{abiname}}{{localversion}}/vdso/vdso.so* +{% endif %} +{% if arch in ['amd64', 'arm64', 'i386', 'ppc64el', 's390x'] %} +{{package}}: shared-library-lacks-stack-section *usr/lib/debug/lib/modules/{{abiname}}{{localversion}}/vdso/vdso32.so* +{% endif %} +{% if arch in ['amd64', 'ppc64el', 's390x'] %} +{{package}}: shared-library-lacks-stack-section *usr/lib/debug/lib/modules/{{abiname}}{{localversion}}/vdso/vdso64.so* +{% endif %} +{% if arch in ['amd64'] %} +{{package}}: shared-library-lacks-stack-section *usr/lib/debug/lib/modules/{{abiname}}{{localversion}}/vdso/vdsox32.so* +{% endif %} + +# It is intended that 64-bit kernels provide vDSOs for 32-bit executables. +# lintian currently allows i386 executables on amd64. +{% if arch in ['arm64', 'ppc64el', 's390x'] %} +{{package}}: binary-from-other-architecture *usr/lib/debug/lib/modules/{{abiname}}{{localversion}}/vdso/vdso32.so* +{% endif %} +{% if arch in ['amd64'] %} +{{package}}: binary-from-other-architecture *usr/lib/debug/lib/modules/{{abiname}}{{localversion}}/vdso/vdsox32.so* +{% endif %} + +# Some 32-bit architectures need 64-bit kernels and we still build +# these as the "wrong" architecture rather than mandating multiarch. +{% if arch in ['hppa', 'mips', 'mipsel', 'powerpc'] %} +{{package}}: binary-from-other-architecture *usr/lib/debug/* +{% endif %} |