]> git.proxmox.com Git - mirror_ubuntu-bionic-kernel.git/blob - snapcraft.yaml
UBUNTU: snapcraft.yaml: copy retpoline-extract-one to scripts before build
[mirror_ubuntu-bionic-kernel.git] / snapcraft.yaml
1 name: pc-kernel
2 version: null
3 version-script: |
4 . debian/debian.env
5 dpkg-parsechangelog -l $DEBIAN/changelog -S version
6 summary: The Ubuntu generic Linux kernel
7 description: This Ubuntu generic Linux kernel
8 grade: stable
9 confinement: strict
10 type: kernel
11
12 parts:
13 kernel:
14 plugin: kernel
15 source: .
16 source-type: git
17 kconfigflavour: generic
18 kconfigs:
19 - CONFIG_DEBUG_INFO=n
20 override-build: |
21 cp debian/scripts/retpoline-extract-one \
22 $SNAPCRAFT_PART_BUILD/scripts/ubuntu-retpoline-extract-one
23 snapcraftctl build
24 firmware:
25 plugin: nil
26 stage-packages:
27 - linux-firmware
28 organize:
29 lib/firmware: firmware
30 prime:
31 - -usr
32 - -lib
33 build-packages:
34 - cpio
35 - libssl-dev