NOTA BENE: this snapcraft.yaml will be functional only after the next rebase on xenial/master,
since it requires the helper debian/snapcraft.mk file only present in
xenial/master-next at the moment
Signed-off-by: Paolo Pisati <paolo.pisati@canonical.com>
Acked-by: Tim Gardner <tim.gardner@canonical.com>
Signed-off-by: Kamal Mostafa <kamal@canonical.com>
-name: pc-kernel
-version: null
-version-script: |
- . debian/debian.env
- dpkg-parsechangelog -l $DEBIAN/changelog -S version
-summary: The Ubuntu generic Linux kernel
-description: This Ubuntu generic Linux kernel
-grade: stable
-confinement: strict
+name: ubuntu-raspi2-kernel
+version: 4.4.0
+summary: The Raspberry Pi 2/3 kernel for snappy
+description: This is a snapped kernel, based off the xenial raspi2 branch and config
plugin: kernel
source: .
source-type: git
plugin: kernel
source: .
source-type: git
- kconfigflavour: generic
+ kdefconfig: ['--makefile=debian/snapcraft.mk', 'branch=raspi2','flavour=raspi2', 'config']
+ - CONFIG_LOCALVERSION="-xenial_raspi2"
- firmware:
- plugin: nil
- stage-packages:
- - linux-firmware
- organize:
- lib/firmware: firmware
- prime:
- - -usr
- - -lib
- build-packages:
- - cpio
- - libssl-dev
+ kernel-image-target: zImage