summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--clusters/rpi2.morph19
-rw-r--r--partitioning/rpi14
2 files changed, 33 insertions, 0 deletions
diff --git a/clusters/rpi2.morph b/clusters/rpi2.morph
new file mode 100644
index 00000000..3a8cc026
--- /dev/null
+++ b/clusters/rpi2.morph
@@ -0,0 +1,19 @@
+name: ci
+kind: cluster
+description: |
+ Deploy all the systems for CD.
+
+ This cluster morph is for use by the Mason Continuous Delivery pipeline
+ during development.
+systems:
+- morph: systems/build-system-armv7lhf-rpi2.morph
+ deploy:
+ build-system-armv7lhf-rpi2:
+ type: extensions/rawdisk
+ location: build-system-armv7lhf-rpi2.img
+ DISK_SIZE: 4G
+ BOOT_DEVICE: /dev/mmcblk0p1
+ ROOT_DEVICE: /dev/mmcblk0p2
+ BOOTLOADER_CONFIG_FORMAT: extlinux
+ BOOTLOADER_INSTALL: none
+ PARTITION_FILE: partitioning/rpi
diff --git a/partitioning/rpi b/partitioning/rpi
new file mode 100644
index 00000000..286c7223
--- /dev/null
+++ b/partitioning/rpi
@@ -0,0 +1,14 @@
+start_offset: 2048
+partition_table_format: mbr
+partitions:
+- description: boot
+ size: 100M
+ fdisk_type: 0x0b
+ filesystem: vfat
+ mountpoing: /boot
+- description: rootfs
+ size: fill
+ fdisk_type: 0x83
+ filesystem: btrfs
+ mountpoint: /
+ boot: yes