Personal gentoo overlay
Go to file
projectmoon 4673c5c0d4 Remove libre-sources 2021-08-06 12:19:53 +02:00
dev-util/rust-analyzer-bin Fix manifest and download URIs for rust-analzyer 2021-08-05 08:58:57 +02:00
metadata thin manifests 2021-07-09 20:23:29 +00:00
profiles Change reponame to projectmoon 2021-07-09 16:11:42 +00:00
sys-kernel Remove libre-sources 2021-08-06 12:19:53 +02:00
virtual/linux-sources fix linux sources dir 2021-08-03 10:19:22 +02:00
README.md Update readme 2021-08-06 12:02:18 +02:00
gnu-sources-x.y.z.ebuild.template script to find latest stable gentoo kernel version and generate gnu-sources 2021-08-05 19:54:18 +02:00
new-kernel-build script to find latest stable gentoo kernel version and generate gnu-sources 2021-08-05 19:54:18 +02:00

README.md

Personal Gentoo overlay, focusing mostly on needed tools and compatibility for the Librem 14 computer.

Available packages:

  • dev-util/rust-analyzer-bin: A properly versioned ebuild of rust-analyzer-bin.
  • sys-kernel/gnu-sources: An analog to gentoo-sources that tracks the sources of the Linux-libre kernel. An updated version of virtual/linux-sources also accompanies this package.
  • sys-kernel/librem-ec-acpi: An ebuild packaging the Librem 14 EC ACPI kernel module, necessary for proper functioning of the laptop's battery charging and function keys.

How to Add This Repository

Using eselect-repository:

# eselect repository add projectmoon git https://git.agnos.is/projectmoon/projectmoon-overlay

Using the Linux-libre Kernel with Gentoo

The sys-kernel/gnu-sources package tracks the current stable gentoo-sources version for the amd64 architecture. To use it, make sure both sys-kernel/gnu-sources and virtual/linux-sources from the overlay are unmasked and accepted. Then emerge sys-kernel/gnu-sources.

The Linux-libre sources operate like any other kernel source package in Gentoo. To use it, you must mark it as the selected kernel with eselect kernel, and then build and install it with genkernel or manual kernel compilation.

Using the Librem EC ACPI kernel module

The Librem EC ACPI kernel module should install and be automatically available (via modprobe) after installation, using emerge sys-kernel/librem-ec-acpi. The module is currently installed to /lib/modules/<kernel>/librem/.

When upgrading or installing a new kernel, you will need to do emerge @modules-rebuild to install the module for the new kernel.