summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/images
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:14:24 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-08-27 15:29:45 +0100
commit29d6678fd546377459ef75cf54abeef5b969b5cf (patch)
tree8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-core/images
parentda49de6885ee1bc424e70bc02f21f6ab920efb55 (diff)
downloadpoky-29d6678fd546377459ef75cf54abeef5b969b5cf.tar.gz
Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things and is generally overwhelming. This commit splits it into several logical sections roughly based on function, recipes.txt gives more information about the classifications used. The opportunity is also used to switch from "packages" to "recipes" as used in OpenEmbedded as the term "packages" can be confusing to people and has many different meanings. Not all recipes have been classified yet, this is just a first pass at separating things out. Some packages are moved to meta-extras as they're no longer actively used or maintained. Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/images')
-rw-r--r--meta/recipes-core/images/poky-image-base.bb7
-rw-r--r--meta/recipes-core/images/poky-image-directdisk.inc8
-rw-r--r--meta/recipes-core/images/poky-image-live.inc18
-rw-r--r--meta/recipes-core/images/poky-image-minimal-directdisk.bb9
-rw-r--r--meta/recipes-core/images/poky-image-minimal-initramfs.bb8
-rw-r--r--meta/recipes-core/images/poky-image-minimal-live.bb9
-rw-r--r--meta/recipes-core/images/poky-image-minimal-mtdutils.bb6
-rw-r--r--meta/recipes-core/images/poky-image-minimal.bb11
8 files changed, 76 insertions, 0 deletions
diff --git a/meta/recipes-core/images/poky-image-base.bb b/meta/recipes-core/images/poky-image-base.bb
new file mode 100644
index 0000000000..d214642c40
--- /dev/null
+++ b/meta/recipes-core/images/poky-image-base.bb
@@ -0,0 +1,7 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd.
3#
4
5IMAGE_FEATURES += "apps-console-core"
6
7inherit poky-image
diff --git a/meta/recipes-core/images/poky-image-directdisk.inc b/meta/recipes-core/images/poky-image-directdisk.inc
new file mode 100644
index 0000000000..64144b9abf
--- /dev/null
+++ b/meta/recipes-core/images/poky-image-directdisk.inc
@@ -0,0 +1,8 @@
1inherit boot-directdisk
2
3do_bootdirectdisk_prepend () {
4 import bb
5 fstypes = bb.data.getVar('IMAGE_FSTYPES', d, True)
6 if 'ext3' not in fstypes:
7 bb.msg.fatal(bb.msg.domain.Build, "ext3 not in IMAGE_FSTYPES")
8} \ No newline at end of file
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
diff --git a/meta/recipes-core/images/poky-image-minimal-directdisk.bb b/meta/recipes-core/images/poky-image-minimal-directdisk.bb
new file mode 100644
index 0000000000..e068464607
--- /dev/null
+++ b/meta/recipes-core/images/poky-image-minimal-directdisk.bb
@@ -0,0 +1,9 @@
1require poky-image-directdisk.inc
2
3DESCRIPTION = "Minimal Bootable Direct Disk Image"
4
5ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-${MACHINE}.ext3"
6
7do_bootdirectdisk[depends] += "poky-image-minimal:do_rootfs"
8
9
diff --git a/meta/recipes-core/images/poky-image-minimal-initramfs.bb b/meta/recipes-core/images/poky-image-minimal-initramfs.bb
new file mode 100644
index 0000000000..ef7784b626
--- /dev/null
+++ b/meta/recipes-core/images/poky-image-minimal-initramfs.bb
@@ -0,0 +1,8 @@
1# Simple initramfs image. Mostly used for live images.
2
3IMAGE_INSTALL = "initramfs-live-boot initramfs-live-install busybox udev base-passwd"
4
5export IMAGE_BASENAME = "poky-image-minimal-initramfs"
6IMAGE_LINGUAS = ""
7
8inherit poky-image
diff --git a/meta/recipes-core/images/poky-image-minimal-live.bb b/meta/recipes-core/images/poky-image-minimal-live.bb
new file mode 100644
index 0000000000..7d9aa5f154
--- /dev/null
+++ b/meta/recipes-core/images/poky-image-minimal-live.bb
@@ -0,0 +1,9 @@
1DESCRIPTION = "Minimal Bootable Live Image"
2
3require poky-image-live.inc
4
5LABELS += "boot install"
6
7ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-${MACHINE}.ext3"
8
9do_bootimg[depends] += "poky-image-minimal:do_rootfs"
diff --git a/meta/recipes-core/images/poky-image-minimal-mtdutils.bb b/meta/recipes-core/images/poky-image-minimal-mtdutils.bb
new file mode 100644
index 0000000000..d786131d98
--- /dev/null
+++ b/meta/recipes-core/images/poky-image-minimal-mtdutils.bb
@@ -0,0 +1,6 @@
1#
2# Copyright (C) 2008 OpenedHand Ltd.
3#
4require poky-image-minimal.bb
5
6IMAGE_INSTALL += "mtd-utils"
diff --git a/meta/recipes-core/images/poky-image-minimal.bb b/meta/recipes-core/images/poky-image-minimal.bb
new file mode 100644
index 0000000000..44710a4ca8
--- /dev/null
+++ b/meta/recipes-core/images/poky-image-minimal.bb
@@ -0,0 +1,11 @@
1#
2# Copyright (C) 2007 OpenedHand Ltd.
3#
4IMAGE_INSTALL = "task-poky-boot ${ROOTFS_PKGMANAGE}"
5
6IMAGE_LINGUAS = " "
7
8inherit poky-image
9
10# remove not needed ipkg informations
11ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; "