aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb
diff options
context:
space:
mode:
authorStefan Stanacar <stefanx.stanacar@intel.com>2014-03-30 17:47:33 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-03-31 17:54:35 +0100
commit39fcab00cd3b85d40966689e31b4c7748f630739 (patch)
treea831753a4775b77972b9bfb40de283e68f864e4d /meta/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb
parent103ef2295c728e427acc27bb071e786946c459f2 (diff)
downloadopenembedded-core-contrib-39fcab00cd3b85d40966689e31b4c7748f630739.tar.gz
openembedded-core-contrib-39fcab00cd3b85d40966689e31b4c7748f630739.tar.bz2
openembedded-core-contrib-39fcab00cd3b85d40966689e31b4c7748f630739.zip
initrdscripts: add install scripts with a second rootfs
These are meant to be used by a master image, for a simple initial setup. The install scripts are similar to the default ones, but: - custom partitioning, replaces the swap partiton with a second root filesystem - adds labels to the partitions - preconfigures a boot loader entry for the second rootfs Part of [YOCTO #5614] Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb')
-rw-r--r--meta/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb14
1 files changed, 14 insertions, 0 deletions
diff --git a/meta/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb b/meta/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb
new file mode 100644
index 0000000000..db4cf544e8
--- /dev/null
+++ b/meta/recipes-core/initrdscripts/initramfs-live-install-testfs_1.0.bb
@@ -0,0 +1,14 @@
+SUMMARY = "Live image install script with a second rootfs/kernel"
+LICENSE = "MIT"
+LIC_FILES_CHKSUM = "file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+SRC_URI = "file://init-install-testfs.sh"
+
+RDEPENDS_${PN} = "grub parted e2fsprogs-mke2fs"
+
+do_install() {
+ install -m 0755 ${WORKDIR}/init-install-testfs.sh ${D}/install.sh
+}
+
+INHIBIT_DEFAULT_DEPS = "1"
+FILES_${PN} = " /install.sh "
+COMPATIBLE_HOST = "(i.86|x86_64).*-linux"