-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnapcraft.yaml
40 lines (39 loc) · 975 Bytes
/
snapcraft.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
name: kernel-x
version: 4.x
summary: Linux kernel snap for Ubutu Core
description: |
Linux kernel snap for Ubutu Core
1) Secure boot must off
2) Reworked kernel gets no online updates
grade: stable
confinement: strict
type: kernel
parts:
kernel:
plugin: make
source: ../ubuntu-xenial/
makefile: Makefile.xenial
prepare: |
cp $SNAPCRAFT_STAGE/../Makefile.xenial $SNAPCRAFT_PART_INSTALL/../src
cp $SNAPCRAFT_STAGE/../Makefile.xenial $SNAPCRAFT_PART_INSTALL/../build
cd $SNAPCRAFT_PART_INSTALL/../build
fakeroot debian/rules clean
fakeroot debian/rules binary-generic
make-parameters:
- LOCAL_KERNEL_PATH=$SNAPCRAFT_PART_INSTALL/../
build-packages:
- debootstrap
- lsb-release
- fakeroot
firmware:
plugin: nil
stage-packages:
- linux-firmware
organize:
lib/firmware: firmware
prime:
- -usr
- -lib
build-packages:
- cpio
- libssl-dev