forked from erfanoabdi/rootfs-builder-debos-android9
-
Notifications
You must be signed in to change notification settings - Fork 0
/
pine64-mali.yaml
34 lines (29 loc) · 949 Bytes
/
pine64-mali.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
{{- $architecture := or .architecture "arm64" -}}
architecture: {{ $architecture }}
actions:
- action: download
description: Fetch mali driver
url: https://gitlab.com/pine64-org/sunxi-mali/-/jobs/artifacts/ubports/download?job=build
name: malidriver
filename: malidriver.zip
unpack: true
compression: zip
- action: overlay
description: Copying mali driver to rootfs
origin: malidriver
source: .
destination: /
# This needs to be done before update-initramfs (done by installing kernel with dpkg)
- action: run
chroot: true
description: Disabling lima
command: echo "blacklist lima" > /etc/modprobe.d/disable-lima.conf
- action: run
chroot: true
description: Installing mali driver
label: dpkg
script: ./scripts/apt-install.sh mali-400-wayland-driver
- action: run
chroot: true
description: Setting egl libs to use mali
script: scripts/enable-mali.sh