• sudo apt-get install kernel-package fakeroot build-essential libssl-dev git
  • sudo cp /etc/apt/sources.list /etc/apt/sources.list.bak
  • sudo sed -i 's/# deb-src/deb-src/g' /etc/apt/sources.list
  • sudo apt-get update
  • sudo apt-get build-dep linux-image-$(uname -r)
  • git clone -b drm-next-4.15-dc --single-branch git://people.freedesktop.org/~agd5f/linux/
  • cd linux && make localmodconfig
  • cp Documentation/admin-guide/reporting-bugs.rst REPORTING-BUGS
  • fakeroot make-kpkg --append-to-version "-amd" --initrd -j 8 linux-image linux-headers
  • sudo dpkg -i ../linux-*
  • sudo apt-get remove yournewkernelhere