github.com/canonical/ubuntu-image@v0.0.0-20240430122802-2202fe98b290/internal/statemachine/testdata/gadget_dir/gadget.yaml (about)

     1  volumes:
     2    pc:
     3      bootloader: grub
     4      structure:
     5        - name: mbr
     6          type: mbr
     7          size: 440
     8          content:
     9            - image: pc-boot.img
    10        - name: BIOS Boot
    11          type: DA,21686148-6449-6E6F-744E-656564454649
    12          size: 1M
    13          offset: 1M
    14          offset-write: mbr+92
    15          content:
    16            - image: pc-core.img
    17        - name: EFI System
    18          type: EF,C12A7328-F81F-11D2-BA4B-00A0C93EC93B
    19          filesystem: vfat
    20          filesystem-label: system-boot
    21          size: 50M
    22          content:
    23            - source: grubx64.efi
    24              target: EFI/boot/grubx64.efi
    25            - source: shim.efi.signed
    26              target: EFI/boot/bootx64.efi
    27            - source: grub.cfg
    28              target: EFI/ubuntu/grub.cfg