Skip to content

Instantly share code, notes, and snippets.

Last active February 5, 2023 19:39
What would you like to do?
# place in /etc/pacman.d/hooks
# strips the installed/upgraded kernel and places it in /boot
Operation = Install
Operation = Upgrade
Type = Package
Target = linux
Description = Pull ELF kernel to /boot
Depends = linux-headers
When = PostTransaction
Exec = /usr/bin/strip /usr/src/linux/vmlinux -o /boot/vmlinux
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment