summaryrefslogtreecommitdiff
path: root/meta/packages/images/poky-image-live.inc
diff options
context:
space:
mode:
authorSamuel Ortiz <sameo@openedhand.com>2008-09-10 21:24:24 +0000
committerSamuel Ortiz <sameo@openedhand.com>2008-09-10 21:24:24 +0000
commit6b2db1eb1ab96cf19a22791b483959e8944c0c43 (patch)
tree3dfe21618460ff5a1c8f05b2e1aaf463f769d192 /meta/packages/images/poky-image-live.inc
parent9bdc5a0129276ccb9c3458ddc2351c9db2f11a62 (diff)
downloadopenembedded-core-6b2db1eb1ab96cf19a22791b483959e8944c0c43.tar.gz
openembedded-core-6b2db1eb1ab96cf19a22791b483959e8944c0c43.tar.bz2
openembedded-core-6b2db1eb1ab96cf19a22791b483959e8944c0c43.zip
Added live USB poky images
We support sato and minimal live USB image production. git-svn-id: https://svn.o-hand.com/repos/poky/trunk@5174 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/images/poky-image-live.inc')
-rw-r--r--meta/packages/images/poky-image-live.inc15
1 files changed, 15 insertions, 0 deletions
diff --git a/meta/packages/images/poky-image-live.inc b/meta/packages/images/poky-image-live.inc
new file mode 100644
index 0000000000..a3119a8740
--- /dev/null
+++ b/meta/packages/images/poky-image-live.inc
@@ -0,0 +1,15 @@
+python __anonymous () {
+ 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")
+}
+
+AUTO_SYSLINUXCFG = "1"
+INITRD = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-initramfs-${MACHINE}.cpio.gz"
+LABELS = "poky"
+APPEND += "root=/dev/ram0 video=vesafb:800x600-16@60 vga=788"
+
+do_bootimg[depends] += "poky-image-minimal-initramfs:do_rootfs"
+
+inherit bootimg