-
Notifications
You must be signed in to change notification settings - Fork 40
/
droidian_phosh.yaml
64 lines (55 loc) · 1.65 KB
/
droidian_phosh.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
{{- $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 droidian-phosh
packages:
- droidian-phosh-full
{{ if eq $variant "phone" }}
- action: apt
chroot: true
description: install packages for the phone variant
packages:
- adaptation-hybris-api{{ $apilevel }}-phone
- droidian-phosh-phone
{{end}}
{{ if eq $version "next" }}
- action: apt
chroot: true
description: install devtools (next)
packages:
- droidian-devtools
- droidian-quirks-regenerate-ssh-keys
- adaptation-hybris-devtools
{{end}}
- action: apt
chroot: true
description: install droidian-extras
packages:
- droidian-extras
- action: run
description: clean droidian-phosh
chroot: true
script: scripts/clean-phosh.sh