From 1da70bc81c865a15ff5a7d5970d2cfb4c527e60b Mon Sep 17 00:00:00 2001 From: Pedro Alvarez Date: Fri, 9 Oct 2015 18:36:47 +0000 Subject: Add deployment of rpi image --- clusters/rpi2.morph | 19 +++++++++++++++++++ partitioning/rpi | 14 ++++++++++++++ 2 files changed, 33 insertions(+) create mode 100644 clusters/rpi2.morph create mode 100644 partitioning/rpi 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 -- cgit v1.2.1