Your message dated Mon, 22 Jun 2020 11:22:16 +0200
with message-id <4888497.0TKaKLWQZd@apollon>
and subject line Bug#954778: Suppress irrelevant warning when generating a 
debian package
has caused the Debian Bug report #954778,
regarding linux-image-amd64: if using make bindeb-pkg there is a warning about 
the missing debug package
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact

Debian Bug Tracking System
Contact with problems
--- Begin Message ---
Package: linux-image-amd64
Version: 5.4.19-1
Severity: wishlist
Tags: patch

Dear Maintainer,

   * What led up to the situation?
     Compiling a new kernel from the source

   * What exactly did you do (or not do) that was effective (or
     make -j10 bindeb-pkg

   * What was the outcome of this action?
     A warning that there is no debug package

   * What outcome did you expect instead?
     No such warning.

I attach a patch to include the debug package in the
control file only if it is built later

-- System Information:
Debian Release: bullseye/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'testing'), (101, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 5.6.0-rc7 (SMP w/8 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages linux-image-amd64 depends on:
ii  linux-image-5.4.0-4-amd64  5.4.19-1

linux-image-amd64 recommends no packages.

linux-image-amd64 suggests no packages.
Include the debug package in the control file only if it is to be created
diff --git a/scripts/package/mkdebian b/scripts/package/mkdebian
index 357dc56bcf30..1673b9f84804 100755
--- a/scripts/package/mkdebian
+++ b/scripts/package/mkdebian
@@ -198,7 +198,10 @@ Description: Linux support headers for userspace 
  This package provides userspaces headers from the Linux kernel.  These headers
  are used by the installed headers for GNU glibc and other system libraries.
 Multi-Arch: same

+if [ -n "$BUILD_DEBUG" ] ; then
+cat <<EOF >> debian/control
 Package: $dbg_packagename
 Section: debug
 Architecture: $debarch
@@ -206,6 +209,7 @@ Description: Linux kernel debugging symbols for $version
  This package will come in handy if you need to debug the kernel. It provides
  all the necessary debug symbols for the kernel and its modules.

 cat <<EOF > debian/rules
 #!$(command -v $MAKE) -f

--- End Message ---
--- Begin Message ---
version 5.7~rc5-1~exp1

--- End Message ---

Reply via email to