Custom kernel drivers
Peng Liu
pengliu.mail at gmail.com
Wed Nov 16 04:17:23 UTC 2016
Hi Folks,
I have a related question.
After we build the kernel snap, how can we replace the default kernel snap
if we use the image from ubuntu?
http://releases.ubuntu.com/ubuntu-core/16/
I tried that but snap command reported an error like "cannot replace signed
** snap with an unasserted one".
Thanks.
Peng
On Tue, Nov 15, 2016 at 6:47 PM, Loïc Minier <loic.minier at ubuntu.com> wrote:
> 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
>
> --
> Devices mailing list
> Devices at lists.snapcraft.io
> Modify settings or unsubscribe at: https://lists.snapcraft.io/
> mailman/listinfo/devices
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.snapcraft.io/archives/devices/attachments/20161115/e35a7cf6/attachment.html>
More information about the Devices
mailing list