This repository has been archived by the owner on Oct 16, 2020. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathhybris-mobian.yaml
74 lines (63 loc) · 1.63 KB
/
hybris-mobian.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
68
69
70
71
72
73
74
{{- $architecture := or .architecture "arm64" -}}
{{- $image := or .image (printf "mobian-android9-%s.tar.gz" $architecture) -}}
{{- $suite := "bullseye" -}}
{{- $output_type := "tarball" -}}
architecture: {{ $architecture }}
actions:
- action: run
description: fix debos's DNS
script: /bin/ln -sf /run/systemd/resolve/resolv.conf /etc/resolv.conf
- action: debootstrap
suite: {{ $suite }}
components:
- main
mirror: https://deb.debian.org/debian
variant: minbase
- action: overlay
source: mobian/overlay
description: Adding mobian overlay
destination: /
- action: run
chroot: true
description: update apt
command: apt update
- action: apt
chroot: true
description: install packages
packages:
- mobian-phosh
- mobian-phosh-phone
- lxc-android
- udev
- openssh-server
- strace
- net-tools
- wlr-randr
- libhybris
- libhybris-test
- hybris-usb
- ofono
- ofono-scripts
- ofono-ril-binder-plugin
- pulseaudio-module-droid
- bluebinder
- action: overlay
source: android9/overlay
description: Adding Android 9 base specific overlay
destination: /
- action: run
chroot: true
description: setup halium
script: scripts/setup_halium.sh
- action: overlay
source: hacks/overlay
description: adding hacks overlay
destination: /
- action: run
chroot: true
description: enable services
script: scripts/enable_services.sh
- action: run
chroot: true
description: disable mobian MTP and fwupd
script: scripts/disable_services.sh