summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Maw <richard.maw@codethink.co.uk>2015-03-31 18:23:30 +0000
committerRichard Maw <richard.maw@codethink.co.uk>2015-03-31 18:27:02 +0000
commit7e11a6928946b4b105db4b0ce8ea400df82f8f1b (patch)
tree626173a1e71533565966c27bd825c3ec87311536
parente8db8df9d8af02dab53914b365363e07efc38fee (diff)
downloaddefinitions-7e11a6928946b4b105db4b0ce8ea400df82f8f1b.tar.gz
Add initramfs to outer installer for build-system
It needs an initramfs to support UUID, without which you can't reliably determine which device should be used as the rootfs. Change-Id: If5f62428a299c1e06f55e15d0a0d8e3329362ab8
-rw-r--r--clusters/installer-build-system-x86_64.morph8
1 files changed, 7 insertions, 1 deletions
diff --git a/clusters/installer-build-system-x86_64.morph b/clusters/installer-build-system-x86_64.morph
index b31caced..a9ebcaca 100644
--- a/clusters/installer-build-system-x86_64.morph
+++ b/clusters/installer-build-system-x86_64.morph
@@ -31,7 +31,13 @@ systems:
HOSTNAME: installer-x86_64
INSTALLER_TARGET_STORAGE_DEVICE: /dev/sda
INSTALLER_ROOTFS_TO_INSTALL: /rootfs
+ INITRAMFS_PATH: boot/initramfs.gz
subsystems:
+ - morph: systems/initramfs-x86_64.morph
+ deploy:
+ installer-initramfs:
+ type: initramfs
+ location: boot/initramfs.gz
- morph: systems/build-system-x86_64.morph
deploy:
to-install:
@@ -41,6 +47,6 @@ systems:
subsystems:
- morph: systems/initramfs-x86_64.morph
deploy:
- initramfs:
+ to-install-initramfs:
type: initramfs
location: boot/initramfs.gz