Closed adamrk closed 4 years ago
Oooh, how fun!
@ojeda do we have a plan for how to do tests in Rust-for-Linux? I'm trying to decide if we should just merge this as-is or do we need a plan for how to do signing with upstream?
No plan so far -- we probably want to take a look into how to best integrate with the existing kernel testing infrastructure.
Concerning signing for Rust for Linux, I don't think anything is needed. For this repo, though, since it is intended for out-of-tree modules, this could make it easier to test on distro kernels. On the other hand, I assume this would only be used by newcomers to kernel development, and as such I'd really recommend them to get accustomed into building their own kernels and the kernel development process in general. Further, testing on one's live machine should be avoided unless one has a need for it :-)
Yeah, that makes sense.
Added the option to sign the kernel modules when testing so that the tests can pass when running locally on a machine with UEFI secure boot enabled. Not sure if this is too specific of a use case or not...