Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

$ cd ${BUILDPATH}
$ sudo apt source linux-image-unsigned-$(uname -r)

or

$ sudo wget http://ports.ubuntu.com/pool/main/l/linux/linux-source-5.4.0_5.4.0-62.70_all.deb
$ sudo dpkg -i linux-source-5.4.0_5.4.0-62.70_all.deb
$ sudo tar xjf /usr/src/linux-source-5.4.0/linux-source-5.4.0.tar.bz

The next thing you need is the kernel configuration for that version. The easiest way to get it, is by grabbing it from a server running that version.
Assuming the current compile server already runs that kernel (which is not necessary, but certainly makes things easier):

...