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-09 18:36:47 +0000 |
commit | 887641387db584e282c469d11932b8fce5750a32 (patch) | |
tree | 42e4a5ffb1a296b915b1321ccf8f833d80517804 | |
parent | 64aba5d9571631188606ae00aa74171fdab9f452 (diff) | |
download | definitions-887641387db584e282c469d11932b8fce5750a32.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 |