pinephone.yaml 1.3 KB
Newer Older
1 2
{{- $architecture := or .architecture "arm64" -}}
{{- $image := or .image "ubuntu-touch-pinephone.img" -}}
Marius Gripsgard's avatar
Marius Gripsgard committed
3
{{- $variant := or .variant "lima" -}}
4
{{- $debug := or .debug "off" -}}
5 6 7 8 9 10

architecture: {{ $architecture }}
actions:
  - action: recipe
    description: Pine64 common
    recipe: pine64-common.yaml
11
    variables:
12 13
      architecture: {{ $architecture }}
      variant: {{ $variant }}
14
      debug: {{ $debug }}
15

Marius Gripsgard's avatar
fix  
Marius Gripsgard committed
16
  - action: overlay
Marius Gripsgard's avatar
Marius Gripsgard committed
17 18 19
    source: pine64/pinephone
    destination: /

Marius Gripsgard's avatar
Marius Gripsgard committed
20 21 22 23 24 25 26 27 28 29 30 31 32 33 34
  - 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 ]

35 36 37 38 39 40
  - action: filesystem-deploy
    description: Deploying filesystem into image

  - action: raw
    description: Installing bootloader
    origin: u-boot
41
    source: u-boot-sunxi-with-spl-pinephone.bin
42 43
    offset: 8192

44 45 46 47 48 49
  - action: recipe
    description: Common Pine64 end-of-image tasks
    recipe: pine64-common-end.yaml
    variables:
      architecture: {{ $architecture }}

50 51 52 53 54 55
  - action: recipe
    description: Polish the image
    recipe: polish.yaml
    variables:
      architecture: {{ $architecture }}
      image: {{ $image }}