forked from erfanoabdi/rootfs-builder-debos-android9
-
Notifications
You must be signed in to change notification settings - Fork 0
/
android9-gsi.yaml
31 lines (27 loc) · 1.05 KB
/
android9-gsi.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
{{- $architecture := or .architecture "armhf" -}}
{{- $image := or .image (printf "ubuntu-touch-android9-%s.tar.gz" $architecture) -}}
{{- $output_type := "tarball" -}}
{{- $channel := or .channel "devel" -}}
architecture: {{ $architecture }}
actions:
- action: recipe
description: Generate generic Android 9 rootfs
recipe: android9-generic.yaml
variables:
architecture: {{ $architecture }}
image: {{ $image }}
- action: run
chroot: true
description: Enable SSH and USB network
command: sed -i 's/PasswordAuthentication=no/PasswordAuthentication=yes/g' /etc/init/ssh.override && sed -i 's/manual/start on startup/g' /etc/init/ssh.override && sed -i 's/manual/start on startup/g' /etc/init/usb-tethering.conf
- action: run
chroot: true
description: Setting password on phablet user
command: echo phablet:phablet | chpasswd
- action: recipe
description: Polish the image
recipe: polish.yaml
variables:
architecture: {{ $architecture }}
image: {{ $image }}
output_type: {{ $output_type }}