diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2014-06-03 16:43:50 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2014-06-03 16:43:50 +0000 |
commit | 980d87dc7f02596230baa9f7b8588346d9ff2b89 (patch) | |
tree | 369dcd8ae99f5551620527e41a4b33e88bd82e1e | |
parent | ec96056079afd37b79b2d3767b5125198eed90bf (diff) | |
parent | c307efac52057ccacc1d365686bbfa5163a65be7 (diff) | |
download | definitions-980d87dc7f02596230baa9f7b8588346d9ff2b89.tar.gz |
Merge branch 'baserock/richardmaw/S11159-initramfs'
Reviewed-by: Sam Thursfield, Richard Ipsum
-rw-r--r-- | initramfs-test.morph | 17 | ||||
-rw-r--r-- | initramfs-utils.morph | 14 | ||||
-rw-r--r-- | initramfs-x86_64.morph | 10 | ||||
-rw-r--r-- | tools.morph | 2 |
4 files changed, 42 insertions, 1 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 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: [] diff --git a/initramfs-x86_64.morph b/initramfs-x86_64.morph new file mode 100644 index 00000000..7daa81fd --- /dev/null +++ b/initramfs-x86_64.morph @@ -0,0 +1,10 @@ +name: initramfs-x86_64 +description: Initramfs for x86_64 +kind: system +arch: x86_64 +configuration-extensions: [] +strata: +- morph: build-essential + artifacts: + - build-essential-minimal +- morph: initramfs-utils diff --git a/tools.morph b/tools.morph index 39d98b8b..5b2523fa 100644 --- a/tools.morph +++ b/tools.morph @@ -92,7 +92,7 @@ chunks: - six - name: morph repo: baserock:baserock/morph - ref: 64263de0123f9e513a300fd179e5b84384fa5343 + ref: 11b7c965debe5da58cc8f07d516fcd44aff30389 unpetrify-ref: master build-depends: - cliapp |