diff options
Diffstat (limited to 'meta/classes/poky-image.bbclass')
-rw-r--r-- | meta/classes/poky-image.bbclass | 110 |
1 files changed, 0 insertions, 110 deletions
diff --git a/meta/classes/poky-image.bbclass b/meta/classes/poky-image.bbclass deleted file mode 100644 index 832319a5ae..0000000000 --- a/meta/classes/poky-image.bbclass +++ /dev/null | |||
@@ -1,110 +0,0 @@ | |||
1 | # Common for Poky images | ||
2 | # | ||
3 | # Copyright (C) 2007 OpenedHand LTD | ||
4 | |||
5 | LIC_FILES_CHKSUM = "file://${COREBASE}/LICENSE;md5=3f40d7994397109285ec7b81fdeb3b58 \ | ||
6 | file://${COREBASE}/meta/COPYING.MIT;md5=3da9cfbcb788c80a0384361b4de20420" | ||
7 | |||
8 | # IMAGE_FEATURES control content of images built with Poky. | ||
9 | # | ||
10 | # By default we install task-core-boot and task-base packages - this gives us | ||
11 | # working (console only) rootfs. | ||
12 | # | ||
13 | # Available IMAGE_FEATURES: | ||
14 | # | ||
15 | # - apps-console-core | ||
16 | # - x11-base - X11 server + minimal desktop | ||
17 | # - x11-sato - OpenedHand Sato environment | ||
18 | # - x11-netbook - Metacity based environment for netbooks | ||
19 | # - apps-x11-core - X Terminal, file manager, file editor | ||
20 | # - apps-x11-games | ||
21 | # - apps-x11-pimlico - OpenedHand Pimlico apps | ||
22 | # - tools-sdk - SDK | ||
23 | # - tools-debug - debugging tools | ||
24 | # - tools-profile - profiling tools | ||
25 | # - tools-testapps - tools usable to make some device tests | ||
26 | # - nfs-server - NFS server (exports / over NFS to everybody) | ||
27 | # - ssh-server-dropbear - SSH server (dropbear) | ||
28 | # - ssh-server-openssh - SSH server (openssh) | ||
29 | # - dev-pkgs - development packages | ||
30 | # - dbg-pkgs - debug packages | ||
31 | # | ||
32 | |||
33 | POKY_BASE_INSTALL = '\ | ||
34 | task-core-boot \ | ||
35 | task-base-extended \ | ||
36 | ${@base_contains("IMAGE_FEATURES", "dbg-pkgs", "task-core-boot-dbg task-base-dbg", "",d)} \ | ||
37 | ${@base_contains("IMAGE_FEATURES", "dev-pkgs", "task-core-boot-dev task-base-dev", "",d)} \ | ||
38 | \ | ||
39 | ${@base_contains("IMAGE_FEATURES", "apps-console-core", "task-core-apps-console", "",d)} \ | ||
40 | ${@base_contains("IMAGE_FEATURES", ["apps-console-core", "dbg-pkgs"], "task-core-apps-console-dbg", "",d)} \ | ||
41 | ${@base_contains("IMAGE_FEATURES", ["apps-console-core", "dev-pkgs"], "task-core-apps-console-dev", "",d)} \ | ||
42 | \ | ||
43 | ${@base_contains("IMAGE_FEATURES", "x11-base", "task-core-x11-base", "",d)} \ | ||
44 | ${@base_contains("IMAGE_FEATURES", ["x11-base", "dbg-pkgs"], "task-core-x11-base-dbg", "",d)} \ | ||
45 | ${@base_contains("IMAGE_FEATURES", ["x11-base", "dev-pkgs"], "task-core-x11-base-dev", "",d)} \ | ||
46 | \ | ||
47 | ${@base_contains("IMAGE_FEATURES", "x11-sato", "task-core-x11-sato", "",d)} \ | ||
48 | ${@base_contains("IMAGE_FEATURES", ["x11-sato", "dbg-pkgs"], "task-core-x11-sato-dbg", "",d)} \ | ||
49 | ${@base_contains("IMAGE_FEATURES", ["x11-sato", "dev-pkgs"], "task-core-x11-sato-dev", "",d)} \ | ||
50 | \ | ||
51 | ${@base_contains("IMAGE_FEATURES", "x11-netbook", "task-core-x11-netbook", "", d)} \ | ||
52 | ${@base_contains("IMAGE_FEATURES", ["x11-netbook", "dbg-pkgs"], "task-core-x11-netbook-dbg", "", d)} \ | ||
53 | ${@base_contains("IMAGE_FEATURES", ["x11-netbook", "dev-pkgs"], "task-core-x11-netbook-dev", "", d)} \ | ||
54 | ${@base_contains("IMAGE_FEATURES", "apps-x11-core", "task-core-apps-x11-core", "",d)} \ | ||
55 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-core", "dbg-pkgs"], "task-core-apps-x11-core-dbg", "",d)} \ | ||
56 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-core", "dev-pkgs"], "task-core-apps-x11-core-dev", "",d)} \ | ||
57 | \ | ||
58 | ${@base_contains("IMAGE_FEATURES", "apps-x11-games", "task-core-apps-x11-games", "",d)} \ | ||
59 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-games", "dbg-pkgs"], "task-core-apps-x11-games-dbg", "",d)} \ | ||
60 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-games", "dev-pkgs"], "task-core-apps-x11-games-dev", "",d)} \ | ||
61 | \ | ||
62 | ${@base_contains("IMAGE_FEATURES", "apps-x11-pimlico", "task-core-apps-x11-pimlico", "",d)} \ | ||
63 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-pimlico", "dbg-pkgs"], "task-core-apps-x11-pimlico-dbg", "",d)} \ | ||
64 | ${@base_contains("IMAGE_FEATURES", ["apps-x11-pimlico", "dev-pkgs"], "task-core-apps-x11-pimlico-dev", "",d)} \ | ||
65 | \ | ||
66 | ${@base_contains("IMAGE_FEATURES", "tools-debug", "task-core-tools-debug", "",d)} \ | ||
67 | ${@base_contains("IMAGE_FEATURES", ["tools-debug", "dbg-pkgs"], "task-core-tools-debug-dbg", "",d)} \ | ||
68 | ${@base_contains("IMAGE_FEATURES", ["tools-debug", "dev-pkgs"], "task-core-tools-debug-dev", "",d)} \ | ||
69 | \ | ||
70 | ${@base_contains("IMAGE_FEATURES", "tools-profile", "task-core-tools-profile", "",d)} \ | ||
71 | ${@base_contains("IMAGE_FEATURES", ["tools-profile", "dbg-pkgs"], "task-core-tools-profile-dbg", "",d)} \ | ||
72 | ${@base_contains("IMAGE_FEATURES", ["tools-profile", "dev-pkgs"], "task-core-tools-profile-dev", "",d)} \ | ||
73 | \ | ||
74 | ${@base_contains("IMAGE_FEATURES", "tools-testapps", "task-core-tools-testapps", "",d)} \ | ||
75 | ${@base_contains("IMAGE_FEATURES", ["tools-testapps", "dbg-pkgs"], "task-core-tools-testapps-dbg", "",d)} \ | ||
76 | ${@base_contains("IMAGE_FEATURES", ["tools-testapps", "dev-pkgs"], "task-core-tools-testapps-dev", "",d)} \ | ||
77 | \ | ||
78 | ${@base_contains("IMAGE_FEATURES", "tools-sdk", "task-core-sdk task-core-standalone-sdk-target", "",d)} \ | ||
79 | ${@base_contains("IMAGE_FEATURES", ["tools-sdk", "dbg-pkgs"], "task-core-sdk-dbg", "",d)} \ | ||
80 | ${@base_contains("IMAGE_FEATURES", ["tools-sdk", "dev-pkgs"], "task-core-sdk-dev", "",d)} \ | ||
81 | \ | ||
82 | ${@base_contains("IMAGE_FEATURES", "nfs-server", "task-core-nfs-server", "",d)} \ | ||
83 | ${@base_contains("IMAGE_FEATURES", ["nfs-server", "dbg-pkgs"], "task-core-nfs-server-dbg", "",d)} \ | ||
84 | ${@base_contains("IMAGE_FEATURES", ["nfs-server", "dev-pkgs"], "task-core-nfs-server-dev", "",d)} \ | ||
85 | \ | ||
86 | ${@base_contains("IMAGE_FEATURES", "ssh-server-dropbear", "task-core-ssh-dropbear", "",d)} \ | ||
87 | ${@base_contains("IMAGE_FEATURES", ["ssh-server-dropbear", "dbg-pkgs"], "task-core-ssh-dropbear-dbg", "",d)} \ | ||
88 | ${@base_contains("IMAGE_FEATURES", ["ssh-server-dropbear", "dev-pkgs"], "task-core-ssh-dropbear-dev", "",d)} \ | ||
89 | \ | ||
90 | ${@base_contains("IMAGE_FEATURES", "ssh-server-openssh", "task-core-ssh-openssh", "",d)} \ | ||
91 | ${@base_contains("IMAGE_FEATURES", ["ssh-server-openssh", "dbg-pkgs"], "task-core-ssh-openssh-dbg", "",d)} \ | ||
92 | ${@base_contains("IMAGE_FEATURES", ["ssh-server-openssh", "dev-pkgs"], "task-core-ssh-openssh-dev", "",d)} \ | ||
93 | \ | ||
94 | ${@base_contains("IMAGE_FEATURES", "package-management", "${ROOTFS_PKGMANAGE}", "${ROOTFS_PKGMANAGE_BOOTSTRAP}",d)} \ | ||
95 | ${@base_contains("IMAGE_FEATURES", "qt4-pkgs", "task-core-qt-demos", "",d)} \ | ||
96 | ${POKY_EXTRA_INSTALL} \ | ||
97 | ' | ||
98 | |||
99 | POKY_EXTRA_INSTALL ?= "" | ||
100 | |||
101 | IMAGE_INSTALL ?= "${POKY_BASE_INSTALL}" | ||
102 | |||
103 | X11_IMAGE_FEATURES = "x11-base apps-x11-core package-management" | ||
104 | ENHANCED_IMAGE_FEATURES = "${X11_IMAGE_FEATURES} apps-x11-games apps-x11-pimlico package-management" | ||
105 | SATO_IMAGE_FEATURES = "${ENHANCED_IMAGE_FEATURES} x11-sato ssh-server-dropbear" | ||
106 | |||
107 | inherit image | ||
108 | |||
109 | # Create /etc/timestamp during image construction to give a reasonably sane default time setting | ||
110 | ROOTFS_POSTPROCESS_COMMAND += "rootfs_update_timestamp ; " | ||