Talk:Kernel/Arch build system
Appearance
Latest comment: 6 September 2023 by Scimmia in topic Pacman hooks
Pacman hooks
Would it be possible to document how this process can be automated with pacman hooks? E.g. each time there is an update to the arch kernel, you trigger a script which builds your custom kernel?
—This unsigned comment is by 498et498et (talk) 22:12, 6 September 2023. Please sign your posts with ~~~~!
- You can't call pacman from alpm hooks, as the database is locked. This means you couldn't run makepkg -s to install deps/makedeps nor install the package once built. You could potentially build in a chroot, but without installing, it seems of limited use. Scimmia (talk) 23:45, 6 September 2023 (UTC)