Talk:Kernel/Arch build system

From ArchWiki
(Redirected from Talk:Kernel/Arch Build System)
Latest comment: 6 September 2023 by Scimmia in topic Pacman hooks

Recommended patch for avoiding manual compilation might be out of date.

Hi, searching for lines 64 and 188 in my PKGBUILD I don't get what I'm supposed to, according to the description below the patch. This makes me think the patch might be out of date.

—This unsigned comment is by Penorz (talk) 11:01, 1 February 2021 (UTC). Please sign your posts with ~~~~!Reply[reply]

Use `asp export core/linux` instead of `asp export linux`

Should we use `asp export core/linux` instead of `asp export linux`? The result would be identical with the kernel already being used.

—This unsigned comment is by Whenov (talk) 08:49, 16 March 2021 (UTC). Please sign your posts with ~~~~!Reply[reply]

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)Reply[reply]