User:Veremit/Genkernel for musl

From Gentoo Wiki
Jump to:navigation Jump to:search

Fixing Genkernel for use on musl systems

There are several issues using Genkernel on musl systems. These include:

  • Insufficient patching for genkernel "sub-packages"
  • copying the musl linker files (or lack thereof)


  • There is no /etc/ in musl. This means we don't need to copy it in gen_initramfs#L509
  • Similarly no /etc/ Remove from gen_initramfs#L512-513
  • We can remove the /etc/ folder from the initramfs #Lzzz