-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathwhisk.yaml
231 lines (204 loc) · 5.47 KB
/
whisk.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
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
---
version: 2
defaults:
site: local
mode: development
hooks:
pre_init: |
BB_ENV_EXTRAWHITE="${BB_ENV_EXTRAWHITE} \
DOOM_GAMES \
"
versions:
gatesgarth:
description: Yocto 3.2
oeinit: "%{WHISK_PROJECT_ROOT}/gatesgarth/poky/oe-init-build-env"
layers:
- name: core
paths:
- "%{WHISK_PROJECT_ROOT}/gatesgarth/poky/meta"
- "%{WHISK_PROJECT_ROOT}/gatesgarth/poky/meta-poky"
fetch:
commands:
- git submodule update --init gatesgarth/poky
- name: raspberrypi
paths:
- "%{WHISK_PROJECT_ROOT}/gatesgarth/meta-raspberrypi"
fetch:
commands:
- git submodule update --init gatesgarth/meta-raspberrypi
- name: arm
paths:
- "%{WHISK_PROJECT_ROOT}/gatesgarth/meta-arm/meta-arm"
- "%{WHISK_PROJECT_ROOT}/gatesgarth/meta-arm/meta-arm-toolchain"
fetch:
commands:
- git submodule update --init gatesgarth/meta-arm
- name: rockchip
paths:
- "%{WHISK_PROJECT_ROOT}/gatesgarth/meta-rockchip"
fetch:
commands:
- git submodule update --init gatesgarth/meta-rockchip
- name: rockpix
paths:
- "${WHISK_PROJECT_ROOT}/meta-rockpix"
- name: doom
paths:
- "%{WHISK_PROJECT_ROOT}/meta-doom"
hardknott:
description: Yocto 3.3
oeinit: "%{WHISK_PROJECT_ROOT}/hardknott/poky/oe-init-build-env"
layers:
- name: core
paths:
- "%{WHISK_PROJECT_ROOT}/hardknott/poky/meta"
- "%{WHISK_PROJECT_ROOT}/hardknott/poky/meta-poky"
fetch:
commands:
- git submodule update --init hardknott/poky
- name: raspberrypi
paths:
- "%{WHISK_PROJECT_ROOT}/hardknott/meta-raspberrypi"
fetch:
commands:
- git submodule update --init hardknott/meta-rapsberrypi
- name: arm
paths:
- "%{WHISK_PROJECT_ROOT}/hardknott/meta-arm/meta-arm"
- "%{WHISK_PROJECT_ROOT}/hardknott/meta-arm/meta-arm-toolchain"
fetch:
commands:
- git submodule update --init hardknott/meta-arm
- name: rockchip
paths:
- "%{WHISK_PROJECT_ROOT}/hardknott/meta-rockchip"
fetch:
commands:
- git submodule update --init hardknott/meta-rockchip
- name: pine64
paths:
- "%{WHISK_PROJECT_ROOT}/hardknott/meta-pine64"
fetch:
commands:
- git submodule update --init hardknott/meta-pine64
- name: rockpix
paths:
- "${WHISK_PROJECT_ROOT}/meta-rockpix"
- name: doom
paths:
- "%{WHISK_PROJECT_ROOT}/meta-doom"
modes:
development: {}
sites:
local:
description: A local machine
aws:
description: AWS CodeBuilder
conf: |
#INHERIT += "rm_work"
SSTATE_DIR = "/mnt/yocto-cache/sstate"
DL_DIR = "/mnt/yocto-cache/downloads"
# For now. Need to setup a hash equivalence server in AWS
BB_SIGNATURE_HANDLER = "OEBasicHash"
tekton:
description: Building in a Tekton pipeline
conf: |
# For now. Need to setup a hash equivalence server in Kubernetes
BB_SIGNATURE_HANDLER = "OEBasicHash"
core:
layers:
- core
conf: |
DISTRO = "poky"
INIT_MANAGER = "systemd"
DISTRO_FEATURES_append = " pam wayland"
DOOM_GAMES ??= "chexquest3 harmony delaweare adventuresofsquare"
CORE_IMAGE_EXTRA_INSTALL = "${DOOM_GAMES} iproute2"
IMAGE_FSTYPES += "wic.bz2 wic.bmap"
products:
raspberrypi4:
description: Raspberry Pi 4 (64-bit)
default_version: gatesgarth
layers:
- core
- raspberrypi
- doom
targets:
- "mc:product-raspberrypi4:core-image-doom"
conf: |
MACHINE = "raspberrypi4-64"
PREFERRED_RPROVIDER_zdoom = "lzdoom"
ENABLE_UART = "1"
raspberrypi3:
description: Raspberry Pi 3 (64-bit)
default_version: gatesgarth
layers:
- core
- raspberrypi
- doom
targets:
- "mc:product-raspberrypi3:core-image-doom"
conf: |
MACHINE = "raspberrypi3-64"
PREFERRED_RPROVIDER_zdoom = "lzdoom"
ENABLE_UART = "1"
tinkerboard:
description: ASuS TinkerBoard
default_version: gatesgarth
layers:
- core
- arm
- rockchip
- doom
targets:
- "mc:product-tinkerboard:core-image-doom"
conf: |
MACHINE = "tinker-board"
PREFERRED_RPROVIDER_zdoom = "lzdoom"
rockpi4:
description: Rock Pi 4
default_version: hardknott
layers:
- core
- arm
- rockchip
- doom
targets:
- "mc:product-rockpi4:core-image-doom"
conf: |
MACHINE = "rock-pi-4b"
PREFERRED_RPROVIDER_zdoom = "lzdoom"
qemux86-64:
description: qemu x86_64
default_version: gatesgarth
layers:
- core
- doom
targets:
- "mc:product-qemux86-64:core-image-doom"
conf: |
MACHINE = "qemux86-64"
PACKAGECONFIG_append_pn-qemu-system-native = " gtk+"
rockpix:
description: Rock Pi X
default_version: gatesgarth
layers:
- core
- rockpix
- doom
targets:
- "mc:product-rockpix:core-image-doom"
conf: |
MACHINE = "rock-pi-x"
pineh64:
description: Pine H64
default_version: hardknott
layers:
- core
- arm
- pine64
- doom
targets:
- "mc:product-pineh64:core-image-doom"
conf: |
MACHINE = "pine-h64"