Skip to content

Commit b0f7b7d

Browse files
committed
Support newer ubuntu-image validations, fixes #43
1 parent 7933522 commit b0f7b7d

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

snappy/gadget/meta/gadget.yaml

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,18 @@ volumes:
44
bootloader: u-boot
55
structure:
66
- offset: 0
7-
size: 20971520 # 20480 * 1024
87
type: mbr
8+
size: 446
9+
- offset: 512
10+
type: bare
11+
size: 20971008 # 1024 * 20 * 1024 - 512
912
content:
1013
- image: boot-assets/boot0.bin
11-
offset: 8192 # 8 * 1024
14+
offset: 8192 # 8 * 1024 (sector 16)
1215
- image: boot-assets/u-boot-with-dtb.bin
13-
offset: 19554304 # 19096 * 1024
14-
- type: 0C
16+
offset: 19554304 # 19096 * 1024 (sector 38192)
17+
- offset: 20971520 # 1024 * 20 * 1024
18+
type: 0C
1519
filesystem: vfat
1620
filesystem-label: system-boot
1721
size: 128M

0 commit comments

Comments
 (0)