version: '2'
pipelines:
  - mpp-import-pipelines:
      path: ../manifests/fedora-vars.ipp.yaml
  - mpp-import-pipeline:
      path: ../manifests/fedora-build-v2.ipp.yaml
      id: build
    runner:
      mpp-format-string: org.osbuild.fedora{release}
  - name: tree
    build: name:build
    stages:
      - type: org.osbuild.truncate
        options:
          filename: disk.img
          size: '10737418240'
      - type: org.osbuild.parted
        devices:
          device:
            type: org.osbuild.loopback
            options:
              filename: disk.img
        options:
          label: gpt
          partitions:
            - start: 2048
              size: 1024000
              bootable: true
              name: EFI System Partition
            - start: 1026048
              size: 1024000
              name: boot
            - start: 2050048
              size: 4096
              type: bios_grub
              name: BIOS boot
            - start: 2054144
              size: 18917343
              type: lvm
              name: LVM
