summaryrefslogtreecommitdiff
path: root/initramfs-test.morph
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2014-05-27 15:28:49 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2014-06-02 12:52:36 +0000
commitc307efac52057ccacc1d365686bbfa5163a65be7 (patch)
treec842bb8d198029e62443eb6ac35bc9790144be49 /initramfs-test.morph
parent146df6055fb478e6491e46cb1b2940f39b181d0e (diff)
downloaddefinitions-baserock/richardmaw/S11159-initramfs.tar.gz
Add example systems which use an initramfsbaserock/richardmaw/S11159-initramfs
initramfs-test.morph is embedded in the initramfs.write help, so may be removed. The initramfs-x86_64 system is the minimal system with an extra chunk added. The initramfs-utils stratum is required to contain _just_ that chunk, but the "minimal" system is much larger than I would like our initramfs to be (i.e. a statically linked binary using musl), so in future the initramfs-utils stratum may have more initramfs specific content.
Diffstat (limited to 'initramfs-test.morph')
-rw-r--r--initramfs-test.morph17
1 files changed, 17 insertions, 0 deletions
diff --git a/initramfs-test.morph b/initramfs-test.morph
new file mode 100644
index 00000000..9e69207d
--- /dev/null
+++ b/initramfs-test.morph
@@ -0,0 +1,17 @@
+name: initramfs-test
+kind: cluster
+systems:
+- morph: base-system-x86_64-generic
+ deploy:
+ system:
+ type: rawdisk
+ location: initramfs-system-x86_64.img
+ DISK_SIZE: 1G
+ HOSTNAME: initramfs-system
+ INITRAMFS_PATH: boot/initramfs.gz
+ subsystems:
+ - morph: initramfs-x86_64
+ deploy:
+ initramfs:
+ type: initramfs
+ location: boot/initramfs.gz