-
Notifications
You must be signed in to change notification settings - Fork 1
/
modelpack.yaml
49 lines (40 loc) · 1.09 KB
/
modelpack.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
{{ $architecture := or .architecture "arm64" }}
{{ $suite := or .suite "bullseye" }}
{{ $mediapack := or .mediapack (printf "mediapack-%s-%s" $suite $architecture) }}
{{ $modelpack := or .modelpack (printf "modelpack-%s-%s" $suite $architecture) }}
architecture: {{ $architecture }}
actions:
- action: unpack
description: Unpack mediapack
file: {{ $mediapack }}.tar.gz
- action: apt
description: Pkg depends
packages:
- build-essential
- cmake
- g++-aarch64-linux-gnu
- pkg-config
- action: apt
description: OpenCV
packages:
- libopencv-dev
- libopencv-core-dev
- python3-opencv
- action: overlay
description: Packages overlay
source: overlay
destination: /opt
- action: overlay
description: Copy model-zoo
source: prebuilt/model-zoo
destination: /opt/model-zoo
- action: run
description: install model-zoo
chroot: true
script: script/model-zoo.sh
- action: recipe
description: Install desktop
recipe: .debug.yaml
- action: pack
description: Pack into tarball
file: {{ $modelpack }}.tar.gz