diff options
Diffstat (limited to 'meta-moblin/packages/images/moblin-image-live.inc')
-rw-r--r-- | meta-moblin/packages/images/moblin-image-live.inc | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/meta-moblin/packages/images/moblin-image-live.inc b/meta-moblin/packages/images/moblin-image-live.inc new file mode 100644 index 0000000000..2dd9a8917f --- /dev/null +++ b/meta-moblin/packages/images/moblin-image-live.inc @@ -0,0 +1,18 @@ +AUTO_SYSLINUXCFG = "1" +INITRD = "${DEPLOY_DIR_IMAGE}/moblin-image-minimal-initramfs-${MACHINE}.cpio.gz" +APPEND += "root=/dev/ram0 " +TIMEOUT = "10" + +EXCLUDE_FROM_WORLD = "1" + +do_bootimg[depends] += "moblin-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") +} + |