diff options
author | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:14:24 +0100 |
---|---|---|
committer | Richard Purdie <rpurdie@linux.intel.com> | 2010-08-27 15:29:45 +0100 |
commit | 29d6678fd546377459ef75cf54abeef5b969b5cf (patch) | |
tree | 8edd65790e37a00d01c3f203f773fe4b5012db18 /meta/recipes-core/images | |
parent | da49de6885ee1bc424e70bc02f21f6ab920efb55 (diff) | |
download | poky-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')
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 | |||
5 | IMAGE_FEATURES += "apps-console-core" | ||
6 | |||
7 | inherit 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 @@ | |||
1 | inherit boot-directdisk | ||
2 | |||
3 | do_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 @@ | |||
1 | AUTO_SYSLINUXCFG = "1" | ||
2 | INITRD = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-initramfs-${MACHINE}.cpio.gz" | ||
3 | APPEND += "root=/dev/ram0 " | ||
4 | TIMEOUT = "10" | ||
5 | |||
6 | EXCLUDE_FROM_WORLD = "1" | ||
7 | |||
8 | do_bootimg[depends] += "poky-image-minimal-initramfs:do_rootfs" | ||
9 | |||
10 | inherit bootimg | ||
11 | |||
12 | do_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 @@ | |||
1 | require poky-image-directdisk.inc | ||
2 | |||
3 | DESCRIPTION = "Minimal Bootable Direct Disk Image" | ||
4 | |||
5 | ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-${MACHINE}.ext3" | ||
6 | |||
7 | do_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 | |||
3 | IMAGE_INSTALL = "initramfs-live-boot initramfs-live-install busybox udev base-passwd" | ||
4 | |||
5 | export IMAGE_BASENAME = "poky-image-minimal-initramfs" | ||
6 | IMAGE_LINGUAS = "" | ||
7 | |||
8 | inherit 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 @@ | |||
1 | DESCRIPTION = "Minimal Bootable Live Image" | ||
2 | |||
3 | require poky-image-live.inc | ||
4 | |||
5 | LABELS += "boot install" | ||
6 | |||
7 | ROOTFS = "${DEPLOY_DIR_IMAGE}/poky-image-minimal-${MACHINE}.ext3" | ||
8 | |||
9 | do_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 | # | ||
4 | require poky-image-minimal.bb | ||
5 | |||
6 | IMAGE_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 | # | ||
4 | IMAGE_INSTALL = "task-poky-boot ${ROOTFS_PKGMANAGE}" | ||
5 | |||
6 | IMAGE_LINGUAS = " " | ||
7 | |||
8 | inherit poky-image | ||
9 | |||
10 | # remove not needed ipkg informations | ||
11 | ROOTFS_POSTPROCESS_COMMAND += "remove_packaging_data_files ; " | ||