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 <[email protected]> wrote:

> Hi Mike!
>
> On Thu, Nov 10, 2016 at 8:02 PM, MikeB <[email protected]> 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
> [email protected]
> Modify settings or unsubscribe at: https://lists.snapcraft.io/
> mailman/listinfo/devices
>
>
-- 
Devices mailing list
[email protected]
Modify settings or unsubscribe at: 
https://lists.snapcraft.io/mailman/listinfo/devices

Reply via email to