Package Details: kernel-headers-trigger 1.0-1

Git Clone URL: https://aur.archlinux.org/kernel-headers-trigger.git (read-only, click to copy)
Package Base: kernel-headers-trigger
Description: Trigger tool for those who build Linux kernel header files from source file
Upstream URL: None
Keywords: kernel-headers-trigger,kernel,linux,kernel-triggers,triggers,util-linux
Licenses: GPL3
Submitter: Zamanhuseyinli
Maintainer: Zamanhuseyinli
Last Packager: Zamanhuseyinli
Votes: 1
Popularity: 0.90
First Submitted: 2025-05-09 22:03 (UTC)
Last Updated: 2025-05-09 22:03 (UTC)

Dependencies (1)

Required by (0)

Sources (2)

Latest Comments

Zamanhuseyinli commented on 2025-05-09 22:10 (UTC) (edited on 2025-05-09 22:40 (UTC) by Zamanhuseyinli)

🧰 Kernel Headers Trigger Tool

If you are like me and you're installing the kernel from the source file, and it is not installed to the /usr/include directory despite being installed via pacman or another package manager — this tool is for you.

It automatically copies the kernel header files from the /lib/modules/$(uname -r)/build/include directory to /usr/include, based on your current kernel version (uname -r).


🔧 Features
  • Detects your current kernel version using uname -r
  • Clears old header directories from /usr/include
  • Copies fresh headers directly from the kernel build include directory
  • Lightweight and fast

📁 Affected Directories

This tool handles the following directories inside the kernel source:

``` acpi, asm-generic, clocksource, crypto, cxl, drm, dt-bindings, generated, hyperv, keys, kunit, kvm, linux, math-emu, media, memory, misc, net, pcmcia, ras, rdma, rv, scsi, soc, sound, target, trace, uapi, ufs, vdso, video, xen