diff options
author | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-06-27 13:19:32 +0000 |
---|---|---|
committer | Marcin Juszkiewicz <hrw@openedhand.com> | 2007-06-27 13:19:32 +0000 |
commit | 3d36dc7dd031a2180d91ca5ae1d07e4e6948a79e (patch) | |
tree | 5c49c2e27dcdc8314c776b63628b54ae2d46ab62 /meta/packages | |
parent | 0b7225001fbce304341a2ae8b290f2b3ebc28565 (diff) | |
download | poky-3d36dc7dd031a2180d91ca5ae1d07e4e6948a79e.tar.gz |
poky-image.bbclass: new class used for making Poky images
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2031 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages')
-rw-r--r-- | meta/packages/images/poky-image-base.bb | 2 | ||||
-rw-r--r-- | meta/packages/images/poky-image-core.bb | 2 | ||||
-rw-r--r-- | meta/packages/images/poky-image-minimal.bb | 2 | ||||
-rw-r--r-- | meta/packages/images/poky-image-sato.bb | 2 | ||||
-rw-r--r-- | meta/packages/images/poky-image-sdk.bb | 2 | ||||
-rw-r--r-- | meta/packages/images/poky-image.inc | 43 |
6 files changed, 5 insertions, 48 deletions
diff --git a/meta/packages/images/poky-image-base.bb b/meta/packages/images/poky-image-base.bb index 13545d9842..6122ce78d9 100644 --- a/meta/packages/images/poky-image-base.bb +++ b/meta/packages/images/poky-image-base.bb | |||
@@ -2,4 +2,4 @@ | |||
2 | # Copyright (C) 2007 OpenedHand Ltd. | 2 | # Copyright (C) 2007 OpenedHand Ltd. |
3 | # | 3 | # |
4 | 4 | ||
5 | require poky-image.inc | 5 | inherit poky-image |
diff --git a/meta/packages/images/poky-image-core.bb b/meta/packages/images/poky-image-core.bb index 431a1c583e..917a29a2ff 100644 --- a/meta/packages/images/poky-image-core.bb +++ b/meta/packages/images/poky-image-core.bb | |||
@@ -4,4 +4,4 @@ | |||
4 | 4 | ||
5 | IMAGE_FEATURES += "apps-core" | 5 | IMAGE_FEATURES += "apps-core" |
6 | 6 | ||
7 | require poky-image.inc | 7 | inherit poky-image |
diff --git a/meta/packages/images/poky-image-minimal.bb b/meta/packages/images/poky-image-minimal.bb index 88c04666db..3274a0861b 100644 --- a/meta/packages/images/poky-image-minimal.bb +++ b/meta/packages/images/poky-image-minimal.bb | |||
@@ -7,7 +7,7 @@ IMAGE_INSTALL = "task-poky-boot" | |||
7 | 7 | ||
8 | IMAGE_LINGUAS = " " | 8 | IMAGE_LINGUAS = " " |
9 | 9 | ||
10 | require poky-image.inc | 10 | inherit poky-image |
11 | 11 | ||
12 | # remove not needed ipkg informations | 12 | # remove not needed ipkg informations |
13 | ROOTFS_POSTPROCESS_COMMAND += "rm -rf ${IMAGE_ROOTFS}/usr/lib/ipkg/" | 13 | ROOTFS_POSTPROCESS_COMMAND += "rm -rf ${IMAGE_ROOTFS}/usr/lib/ipkg/" |
diff --git a/meta/packages/images/poky-image-sato.bb b/meta/packages/images/poky-image-sato.bb index 51632f6258..98b6754ad3 100644 --- a/meta/packages/images/poky-image-sato.bb +++ b/meta/packages/images/poky-image-sato.bb | |||
@@ -4,4 +4,4 @@ | |||
4 | 4 | ||
5 | IMAGE_FEATURES += "apps-core apps-pda" | 5 | IMAGE_FEATURES += "apps-core apps-pda" |
6 | 6 | ||
7 | require poky-image.inc | 7 | inherit poky-image |
diff --git a/meta/packages/images/poky-image-sdk.bb b/meta/packages/images/poky-image-sdk.bb index fd8fc272fc..7608f1fec9 100644 --- a/meta/packages/images/poky-image-sdk.bb +++ b/meta/packages/images/poky-image-sdk.bb | |||
@@ -4,4 +4,4 @@ | |||
4 | 4 | ||
5 | IMAGE_FEATURES += "apps-core apps-pda dev-tools dev-pkgs dbg-pkgs" | 5 | IMAGE_FEATURES += "apps-core apps-pda dev-tools dev-pkgs dbg-pkgs" |
6 | 6 | ||
7 | require poky-image.inc | 7 | inherit poky-image |
diff --git a/meta/packages/images/poky-image.inc b/meta/packages/images/poky-image.inc deleted file mode 100644 index 872f3c8028..0000000000 --- a/meta/packages/images/poky-image.inc +++ /dev/null | |||
@@ -1,43 +0,0 @@ | |||
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-poky-boot and task-poky-boot-extras packages - this | ||
8 | # gives us working (console only) rootfs. | ||
9 | # | ||
10 | # "apps-core", "apps-pda" and other tasks are defined in task-poky recipe and have | ||
11 | # to add needed packages for selected task. | ||
12 | # | ||
13 | |||
14 | DISTRO_TASKS += '\ | ||
15 | ${@base_contains("IMAGE_FEATURES", "dbg-pkgs", "task-poky-boot-dbg task-poky-boot-extras-dbg", "",d)} \ | ||
16 | ${@base_contains("IMAGE_FEATURES", "dev-pkgs", "task-poky-boot-dev task-poky-boot-extras-dev", "",d)} \ | ||
17 | \ | ||
18 | ${@base_contains("IMAGE_FEATURES", "apps-core", "task-poky-base", "",d)} \ | ||
19 | ${@base_contains("IMAGE_FEATURES", ["apps-core", "dbg-pkgs"], "task-poky-base-dbg", "",d)} \ | ||
20 | ${@base_contains("IMAGE_FEATURES", ["apps-core", "dev-pkgs"], "task-poky-base-dev", "",d)} \ | ||
21 | \ | ||
22 | ${@base_contains("IMAGE_FEATURES", "apps-pda", "task-poky-standard", "",d)} \ | ||
23 | ${@base_contains("IMAGE_FEATURES", ["apps-pda", "dbg-pkgs"], "task-poky-standard-dbg", "",d)} \ | ||
24 | ${@base_contains("IMAGE_FEATURES", ["apps-pda", "dev-pkgs"], "task-poky-standard-dev", "",d)} \ | ||
25 | \ | ||
26 | ${@base_contains("IMAGE_FEATURES", "dev-tools", "task-poky-sdk", "",d)} \ | ||
27 | ${@base_contains("IMAGE_FEATURES", ["dev-tools", "dbg-pkgs"], "task-poky-sdk-dbg", "",d)} \ | ||
28 | ${@base_contains("IMAGE_FEATURES", ["dev-tools", "dev-pkgs"], "task-poky-sdk-dev", "",d)} \ | ||
29 | \ | ||
30 | ${@base_contains("IMAGE_FEATURES", "dbg-tools", "task-poky-devtools", "",d)} \ | ||
31 | ${@base_contains("IMAGE_FEATURES", ["dbg-tools", "dbg-pkgs"], "task-poky-devtools-dbg", "",d)} \ | ||
32 | ${@base_contains("IMAGE_FEATURES", ["dbg-tools", "dev-pkgs"], "task-poky-devtools-dev", "",d)} \ | ||
33 | \ | ||
34 | ${@base_contains("IMAGE_FEATURES", "test-tools", "task-poky-testapps", "",d)} \ | ||
35 | ${@base_contains("IMAGE_FEATURES", ["test-tools", "dbg-pkgs"], "task-poky-testapps-dbg", "",d)} \ | ||
36 | ${@base_contains("IMAGE_FEATURES", ["test-tools", "dev-pkgs"], "task-poky-testapps-dev", "",d)} \ | ||
37 | \ | ||
38 | ${@base_contains("IMAGE_FEATURES", "nfs-server", "task-poky-nfs-server", "",d)} \ | ||
39 | ' | ||
40 | |||
41 | IMAGE_INSTALL ?= "${DISTRO_TASKS}" | ||
42 | |||
43 | inherit image | ||