Bug#874635: debian-kernel-handbook: Some outdated instructions in "Common Tasks"
Package: debian-kernel-handbook
Severity: normal
> 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
This won't do anything because debug-info is now enabled in the top
level configuration (debian/config/defines). Although it is possible
to override it in the per-architecture configuration file, it is
simpler to edit the value in top level file.
> $ 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?
It's now an arch-independent package, so this should do it:
make -f debian/rules.gen binary-indep_none
Please can you open a bug report against debian-kernel-handbook, so I
remember to update it?
Reply to: