summaryrefslogtreecommitdiffstats
path: root/meta/packages
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
parent9bdc5a0129276ccb9c3458ddc2351c9db2f11a62 (diff)
downloadpoky-6b2db1eb1ab96cf19a22791b483959e8944c0c43.tar.gz
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')
-rw-r--r--meta/packages/images/poky-image-live.inc15
-rw-r--r--meta/packages/images/poky-image-minimal-initramfs.bb8
-rw-r--r--meta/packages/images/poky-image-minimal-live.bb7
-rw-r--r--meta/packages/images/poky-image-sato-live.bb7
4 files changed, 37 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 @@
1python __anonymous () {
2 import bb
3 fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True)
4 if 'ext3' not in fstypes:
5 bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES")
6}
7
8AUTO_SYSLINUXCFG = "1"
9INITRD = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-initramfs-${MACHINE}.cpio.gz"
10LABELS = "poky"
11APPEND += "root=/dev/ram0 video=vesafb:800x600-16@60 vga=788"
12
13do_bootimg[depends] += "poky-image-minimal-initramfs:do_rootfs"
14
15inherit bootimg
diff --git a/meta/packages/images/poky-image-minimal-initramfs.bb b/meta/packages/images/poky-image-minimal-initramfs.bb
new file mode 100644
index 0000000000..d0f0ff1cd6
--- /dev/null
+++ b/meta/packages/images/poky-image-minimal-initramfs.bb
@@ -0,0 +1,8 @@
1# Sample initramfs image, very minimal
2
3IMAGE_INSTALL = "initramfs-live-boot busybox udev"
4
5export IMAGE_BASENAME = "poky-image-minimal-initramfs"
6IMAGE_LINGUAS = ""
7
8inherit poky-image
diff --git a/meta/packages/images/poky-image-minimal-live.bb b/meta/packages/images/poky-image-minimal-live.bb
new file mode 100644
index 0000000000..ef1f78b849
--- /dev/null
+++ b/meta/packages/images/poky-image-minimal-live.bb
@@ -0,0 +1,7 @@
1DESCRIPTION = "Minimal Bootable Live Image"
2
3require poky-image-live.inc
4
5ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-${MACHINE}.ext3"
6
7do_bootimg[depends] += "poky-image-minimal:do_rootfs"
diff --git a/meta/packages/images/poky-image-sato-live.bb b/meta/packages/images/poky-image-sato-live.bb
new file mode 100644
index 0000000000..d69c252ee0
--- /dev/null
+++ b/meta/packages/images/poky-image-sato-live.bb
@@ -0,0 +1,7 @@
1DESCRIPTION = "Sato Bootable Live Image"
2
3require poky-image-live.inc
4
5ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-sato-${MACHINE}.ext3"
6
7do_bootimg[depends] += "poky-image-sato:do_rootfs"