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-14 16:25:42 +0000 |
commit | 436dfc571fc68a358f8d826d4f4fd91f3d0d91fa (patch) | |
tree | 037d952605e446a0958dedf7421b9b2629628db7 | |
parent | 6e2bcc7faa9f7b3f7c0d42e1d3146a3b8ba7f606 (diff) | |
download | definitions-436dfc571fc68a358f8d826d4f4fd91f3d0d91fa.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 |