-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy pathpinephone-dev1.yaml
49 lines (43 loc) · 1.18 KB
/
pinephone-dev1.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
{{- $architecture := or .architecture "arm64" -}}
{{- $image := or .image "ubuntu-touch-pinephone-devboard1.img" -}}
{{- $variant := or .variant "lima" -}}
architecture: {{ $architecture }}
actions:
- action: recipe
description: Pine64 common
recipe: pine64-common.yaml
variables:
architecture: {{ $architecture }}
variant: {{ $variant }}
debug: on
- action: run
description: Set boot-dontbeevil to default
chroot: true
command: cp -av /boot/boot-dontbeevil.scr /boot/boot.scr
- action: image-partition
description: Creating image
imagename: {{ $image }}
imagesize: 4GB
partitiontype: msdos
mountpoints:
- mountpoint: /
partition: ROOTFS
partitions:
- name: ROOTFS
fs: ext4
start: 1M
end: 100%
flags: [ boot ]
- action: filesystem-deploy
description: Deploying filesystem into image
- action: raw
description: Installing bootloader
origin: u-boot
source: u-boot-sunxi-with-spl-sopine.bin
offset: 8192
- action: recipe
description: Polish the image
recipe: polish.yaml
variables:
architecture: {{ $architecture }}
image: {{ $image }}