diff options
| author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-05-16 14:47:38 +0000 |
|---|---|---|
| committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-05-16 14:47:38 +0000 |
| commit | 4baa324e2ed7e44eeac4e3411213fee47fb97d58 (patch) | |
| tree | cace38b11b6b56466cc67d9e386146c6c8b42adf /meta/packages/images/poky-image.inc | |
| parent | 8142b95bf2bddfd52c762b05254241d75da6a618 (diff) | |
| download | poky-4baa324e2ed7e44eeac4e3411213fee47fb97d58.tar.gz | |
Poky images: move IMAGE_FEATURES stuff to separate file, simplify image recipes
poky-image.inc contain DISTRO_TASKS stuff related to image content (was in poky.conf)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@1735 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/images/poky-image.inc')
| -rw-r--r-- | meta/packages/images/poky-image.inc | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/meta/packages/images/poky-image.inc b/meta/packages/images/poky-image.inc new file mode 100644 index 0000000000..6f1bed9760 --- /dev/null +++ b/meta/packages/images/poky-image.inc | |||
| @@ -0,0 +1,43 @@ | |||
| 1 | # Common for Poky images | ||
| 2 | # | ||
| 3 | # Copyright (C) 2007 OpenedHand LTD | ||
| 4 | |||
| 5 | # IMAGE_FEATURES control content of images built with Poky. | ||
| 6 | # | ||
| 7 | # By default we install task-oh-boot and task-oh-boot-extras packages - this | ||
| 8 | # gives us working (console only) rootfs. | ||
| 9 | # | ||
| 10 | # "apps-core", "apps-pda" and other tasks are defined in task-oh recipe and have | ||
| 11 | # to add needed packages for selected task. | ||
| 12 | # | ||
| 13 | |||
| 14 | DISTRO_TASKS += '\ | ||
| 15 | ${@base_contains("IMAGE_FEATURES", "dbg-pkgs", "task-oh-boot-dbg task-oh-boot-extras-dbg", "",d)} \ | ||
| 16 | ${@base_contains("IMAGE_FEATURES", "dev-pkgs", "task-oh-boot-dev task-oh-boot-extras-dev", "",d)} \ | ||
| 17 | \ | ||
| 18 | ${@base_contains("IMAGE_FEATURES", "apps-core", "task-oh-base", "",d)} \ | ||
| 19 | ${@base_contains("IMAGE_FEATURES", ["apps-core", "dbg-pkgs"], "task-oh-base-dbg", "",d)} \ | ||
| 20 | ${@base_contains("IMAGE_FEATURES", ["apps-core", "dev-pkgs"], "task-oh-base-dev", "",d)} \ | ||
| 21 | \ | ||
| 22 | ${@base_contains("IMAGE_FEATURES", "apps-pda", "task-oh-standard", "",d)} \ | ||
| 23 | ${@base_contains("IMAGE_FEATURES", ["apps-pda", "dbg-pkgs"], "task-oh-standard-dbg", "",d)} \ | ||
| 24 | ${@base_contains("IMAGE_FEATURES", ["apps-pda", "dev-pkgs"], "task-oh-standard-dev", "",d)} \ | ||
| 25 | \ | ||
| 26 | ${@base_contains("IMAGE_FEATURES", "dev-tools", "task-oh-sdk", "",d)} \ | ||
| 27 | ${@base_contains("IMAGE_FEATURES", ["dev-tools", "dbg-pkgs"], "task-oh-sdk-dbg", "",d)} \ | ||
| 28 | ${@base_contains("IMAGE_FEATURES", ["dev-tools", "dev-pkgs"], "task-oh-sdk-dev", "",d)} \ | ||
| 29 | \ | ||
| 30 | ${@base_contains("IMAGE_FEATURES", "dbg-tools", "task-oh-devtools", "",d)} \ | ||
| 31 | ${@base_contains("IMAGE_FEATURES", ["dbg-tools", "dbg-pkgs"], "task-oh-devtools-dbg", "",d)} \ | ||
| 32 | ${@base_contains("IMAGE_FEATURES", ["dbg-tools", "dev-pkgs"], "task-oh-devtools-dev", "",d)} \ | ||
| 33 | \ | ||
| 34 | ${@base_contains("IMAGE_FEATURES", "test-tools", "task-oh-testapps", "",d)} \ | ||
| 35 | ${@base_contains("IMAGE_FEATURES", ["test-tools", "dbg-pkgs"], "task-oh-testapps-dbg", "",d)} \ | ||
| 36 | ${@base_contains("IMAGE_FEATURES", ["test-tools", "dev-pkgs"], "task-oh-testapps-dev", "",d)} \ | ||
| 37 | \ | ||
| 38 | ${@base_contains("IMAGE_FEATURES", "nfs-server", "task-oh-nfs-server", "",d)} \ | ||
| 39 | ' | ||
| 40 | |||
| 41 | IMAGE_INSTALL ?= "${DISTRO_TASKS}" | ||
| 42 | |||
| 43 | inherit image | ||
