[PATCH] [SRU] [X/raspi2] Snapcraft.yaml various improvements

Paolo Pisati paolo.pisati at canonical.com
Tue Aug 1 09:27:10 UTC 2017

BugLink: http://bugs.launchpad.net/bugs/1700577

Update the snapcraft.yaml we ship in Xenial to exploit some of the new feature
present in snapcraft's 3.21.

Among the improvements:

1) include the linux-firmware / raspberry-firmware-wireless package in the final
2) rename it to pi2-kernel to match the snaps we have in the store
3) dynamic versioning
4) autogenerated config from debian.$DEBIAN/config/*
5) automatic download of raspberry-firmware-wireless from ppa:~snappy-dev

This brings the pi2 kernel in line with generic/pc-kernel and

The resulting kernel is identical to the one we push to the store, but can be
fully built locally. Tested manually by comparing the two snaps (local generated
and the one we have in the store) and by building an edge image from scratch.

Paolo Pisati (1):
  UBUNTU: snapcraft.yaml: various improvements

 snapcraft.yaml | 34 ++++++++++++++++++++++++++++++----
 1 file changed, 30 insertions(+), 4 deletions(-)


More information about the kernel-team mailing list