Custom kernel drivers
Manik Taneja
manik at canonical.com
Mon Nov 14 03:26:17 UTC 2016
On Thu, Nov 10, 2016 at 11:02 AM, MikeB <mabnhdev at gmail.com> wrote:
> I asked this on the snapcraft list before this list existed and never
> received an answer. I think this list is more appropriate.
>
> What is the process for distributing custom kernel modules for Ubuntu-Core?
>
> I have several kernel modules that I want to distribute to users.
>
> I see it as I have two options, include them in a custom kernel snap
> or distribute them independent of the kernel.
>
> 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?
>
> FYI - I currently use a custom plugin that derives from the kernel
> plugin to stop after the build allowing me to build my custom kernel
> modules using the kernel build area, copy the resulting modules into
> the install area, perform a depmod, then continue with the staging and
> snapping.
>
> Ideally, I'd like to distribute the modules independent of the
> kernel/OS. I'd like to distribute them via a snap. As far as I know,
> there is no current process for distributing kernel modules in snaps.
> I think you would need some type of post-processing to at least
> perform a depmod and possibly an insmod after installing. You would
> also need some kind of process to keep the modules in sync with the
> target's kernel along the lines DKMS.
>
> Any plans or thoughts about distributing kernel modules to Ubuntu-Core?
>
There's no plan to support DKMS with Ubuntu Core. The only option is to
create your
own custom kernel snap and pre-package your modules. Once in, anyone can
insert them
at any time during the device life-cycle.
/Manik
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snapcraft.io/archives/devices/attachments/20161113/64441db5/attachment.html>
More information about the Devices
mailing list