[PATCH] [B/raspi2] Fix kernel snap creation

Paolo Pisati paolo.pisati at canonical.com
Tue Aug 21 14:35:31 UTC 2018

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


The snapcaft.yaml in the raspi2 branch of the bionic kernel tree is wrong in
so many ways:

1) it's referring to generic instead of the raspi2 flavour
2) it's completely missing the firmware files section
3) the target image format is wrong
4) and it doesn't build at all


Apply the attached patch.

How to test:

Try to snap the kernel:

$ snapcraft --target-arch=arm

it will create an armhf kernel snap called pi2-kernel using the raspi2 config.

Paolo Pisati (1):
  UBUNTU: snapcraft.yaml: fix kernel snap creation

 snapcraft.yaml | 33 ++++++++++++++++++++++++++++-----
 1 file changed, 28 insertions(+), 5 deletions(-)


More information about the kernel-team mailing list