]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/commitdiff
UBUNTU: SAUCE: snapcraft.yaml build file
authorPaolo Pisati <paolo.pisati@canonical.com>
Thu, 28 Jul 2016 13:51:00 +0000 (15:51 +0200)
committerKhalid Elmously <khalid.elmously@canonical.com>
Fri, 16 Feb 2018 22:15:42 +0000 (17:15 -0500)
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>
snapcraft.yaml

index 9eb3f4040995485c9067b1e04fef6f1d2586eebe..e61207d1c371e2c5eb6d94d1f2bb46635cdeb832 100644 (file)
@@ -1,12 +1,7 @@
-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
 type: kernel
 
 parts:
@@ -14,18 +9,8 @@ parts:
     plugin: kernel
     source: .
     source-type: git
-    kconfigflavour: generic
+    kdefconfig: ['--makefile=debian/snapcraft.mk', 'branch=raspi2','flavour=raspi2', 'config']
     kconfigs:
+      - CONFIG_LOCALVERSION="-xenial_raspi2"
       - CONFIG_DEBUG_INFO=n
-  firmware:
-    plugin: nil
-    stage-packages:
-      - linux-firmware
-    organize:
-      lib/firmware: firmware
-    prime:
-      - -usr
-      - -lib
-    build-packages:
-      - cpio
-      - libssl-dev
+    kernel-image-target: zImage