-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmediapack.yaml
41 lines (33 loc) · 1.03 KB
/
mediapack.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
{{ $architecture := or .architecture "arm64" }}
{{ $suite := or .suite "bullseye" }}
{{ $ospack := or .ospack (printf "ospack-%s-%s" $suite $architecture) }}
{{ $mediapack := or .mediapack (printf "mediapack-%s-%s" $suite $architecture) }}
{{ $window := or .window "none" }}
architecture: {{ $architecture }}
actions:
- action: unpack
description: Unpack ospack
file: {{ $ospack }}.tar.gz
- action: run
description: Apply Radxa APT
chroot: true
environment:
DEB_SUITE: {{$suite}}
script: scripts/setup-radxa-apt.sh apply {{$suite}}
- action: recipe
description: Install Windowing System
recipe: .desktop/window.yaml
variables:
window: {{ $window }}
- action: recipe
description: Install Video System
recipe: .desktop/video.yaml
- action: recipe
description: Install Camera System
recipe: .desktop/camera.yaml
- action: recipe
description: Install XFCE
recipe: .desktop/xfce.yaml
- action: pack
description: Pack into tarball
file: {{ $mediapack }}.tar.gz