forked from canonical/subiquity
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsnapcraft.yaml
90 lines (88 loc) · 2.27 KB
/
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
name: subiquity
version: git
summary: Ubuntu installer
description: The Ubuntu server installer
confinement: classic
apps:
subiquity:
command: usr/bin/subiquity
subiquity-loadkeys:
command: usr/bin/subiquity-loadkeys
console-conf:
command: usr/bin/console-conf
probert:
command: bin/probert
subiquity-service:
command: usr/bin/subiquity-service
daemon: simple
restart-condition: always
parts:
subiquity:
plugin: python
build-packages:
- libsystemd-dev
- lsb-release
- pkg-config
- python3-distutils-extra
- python3-urwid
stage-packages:
- libc6
- libsystemd0
- iso-codes
- lsb-release
- python3-distutils-extra
- python3-urwid
- python3-requests
- python3-requests-unixsocket
python-packages:
- attrs
- pyyaml
- systemd-python
#- urwid
source: .
source-type: git
wrappers:
plugin: dump
source: .
source-type: git
organize:
'bin/console-conf-tui': usr/bin/console-conf
'bin/subiquity-tui': usr/bin/subiquity
'bin/subiquity-loadkeys': usr/bin/subiquity-loadkeys
'bin/curtin-journald-forwarder': usr/bin/curtin-journald-forwarder
'bin/subiquity-service': usr/bin/subiquity-service
stage-packages: [libc6]
stage:
- usr/bin
prime:
- usr/bin
users-and-groups:
plugin: dump
build-packages:
- user-setup
prepare: |
echo "get passwd/user-default-groups" | \
debconf-communicate user-setup | \
cut -d ' ' -f 2- > users-and-groups
stage-packages: [libc6]
stage:
- users-and-groups
kbdnames:
plugin: dump
build-packages:
- console-setup
- locales
- xkb-data-i18n
stage-packages: [libc6]
prepare: |
/usr/share/console-setup/kbdnames-maker /usr/share/console-setup/KeyboardNames.pl > kbdnames.txt
stage:
- kbdnames.txt
probert:
plugin: python
build-packages: [python-setuptools, libnl-3-dev, libnl-genl-3-dev, libnl-route-3-dev]
stage-packages: [libc6, libnl-3-dev, libnl-genl-3-dev, libnl-route-3-dev]
source: https://github.com/CanonicalLtd/probert.git
source-type: git
source-commit: b94a83bdfa8653bda2fe3d50e0fed9f4e14beb3e
requirements: requirements.txt