1

After reading over the great Arch Linux guide for the Dell XPS 13 9560, I am curious about using the patch mentioned for enabling low-power modes on NVMe SSDs. To quote the repo that contains the patch's source:

To manually compile the Archlinux kernels from here, follow steps:

(1) git clone: https://github.com/damige/linux-nvme.git

(2) go into /src/[kernel you want]

(3) type "makepkg" -wait until compilation completes-

(4) pacman -U linux-nvme-*

(5) Adjust your bootloader to boot linux-nvme

I was wondering if it would be possible to compile this for Elementary OS(Ubuntu-based). Would I need to reinstall from scratch? Any advice on implementing this in other distros would be greatly appreciated.

  • You build the kernel manually, applying his patchset (PKGBUILDS are just bash scripts). – jasonwryan Feb 6 '17 at 20:25
  • Okay so with that in mind, granted I'm compiling Kernel code, it'll only be his code which is written for Arch Linux? Or can this Kernel be used/easily re-purposed to suit another distro? – baelx Feb 7 '17 at 21:14
  • His patches and building a kernel are distro agnostic. – jasonwryan Feb 7 '17 at 23:29
0

So, jasonwryan basically commented the answer I was looking for here. The patch is applied to a linux kernel which can be compiled and used for any distro. He linked me to a couple great articles including the same Arch Linux guide on kernels.

When I asked this question I didn't have enough knowledge about the kernel to understand how this patch is applied but thanks to him for putting me on the right track.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.