summaryrefslogtreecommitdiff
path: root/initramfs-utils.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-utils.morph
parent146df6055fb478e6491e46cb1b2940f39b181d0e (diff)
downloaddefinitions-c307efac52057ccacc1d365686bbfa5163a65be7.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-utils.morph')
-rw-r--r--initramfs-utils.morph14
1 files changed, 14 insertions, 0 deletions
diff --git a/initramfs-utils.morph b/initramfs-utils.morph
new file mode 100644
index 00000000..d59dcec7
--- /dev/null
+++ b/initramfs-utils.morph
@@ -0,0 +1,14 @@
+name: initramfs-utils
+kind: stratum
+description: stratum for initramfs
+build-depends:
+- morph: build-essential
+chunks:
+# A more minimal initramfs would be a single executable as /init,
+# statically linked against musl.
+# But, we can get away with a single script that uses busybox for now.
+- name: initramfs-scripts
+ repo: baserock:baserock/initramfs-scripts
+ ref: a97dea93d28ba272613029e46a8a0b1f699729d8
+ unpetrify-ref: master
+ build-depends: []