diff options
Diffstat (limited to 'meta/classes/poky-image.bbclass')
-rw-r--r-- | meta/classes/poky-image.bbclass | 61 |
1 files changed, 47 insertions, 14 deletions
diff --git a/meta/classes/poky-image.bbclass b/meta/classes/poky-image.bbclass index 872f3c8028..53aa12bf95 100644 --- a/meta/classes/poky-image.bbclass +++ b/meta/classes/poky-image.bbclass | |||
@@ -4,24 +4,52 @@ | |||
4 | 4 | ||
5 | # IMAGE_FEATURES control content of images built with Poky. | 5 | # IMAGE_FEATURES control content of images built with Poky. |
6 | # | 6 | # |
7 | # By default we install task-poky-boot and task-poky-boot-extras packages - this | 7 | # By default we install task-poky-boot and task-base packages - this gives us |
8 | # gives us working (console only) rootfs. | 8 | # working (console only) rootfs. |
9 | # | 9 | # |
10 | # "apps-core", "apps-pda" and other tasks are defined in task-poky recipe and have | 10 | # Available IMAGE_FEATURES: |
11 | # to add needed packages for selected task. | 11 | # |
12 | # - apps-console-core | ||
13 | # - x11-base - X11 server + minimal desktop | ||
14 | # - x11-sato - OpenedHand Sato environment | ||
15 | # - apps-x11-core - X Terminal, file manager, file editor | ||
16 | # - apps-x11-games | ||
17 | # - apps-x11-pimlico - OpenedHand Pimlico apps | ||
18 | # - dev-tools - SDK | ||
19 | # - dbg-tools | ||
20 | # - test-tools - tools usable to make some device tests | ||
21 | # - nfs-server - NFS server (exports / over NFS to everybody) | ||
22 | # - dev-pkgs - development packages | ||
23 | # - dbg-pkgs - debug packages | ||
12 | # | 24 | # |
13 | 25 | ||
14 | DISTRO_TASKS += '\ | 26 | DISTRO_TASKS += '\ |
15 | ${@base_contains("IMAGE_FEATURES", "dbg-pkgs", "task-poky-boot-dbg task-poky-boot-extras-dbg", "",d)} \ | 27 | ${@base_contains("IMAGE_FEATURES", "dbg-pkgs", "task-poky-boot-dbg task-base-dbg", "",d)} \ |
16 | ${@base_contains("IMAGE_FEATURES", "dev-pkgs", "task-poky-boot-dev task-poky-boot-extras-dev", "",d)} \ | 28 | ${@base_contains("IMAGE_FEATURES", "dev-pkgs", "task-poky-boot-dev task-base-dev", "",d)} \ |
17 | \ | 29 | \ |
18 | ${@base_contains("IMAGE_FEATURES", "apps-core", "task-poky-base", "",d)} \ | 30 | ${@base_contains("IMAGE_FEATURES", "apps-console-core", "task-poky-apps-console", "",d)} \ |
19 | ${@base_contains("IMAGE_FEATURES", ["apps-core", "dbg-pkgs"], "task-poky-base-dbg", "",d)} \ | 31 | ${@base_contains("IMAGE_FEATURES", ["apps-console-core", "dbg-pkgs"], "task-poky-apps-console-dbg", "",d)} \ |
20 | ${@base_contains("IMAGE_FEATURES", ["apps-core", "dev-pkgs"], "task-poky-base-dev", "",d)} \ | 32 | ${@base_contains("IMAGE_FEATURES", ["apps-console-core", "dev-pkgs"], "task-poky-apps-console-dev", "",d)} \ |
21 | \ | 33 | \ |
22 | ${@base_contains("IMAGE_FEATURES", "apps-pda", "task-poky-standard", "",d)} \ | 34 | ${@base_contains("IMAGE_FEATURES", "x11-base", "task-poky-x11-base", "",d)} \ |
23 | ${@base_contains("IMAGE_FEATURES", ["apps-pda", "dbg-pkgs"], "task-poky-standard-dbg", "",d)} \ | 35 | ${@base_contains("IMAGE_FEATURES", ["x11-base", "dbg-pkgs"], "task-poky-x11-base-dbg", "",d)} \ |
24 | ${@base_contains("IMAGE_FEATURES", ["apps-pda", "dev-pkgs"], "task-poky-standard-dev", "",d)} \ | 36 | ${@base_contains("IMAGE_FEATURES", ["x11-base", "dev-pkgs"], "task-poky-x11-base-dev", "",d)} \ |
37 | \ | ||
38 | ${@base_contains("IMAGE_FEATURES", "x11-sato", "task-poky-x11-sato", "",d)} \ | ||
39 | ${@base_contains("IMAGE_FEATURES", ["x11-sato", "dbg-pkgs"], "task-poky-x11-sato-dbg", "",d)} \ | ||
40 | ${@base_contains("IMAGE_FEATURES", ["x11-sato", "dev-pkgs"], "task-poky-x11-sato-dev", "",d)} \ | ||
41 | \ | ||
42 | ${@base_contains("IMAGE_FEATURES", "apps-x11-core", "task-poky-apps-x11-core", "",d)} \ | ||
43 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-core", "dbg-pkgs"], "task-poky-apps-x11-core-dbg", "",d)} \ | ||
44 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-core", "dev-pkgs"], "task-poky-apps-x11-core-dev", "",d)} \ | ||
45 | \ | ||
46 | ${@base_contains("IMAGE_FEATURES", "apps-x11-games", "task-poky-apps-x11-games", "",d)} \ | ||
47 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-games", "dbg-pkgs"], "task-poky-apps-x11-games-dbg", "",d)} \ | ||
48 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-games", "dev-pkgs"], "task-poky-apps-x11-games-dev", "",d)} \ | ||
49 | \ | ||
50 | ${@base_contains("IMAGE_FEATURES", "apps-x11-pimlico", "task-poky-apps-x11-pimlico", "",d)} \ | ||
51 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-pimlico", "dbg-pkgs"], "task-poky-apps-x11-dbg", "",d)} \ | ||
52 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-pimlico", "dev-pkgs"], "task-poky-apps-x11-dev", "",d)} \ | ||
25 | \ | 53 | \ |
26 | ${@base_contains("IMAGE_FEATURES", "dev-tools", "task-poky-sdk", "",d)} \ | 54 | ${@base_contains("IMAGE_FEATURES", "dev-tools", "task-poky-sdk", "",d)} \ |
27 | ${@base_contains("IMAGE_FEATURES", ["dev-tools", "dbg-pkgs"], "task-poky-sdk-dbg", "",d)} \ | 55 | ${@base_contains("IMAGE_FEATURES", ["dev-tools", "dbg-pkgs"], "task-poky-sdk-dbg", "",d)} \ |
@@ -36,8 +64,13 @@ DISTRO_TASKS += '\ | |||
36 | ${@base_contains("IMAGE_FEATURES", ["test-tools", "dev-pkgs"], "task-poky-testapps-dev", "",d)} \ | 64 | ${@base_contains("IMAGE_FEATURES", ["test-tools", "dev-pkgs"], "task-poky-testapps-dev", "",d)} \ |
37 | \ | 65 | \ |
38 | ${@base_contains("IMAGE_FEATURES", "nfs-server", "task-poky-nfs-server", "",d)} \ | 66 | ${@base_contains("IMAGE_FEATURES", "nfs-server", "task-poky-nfs-server", "",d)} \ |
67 | ${@base_contains("IMAGE_FEATURES", ["nfs-server", "dbg-pkgs"], "task-poky-nfs-server-dbg", "",d)} \ | ||
68 | ${@base_contains("IMAGE_FEATURES", ["nfs-server", "dev-pkgs"], "task-poky-nfs-server-dev", "",d)} \ | ||
39 | ' | 69 | ' |
40 | 70 | ||
41 | IMAGE_INSTALL ?= "${DISTRO_TASKS}" | 71 | IMAGE_INSTALL ?= "${DISTRO_TASKS}" |
42 | 72 | ||
73 | X11_IMAGE_FEATURES = "x11-base apps-x11-core" | ||
74 | SATO_IMAGE_FEATURES = "${X11_IMAGE_FEATURES} apps-x11-sato apps-x11-games apps-x11-pimlico" | ||
75 | |||
43 | inherit image | 76 | inherit image |