-
Notifications
You must be signed in to change notification settings - Fork 0
/
snapcraft.yaml
48 lines (44 loc) · 992 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
41
42
43
44
45
46
47
48
name: test-fwupd-sample
version: '1.0'
summary: A sample snap to install newer firmware updates over fwupd
description: |
This snap gives a sample to demostrate how the client updates
firmware through fwupd for reference implementation.
architectures:
- amd64
confinement: strict
base: core18
grade: stable
plugs:
fwupd-data:
content: fwupd-data
interface: content
target: $SNAP_DATA
fwupd-plug:
interface: fwupd
slots:
fwupd-slot:
interface: fwupd
apps:
firmwareupgrade:
command: bin/firmware_upgrade
environment:
GI_TYPELIB_PATH: $SNAP/usr/lib/x86_64-linux-gnu/girepository-1.0/
G_MESSAGES_DEBUG: all
G_DEBUG: all
G_MESSAGES_PREFIXED: all
plugs:
- network
- fwupd-plug
slots:
- fwupd-slot
parts:
firmwareupgrade:
plugin: python
source: .
python-version: python3
stage-packages:
- python3-wget
- libgirepository1.0-dev
- python3-gi
- gir1.2-fwupd-2.0