[PATCH] [RFC] [SRU] [X/raspi2] UBUNTU: snapcraft.yaml: various improvements

Stefan Bader stefan.bader at canonical.com
Mon Jul 10 09:59:25 UTC 2017


On 27.06.2017 17:56, Paolo Pisati wrote:
> BugLink: http://bugs.launchpad.net/bugs/1700480
> 
> This patch improves over the original snapcraft.yaml we ship in Xenial,
> and makes the generated kernel snap nearly identical to the one we ship
> in the store.
> Among the different improvements, we have:
> 
> 1) include the linux-firmware raspberry-wireless-firmware packages in
>    the final snap
> 2) rename it to pi2-kernel to match the snap we have in the store
> 3) dynamic versioning
> 4) autogenerated config from debian.$DEBIAN/config/*
> 
> I've marked this as an RFC because it requires a package[1] that is only
> available in PPAs, and as such, if you try to build this kernel snap locally it
> will fail - on the other hand, it works if it is built on LP using a snap
> recipe[2] that depends on that PPA.
> 
> 1: ppa:snappy-dev/image - raspberrypi-wireless-firmware

I wonder whether the yaml file supports comments and then if it would not be
better to add info about the ppa to that file?

-Stefan

> 2: https://launchpad.net/~p-pisati/+snap/pi2-kernel
> 
> Paolo Pisati (1):
>   UBUNTU: snapcraft.yaml: various improvements
> 
>  snapcraft.yaml | 15 +++++++++++----
>  1 file changed, 11 insertions(+), 4 deletions(-)
> 


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/kernel-team/attachments/20170710/4476b94b/attachment.sig>


More information about the kernel-team mailing list