File tree 1 file changed +17
-7
lines changed
1 file changed +17
-7
lines changed Original file line number Diff line number Diff line change 1
1
version : ' 2'
2
2
mpp-vars :
3
3
filename : $filename
4
+ disk_size_gb : 10
5
+ bios_boot_size_mb : 1
6
+ efi_system_size_mb : 127
7
+ boot_size_mb : 384
8
+ # XXX: Dynamically set this size in the future
9
+ root_size_mb : 2048
10
+ sector_size : 512
4
11
mpp-define-image :
5
12
id : image
6
- # 10G
7
- size : ' 10737418240 '
13
+ size :
14
+ mpp-format-string : " {disk_size_gb * 1024 * 1024 * 1024} "
8
15
table :
9
16
uuid : 00000000-0000-4000-a000-000000000001
10
17
label : gpt
11
18
partitions :
12
19
- id : BIOS-BOOT
13
- size : 2048
14
20
type : 21686148-6449-6E6F-744E-656564454649
15
21
bootable : true
16
22
uuid : FAC7F1FB-3E8D-4137-A512-961DE09A5549
23
+ size :
24
+ mpp-format-int : " {bios_boot_size_mb * 1024 * 1024 / sector_size}"
17
25
- id : EFI-SYSTEM
18
- size : 260096
19
26
type : C12A7328-F81F-11D2-BA4B-00A0C93EC93B
20
27
uuid : 68B2905B-DF3E-4FB3-80FA-49D1E773AA33
28
+ size :
29
+ mpp-format-int : " {efi_system_size_mb * 1024 * 1024 / sector_size}"
21
30
- id : boot
22
- size : 786432
23
31
type : 0FC63DAF-8483-4772-8E79-3D69D8477DE4
24
32
uuid : 61B2905B-DF3E-4FB3-80FA-49D1E773AA32
33
+ size :
34
+ mpp-format-int : " {boot_size_mb * 1024 * 1024 / sector_size}"
25
35
- id : root
26
- # XXX: Dynamically set this size in the future
27
- size : 4194304
28
36
type : 0FC63DAF-8483-4772-8E79-3D69D8477DE4
29
37
uuid : CA7D7CCB-63ED-4C53-861C-1742536059CC
38
+ size :
39
+ mpp-format-int : " {root_size_mb * 1024 * 1024 / sector_size}"
30
40
pipelines :
31
41
- name : tree
32
42
source-epoch : 1659397331
You can’t perform that action at this time.
0 commit comments