1
0

drop debug packages

This commit is contained in:
2024-10-29 05:12:06 +03:00
parent f63f36de4f
commit 035dfc85aa
8 changed files with 4 additions and 123 deletions

View File

@@ -1,9 +0,0 @@
Package: linux-image-@abiname@@localversion@-dbg
Meta-Rules-Target: image-dbg
Build-Profiles: <!pkg.linux.nokernel !pkg.linux.nokerneldbg !pkg.linux.quick>
Depends: ${misc:Depends}
Section: debug
Priority: optional
Description: Debug symbols for linux-image-@abiname@@localversion@
This package provides the detached debug symbols for the Linux kernel
and modules in linux-image-@abiname@@localversion@.

View File

@@ -1,32 +0,0 @@
# 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', '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 %}

View File

@@ -1,9 +0,0 @@
Package: linux-image@source_suffix@@localversion@-dbg
Meta-Rules-Target: meta
Meta-Rules-Makeflags: INSTALLDOCS_LINK_DOC=linux-image-@abiname@@localversion@-dbg
Build-Profiles: <!pkg.linux.nokernel !pkg.linux.nokerneldbg !pkg.linux.nometa !pkg.linux.quick>
Depends: linux-image-@abiname@@localversion@-dbg (= ${binary:Version}), ${misc:Depends}
Provides: linux-latest-image-dbg
Description: Debugging symbols for Linux @flavour@ configuration (meta-package)
This package depends on the detached debugging symbols for the latest
Linux kernel @flavour@ configuration.

View File

@@ -1 +0,0 @@
@package@: wrong-section-according-to-package-name linux-image@source_suffix@-@flavour@-dbg => debug

View File

@@ -1 +0,0 @@
dir_to_symlink /usr/share/doc/@package@ linux-image-@abiname@@localversion@-dbg 5.7~rc5-1~exp1 @package@