This repository has been archived by the owner on Jun 3, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 10
/
device.yml
53 lines (46 loc) · 1.65 KB
/
device.yml
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
{{- $architecture := or .architecture "arm64" -}}
{{- $suffix := or .suffix "testbuild" -}}
{{- $image := or .image (printf "droidian-rootfs-api28gsi-%s%s.zip" $architecture $suffix) -}}
{{- $output_type := "tarball" -}}
{{- $version := or .version "nightly" -}}
architecture: {{ $architecture }}
actions:
- action: recipe
description: Generate api28gsi phone rootfs
recipe: rootfs-templates/gsi_full_phone.yaml
variables:
architecture: {{ $architecture }}
apilevel: 28
version: {{ $version }}
{{ if ne $version "nightly" }}
- action: recipe
description: Get devtools sideload's zip
recipe: rootfs-templates/recipes/sideload-create.yaml
variables:
architecture: {{ $architecture }}
sideload_name: droidian-devtools-{{ $architecture }}{{ $suffix }}
packages: droidian-devtools adaptation-hybris-devtools
{{end}}
- action: recipe
description: Get adaptation-volla-yggdrasil sideload's zip
recipe: rootfs-templates/recipes/sideload-create.yaml
variables:
architecture: {{ $architecture }}
device_arch: arm64
sideload_name: droidian-adaptation-volla-yggdrasil-{{ $architecture }}{{ $suffix }}
packages: adaptation-volla-yggdrasil adaptation-volla-yggdrasil-configs
- action: recipe
description: Polish the image
recipe: rootfs-templates/recipes/polish.yaml
variables:
architecture: {{ $architecture }}
image: {{ $image }}
output_type: {{ $output_type }}
- action: run
chroot: false
description: Generate flashable zip
script: genzip.sh {{ $image }}
- action: run
chroot: false
description: Show build output
command: ls -lha