Custom kernel drivers
Loïc Minier
loic.minier at ubuntu.com
Wed Nov 16 00:47:45 UTC 2016
Hi Mike!
On Thu, Nov 10, 2016 at 8:02 PM, MikeB <mabnhdev at gmail.com> wrote:
[...]
> As far as I know, there is currently no straightforward way to include
> custom modules in a kernel snap. Is there a plan to support inclusion
> of custom modules in kernel snaps in the future?
>
[...]
If you mean in terms of tooling, this could be a feature of the kernel
plugin of snapcraft. Worst case, you can prepare the kernel snap's
directory structure the way you like with custom scripts (kernel build is
fairly standard) and then assemble the snap from this output. This would
allow for out-of-tree kernel modules as well.
But in any case I'd recommend building the kernel at the same times as
the modules. Ideally, you'd engineer the kernel source tree for the extra
modules to be built as part of the kernel build process, making this easy
for anyone to consume your tree.
Cheers,
- Loïc Minier
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snapcraft.io/archives/devices/attachments/20161116/5caf9e74/attachment.html>
More information about the Devices
mailing list