Hello, I would like to rebuild a Debian kernel with an extra patch. I have followed the instructions at https://kernel-handbook.alioth.debian.org/ch-common-tasks.html#s-common-official:
$ apt-get source -t stretch linux $ cd linux-4.9.30 $ perl -ipe 's/^debug-info: true/debug-info: false/g;' debian/config/amd64/defines $ bash debian/bin/test-patches -f amd64 ~/in-progress/linux-4.10.0+alps/alps.diff This seemed to work fine so far, but for some reason I did get debug symbols as well: $ dir .. total 678M drwxr-xr-x 25 nikratio nikratio 4.0K Sep 7 14:36 linux-4.9.30 -rw-r--r-- 1 nikratio nikratio 439K Sep 7 15:30 linux-headers-4.9.0-3-amd64_4.9.30-2+deb9u3a~test_amd64.deb -rw-r--r-- 1 nikratio nikratio 546M Sep 7 15:47 linux-image-4.9.0-3-amd64-dbg_4.9.30-2+deb9u3a~test_amd64.deb -rw-r--r-- 1 nikratio nikratio 37M Sep 7 15:38 linux-image-4.9.0-3-amd64_4.9.30-2+deb9u3a~test_amd64.deb -rw-r--r-- 1 nikratio nikratio 91M Jun 18 14:55 linux_4.9.30.orig.tar.xz -rw-r--r-- 1 nikratio nikratio 3.0M Aug 6 13:24 linux_4.9.30-2+deb9u3.debian.tar.xz -rw-r--r-- 1 nikratio nikratio 121K Aug 6 13:24 linux_4.9.30-2+deb9u3.dsc Do I need to do something else to omit building the -dbg package? More important, however, I wasn't able to build the common headers package. Following the instructions I get: $ fakeroot make -f debian/rules.gen binary-arch_amd64_none_real make: Nothing to be done for 'binary-arch_amd64_none_real'. What do I have to do to get the -common header .deb? Thanks! -Nikolaus -- GPG Fingerprint: ED31 791B 2C5C 1613 AF38 8B8A D113 FCAC 3C4E 599F »Time flies like an arrow, fruit flies like a Banana.«