You are not logged in.

#1 2025-07-07 12:04:46

Sffred
Member
Registered: 2020-08-30
Posts: 55

[SOLVED] Signed kernel modules when building in clean chroot

I am trying to sign out-of-tree kernel modules following the guide

https://wiki.archlinux.org/title/Signed_kernel_modules

It says that one should copy needed scripts in the certs-local folder, and modify PKGBUILD to call them. However, when building in a clean chroot, i.e.

https://wiki.archlinux.org/title/Develo … ean_chroot

the certs-local folder will not be included in the chroot environment. How to add extra files to the makechrootpkg? Or there's another way to do this.

Last edited by Sffred (2025-07-08 05:24:30)

Offline

#2 2025-07-08 05:23:20

Sffred
Member
Registered: 2020-08-30
Posts: 55

Re: [SOLVED] Signed kernel modules when building in clean chroot

I've figured out how to do this: Make it as a package, include in the makedeps in the PKGBUILD, and use -I path_to_the_package to install it during the make process

Offline

Board footer

Powered by FluxBB