From 6b2db1eb1ab96cf19a22791b483959e8944c0c43 Mon Sep 17 00:00:00 2001 From: Samuel Ortiz Date: Wed, 10 Sep 2008 21:24:24 +0000 Subject: 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 --- meta/packages/images/poky-image-live.inc | 15 +++++++++++++++ meta/packages/images/poky-image-minimal-initramfs.bb | 8 ++++++++ meta/packages/images/poky-image-minimal-live.bb | 7 +++++++ meta/packages/images/poky-image-sato-live.bb | 7 +++++++ 4 files changed, 37 insertions(+) create mode 100644 meta/packages/images/poky-image-live.inc create mode 100644 meta/packages/images/poky-image-minimal-initramfs.bb create mode 100644 meta/packages/images/poky-image-minimal-live.bb create mode 100644 meta/packages/images/poky-image-sato-live.bb (limited to 'meta/packages') 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 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 @@ +# Sample initramfs image, very minimal + +IMAGE_INSTALL = "initramfs-live-boot busybox udev" + +export IMAGE_BASENAME = "poky-image-minimal-initramfs" +IMAGE_LINGUAS = "" + +inherit 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 @@ +DESCRIPTION = "Minimal Bootable Live Image" + +require poky-image-live.inc + +ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-${MACHINE}.ext3" + +do_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 @@ +DESCRIPTION = "Sato Bootable Live Image" + +require poky-image-live.inc + +ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-sato-${MACHINE}.ext3" + +do_bootimg[depends] += "poky-image-sato:do_rootfs" -- cgit v1.2.3