diff options
author | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-10-09 18:36:47 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-10-13 17:15:58 +0000 |
commit | 1da70bc81c865a15ff5a7d5970d2cfb4c527e60b (patch) | |
tree | 8f0083da6a8ee8a6dd0084e0f654b84c47cf8de3 | |
parent | f94f5422ecfe18c7beb0d725af0f9f0ec1d4adba (diff) | |
download | definitions-1da70bc81c865a15ff5a7d5970d2cfb4c527e60b.tar.gz |
Add deployment of rpi image
-rw-r--r-- | clusters/rpi2.morph | 19 | ||||
-rw-r--r-- | partitioning/rpi | 14 |
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 |