Commit c78d2a20 authored by Tim Gardner's avatar Tim Gardner Committed by Stefan Bader

UBUNTU: Added Snapcraft files

Signed-off-by: default avatarTim Gardner <tim.gardner@canonical.com>
parent fb12fb64
ifeq ($(ARCH),)
arch := $(shell uname -m | sed -e s/i.86/i386/ -e s/x86_64/amd64/ \
-e s/arm.*/armhf/ -e s/s390/s390x/ -e s/ppc.*/powerpc/ \
-e s/aarch64.*/arm64/ )
else ifeq ($(ARCH),arm)
arch := armhf
else
arch := $(ARCH)
endif
config:
cat debian.$(branch)/config/config.common.ubuntu debian.$(branch)/config/$(arch)/config.common.$(arch) debian.$(branch)/config/$(arch)/config.flavour.$(flavour) >.config
name: ubuntu-generic-kernel
version: 4.4.0
summary: The generic kernel for snappy
description: This is a generic snapped kernel, based off the xenial src and config
type: kernel
parts:
kernel:
plugin: kernel
source: .
source-branch: master
source-type: git
kdefconfig: ['--makefile=debian/snapcraft.mk', 'branch=master','flavour=generic', 'config']
kconfigs:
- CONFIG_LOCALVERSION="-xenial_generic"
- CONFIG_DEBUG_INFO=n
kernel-initrd-modules:
- squashfs
kernel-initrd-firmware:
- lib/firmware/e100/d101m_ucode.bin
- lib/firmware/e100/d101s_ucode.bin
- lib/firmware/e100/d102e_ucode.bin
kernel-image-target: bzImage
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment