-
Notifications
You must be signed in to change notification settings - Fork 40
/
Copy pathdroidian_cutie.yaml
67 lines (59 loc) · 1.75 KB
/
droidian_cutie.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
{{- $architecture := or .architecture "arm64" -}}
{{- $apilevel := or .apilevel "28" -}}
{{- $suite := "trixie" -}}
{{- $version := or .version "next" -}}
{{- $variant := or .variant "phone" -}}
{{- $use_internal_repository := or .use_internal_repository "no" -}}
{{- $droidian_version := or .droidian_version "current" -}}
{{- $username := or .username "droidian" -}}
{{- $password := or .password "1234" -}}
{{- $hostname := or .hostname "droidian" -}}
architecture: {{ $architecture }}
actions:
- action: recipe
description: create rootfs
recipe: droidian_gsi_base.yaml
variables:
architecture: {{ $architecture }}
apilevel: {{ $apilevel }}
suite: {{ $suite }}
use_internal_repository: {{ $use_internal_repository }}
droidian_version: {{ $droidian_version }}
username: {{ $username }}
password: {{ $password }}
hostname: {{ $hostname }}
- action: apt
chroot: true
description: install cutie repos
packages:
- droidian-apt-config-cutie
- droidian-apt-config-cutie-staging
- cutie-archive-keyring
- action: apt
chroot: true
description: install cutie
packages:
- cutie-full
- adaptation-hybris-cutie
{{ if eq $variant "phone" }}
- action: apt
chroot: true
description: install packages for the phone variant
packages:
- adaptation-hybris-api{{ $apilevel }}-phone
- cutie-phone-full
{{end}}
{{ if eq $version "next" }}
- action: apt
chroot: true
description: install devtools (next)
packages:
- droidian-devtools
- droidian-quirks-regenerate-ssh-keys
- adaptation-hybris-devtools
- cutie-devtools
{{end}}
- action: run
description: clean cutie
chroot: true
script: scripts/clean-cutie.sh