forked from droidian-releng/rootfs-templates
-
Notifications
You must be signed in to change notification settings - Fork 7
/
droidian_phosh.yaml
51 lines (44 loc) · 1.34 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
{{- $architecture := or .architecture "arm64" -}}
{{- $apilevel := or .apilevel "28" -}}
{{- $suite := "bookworm" -}}
{{- $version := or .version "nightly" -}}
{{- $variant := or .variant "phone" -}}
{{- $use_internal_repository := or .use_internal_repository "no" -}}
{{- $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 }}
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 "nightly" }}
- action: apt
chroot: true
description: install devtools (nightly)
packages:
- droidian-devtools
- droidian-quirks-regenerate-ssh-keys
- adaptation-hybris-devtools
{{end}}