forked from NVIDIA-BaseOS-6/linux-nvidia-5.19
-
Notifications
You must be signed in to change notification settings - Fork 2
/
snapcraft.yaml
36 lines (35 loc) · 801 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
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
type: kernel
parts:
kernel:
plugin: kernel
source: .
source-type: git
kconfigflavour: generic
kconfigs:
- CONFIG_DEBUG_INFO=n
override-build: |
cp debian/scripts/retpoline-extract-one \
$SNAPCRAFT_PART_BUILD/scripts/ubuntu-retpoline-extract-one
snapcraftctl build
kernel-with-firmware: false
firmware:
plugin: nil
stage-packages:
- linux-firmware
organize:
lib/firmware: firmware
prime:
- -usr
- -lib
build-packages:
- cpio
- libssl-dev