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

Paolo Pisati paolo.pisati at canonical.com
Tue Jun 27 15:56:50 UTC 2017

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
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(-)


More information about the kernel-team mailing list