DIB: Add custom block-device-efi element
[ta/build-tools.git] / dib_elements / block-device-efi / block-device-default.yaml
diff --git a/dib_elements/block-device-efi/block-device-default.yaml b/dib_elements/block-device-efi/block-device-default.yaml
new file mode 100644 (file)
index 0000000..1f3c18b
--- /dev/null
@@ -0,0 +1,29 @@
+- local_loop:
+    name: image0
+
+- partitioning:
+    base: image0
+    label: gpt
+    partitions:
+      - name: ESP
+        type: 'EF00'
+        size: 550MiB
+        mkfs:
+          type: vfat
+          mount:
+            mount_point: /boot/efi
+            fstab:
+              options: "defaults"
+              fsck-passno: 1
+      - name: BSP
+        type: 'EF02'
+        size: 8MiB
+      - name: root
+        type: '8300'
+        size: 100%
+        mkfs:
+          mount:
+            mount_point: /
+            fstab:
+              options: "defaults"
+              fsck-passno: 1