aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/images/core-image-live.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/images/core-image-live.inc')
-rw-r--r--meta/recipes-core/images/core-image-live.inc21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta/recipes-core/images/core-image-live.inc b/meta/recipes-core/images/core-image-live.inc
new file mode 100644
index 0000000000..2c9b3fb458
--- /dev/null
+++ b/meta/recipes-core/images/core-image-live.inc
@@ -0,0 +1,21 @@
+AUTO_SYSLINUXCFG = "1"
+INITRD = "${DEPLOY_DIR_IMAGE}/core-image-minimal-initramfs-${MACHINE}.cpio.gz"
+APPEND += "root=/dev/ram0 "
+TIMEOUT = "10"
+
+EXCLUDE_FROM_WORLD = "1"
+
+LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \
+ file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420"
+
+do_bootimg[depends] += "core-image-minimal-initramfs:do_rootfs"
+
+inherit bootimg
+
+do_bootimg_prepend () {
+ import bb
+ fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True)
+ if 'ext3' not in fstypes:
+ bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES")
+}
+