summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/images/poky-image-live.inc
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-core/images/poky-image-live.inc')
-rw-r--r--meta/recipes-core/images/poky-image-live.inc18
1 files changed, 18 insertions, 0 deletions
diff --git a/meta/recipes-core/images/poky-image-live.inc b/meta/recipes-core/images/poky-image-live.inc
new file mode 100644
index 0000000000..7f8dd8fba5
--- /dev/null
+++ b/meta/recipes-core/images/poky-image-live.inc
@@ -0,0 +1,18 @@
1AUTO_SYSLINUXCFG = "1"
2INITRD = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-initramfs-${MACHINE}.cpio.gz"
3APPEND += "root=/dev/ram0 "
4TIMEOUT = "10"
5
6EXCLUDE_FROM_WORLD = "1"
7
8do_bootimg[depends] += "poky-image-minimal-initramfs:do_rootfs"
9
10inherit bootimg
11
12do_bootimg_prepend () {
13 import bb
14 fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True)
15 if 'ext3' not in fstypes:
16 bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES")
17}
18