diff options
Diffstat (limited to 'meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb')
-rw-r--r-- | meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb | 60 |
1 files changed, 8 insertions, 52 deletions
diff --git a/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb b/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb index 16c2f9f2aa..8dc62954a2 100644 --- a/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb +++ b/meta/recipes-extended/packagegroups/packagegroup-core-full-cmdline.bb | |||
@@ -4,13 +4,11 @@ | |||
4 | 4 | ||
5 | SUMMARY = "Standard full-featured Linux system" | 5 | SUMMARY = "Standard full-featured Linux system" |
6 | DESCRIPTION = "Package group bringing in packages needed for a more traditional full-featured Linux system" | 6 | DESCRIPTION = "Package group bringing in packages needed for a more traditional full-featured Linux system" |
7 | PR = "r6" | ||
8 | 7 | ||
9 | inherit packagegroup | 8 | inherit packagegroup |
10 | 9 | ||
11 | PACKAGES = "\ | 10 | PACKAGES = "\ |
12 | packagegroup-core-full-cmdline \ | 11 | packagegroup-core-full-cmdline \ |
13 | packagegroup-core-full-cmdline-libs \ | ||
14 | packagegroup-core-full-cmdline-utils \ | 12 | packagegroup-core-full-cmdline-utils \ |
15 | packagegroup-core-full-cmdline-extended \ | 13 | packagegroup-core-full-cmdline-extended \ |
16 | packagegroup-core-full-cmdline-dev-utils \ | 14 | packagegroup-core-full-cmdline-dev-utils \ |
@@ -19,44 +17,7 @@ PACKAGES = "\ | |||
19 | packagegroup-core-full-cmdline-sys-services \ | 17 | packagegroup-core-full-cmdline-sys-services \ |
20 | " | 18 | " |
21 | 19 | ||
22 | python __anonymous () { | 20 | RDEPENDS:packagegroup-core-full-cmdline = "\ |
23 | # For backwards compatibility after rename | ||
24 | namemap = {} | ||
25 | namemap["packagegroup-core-full-cmdline"] = "packagegroup-core-basic" | ||
26 | namemap["packagegroup-core-full-cmdline-libs"] = "packagegroup-core-basic-libs" | ||
27 | namemap["packagegroup-core-full-cmdline-utils"] = "packagegroup-core-basic-utils" | ||
28 | namemap["packagegroup-core-full-cmdline-extended"] = "packagegroup-core-basic-extended" | ||
29 | namemap["packagegroup-core-full-cmdline-dev-utils"] = "packagegroup-core-dev-utils" | ||
30 | namemap["packagegroup-core-full-cmdline-multiuser"] = "packagegroup-core-multiuser" | ||
31 | namemap["packagegroup-core-full-cmdline-initscripts"] = "packagegroup-core-initscripts" | ||
32 | namemap["packagegroup-core-full-cmdline-sys-services"] = "packagegroup-core-sys-services" | ||
33 | |||
34 | packages = d.getVar("PACKAGES").split() | ||
35 | mlprefix = d.getVar("MLPREFIX") | ||
36 | for pkg in packages: | ||
37 | pkg2 = pkg[len(mlprefix):] | ||
38 | if pkg.endswith('-dev'): | ||
39 | mapped = namemap.get(pkg2[:-4], None) | ||
40 | if mapped: | ||
41 | mapped += '-dev' | ||
42 | elif pkg.endswith('-dbg'): | ||
43 | mapped = namemap.get(pkg2[:-4], None) | ||
44 | if mapped: | ||
45 | mapped += '-dbg' | ||
46 | else: | ||
47 | mapped = namemap.get(pkg2, None) | ||
48 | |||
49 | if mapped: | ||
50 | oldtaskname = mapped.replace("packagegroup-core", "task-core") | ||
51 | mapstr = " %s%s %s%s" % (mlprefix, mapped, mlprefix, oldtaskname) | ||
52 | d.appendVar("RPROVIDES_%s" % pkg, mapstr) | ||
53 | d.appendVar("RREPLACES_%s" % pkg, mapstr) | ||
54 | d.appendVar("RCONFLICTS_%s" % pkg, mapstr) | ||
55 | } | ||
56 | |||
57 | |||
58 | RDEPENDS_packagegroup-core-full-cmdline = "\ | ||
59 | packagegroup-core-full-cmdline-libs \ | ||
60 | packagegroup-core-full-cmdline-utils \ | 21 | packagegroup-core-full-cmdline-utils \ |
61 | packagegroup-core-full-cmdline-extended \ | 22 | packagegroup-core-full-cmdline-extended \ |
62 | packagegroup-core-full-cmdline-dev-utils \ | 23 | packagegroup-core-full-cmdline-dev-utils \ |
@@ -65,11 +26,7 @@ RDEPENDS_packagegroup-core-full-cmdline = "\ | |||
65 | packagegroup-core-full-cmdline-sys-services \ | 26 | packagegroup-core-full-cmdline-sys-services \ |
66 | " | 27 | " |
67 | 28 | ||
68 | RDEPENDS_packagegroup-core-full-cmdline-libs = "\ | 29 | RDEPENDS:packagegroup-core-full-cmdline-utils = "\ |
69 | glib-2.0 \ | ||
70 | " | ||
71 | |||
72 | RDEPENDS_packagegroup-core-full-cmdline-utils = "\ | ||
73 | bash \ | 30 | bash \ |
74 | acl \ | 31 | acl \ |
75 | attr \ | 32 | attr \ |
@@ -81,12 +38,11 @@ RDEPENDS_packagegroup-core-full-cmdline-utils = "\ | |||
81 | file \ | 38 | file \ |
82 | findutils \ | 39 | findutils \ |
83 | gawk \ | 40 | gawk \ |
84 | gmp \ | ||
85 | grep \ | 41 | grep \ |
86 | less \ | 42 | less \ |
87 | makedevs \ | 43 | makedevs \ |
88 | mc \ | 44 | mc \ |
89 | mc-fish \ | 45 | mc-shell \ |
90 | mc-helpers \ | 46 | mc-helpers \ |
91 | mc-helpers-perl \ | 47 | mc-helpers-perl \ |
92 | ncurses \ | 48 | ncurses \ |
@@ -99,7 +55,7 @@ RDEPENDS_packagegroup-core-full-cmdline-utils = "\ | |||
99 | util-linux \ | 55 | util-linux \ |
100 | " | 56 | " |
101 | 57 | ||
102 | RDEPENDS_packagegroup-core-full-cmdline-extended = "\ | 58 | RDEPENDS:packagegroup-core-full-cmdline-extended = "\ |
103 | iproute2 \ | 59 | iproute2 \ |
104 | iputils \ | 60 | iputils \ |
105 | iptables \ | 61 | iptables \ |
@@ -107,7 +63,7 @@ RDEPENDS_packagegroup-core-full-cmdline-extended = "\ | |||
107 | openssl \ | 63 | openssl \ |
108 | " | 64 | " |
109 | 65 | ||
110 | RDEPENDS_packagegroup-core-full-cmdline-dev-utils = "\ | 66 | RDEPENDS:packagegroup-core-full-cmdline-dev-utils = "\ |
111 | diffutils \ | 67 | diffutils \ |
112 | m4 \ | 68 | m4 \ |
113 | make \ | 69 | make \ |
@@ -115,7 +71,7 @@ RDEPENDS_packagegroup-core-full-cmdline-dev-utils = "\ | |||
115 | " | 71 | " |
116 | 72 | ||
117 | VIRTUAL-RUNTIME_syslog ?= "sysklogd" | 73 | VIRTUAL-RUNTIME_syslog ?= "sysklogd" |
118 | RDEPENDS_packagegroup-core-full-cmdline-initscripts = "\ | 74 | RDEPENDS:packagegroup-core-full-cmdline-initscripts = "\ |
119 | ${VIRTUAL-RUNTIME_initscripts} \ | 75 | ${VIRTUAL-RUNTIME_initscripts} \ |
120 | ${VIRTUAL-RUNTIME_init_manager} \ | 76 | ${VIRTUAL-RUNTIME_init_manager} \ |
121 | ethtool \ | 77 | ethtool \ |
@@ -123,7 +79,7 @@ RDEPENDS_packagegroup-core-full-cmdline-initscripts = "\ | |||
123 | ${VIRTUAL-RUNTIME_syslog} \ | 79 | ${VIRTUAL-RUNTIME_syslog} \ |
124 | " | 80 | " |
125 | 81 | ||
126 | RDEPENDS_packagegroup-core-full-cmdline-multiuser = "\ | 82 | RDEPENDS:packagegroup-core-full-cmdline-multiuser = "\ |
127 | bzip2 \ | 83 | bzip2 \ |
128 | cracklib \ | 84 | cracklib \ |
129 | gzip \ | 85 | gzip \ |
@@ -131,7 +87,7 @@ RDEPENDS_packagegroup-core-full-cmdline-multiuser = "\ | |||
131 | sudo \ | 87 | sudo \ |
132 | " | 88 | " |
133 | 89 | ||
134 | RDEPENDS_packagegroup-core-full-cmdline-sys-services = "\ | 90 | RDEPENDS:packagegroup-core-full-cmdline-sys-services = "\ |
135 | at \ | 91 | at \ |
136 | cronie \ | 92 | cronie \ |
137 | logrotate \ | 93 | logrotate \ |