diff options
Diffstat (limited to 'meta/classes/package_ipk.bbclass')
-rw-r--r-- | meta/classes/package_ipk.bbclass | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/meta/classes/package_ipk.bbclass b/meta/classes/package_ipk.bbclass index 1b5f4f59e3..e32b9cb5fd 100644 --- a/meta/classes/package_ipk.bbclass +++ b/meta/classes/package_ipk.bbclass | |||
@@ -20,6 +20,7 @@ python do_package_ipk () { | |||
20 | import re, copy | 20 | import re, copy |
21 | import textwrap | 21 | import textwrap |
22 | import subprocess | 22 | import subprocess |
23 | import collections | ||
23 | 24 | ||
24 | oldcwd = os.getcwd() | 25 | oldcwd = os.getcwd() |
25 | 26 | ||
@@ -192,6 +193,7 @@ python do_package_ipk () { | |||
192 | debian_cmp_remap(rsuggests) | 193 | debian_cmp_remap(rsuggests) |
193 | # Deliberately drop version information here, not wanted/supported by ipk | 194 | # Deliberately drop version information here, not wanted/supported by ipk |
194 | rprovides = dict.fromkeys(bb.utils.explode_dep_versions2(localdata.getVar("RPROVIDES", True) or ""), []) | 195 | rprovides = dict.fromkeys(bb.utils.explode_dep_versions2(localdata.getVar("RPROVIDES", True) or ""), []) |
196 | rprovides = collections.OrderedDict(sorted(rprovides.items(), key=lambda x: x[0])) | ||
195 | debian_cmp_remap(rprovides) | 197 | debian_cmp_remap(rprovides) |
196 | rreplaces = bb.utils.explode_dep_versions2(localdata.getVar("RREPLACES", True) or "") | 198 | rreplaces = bb.utils.explode_dep_versions2(localdata.getVar("RREPLACES", True) or "") |
197 | debian_cmp_remap(rreplaces) | 199 | debian_cmp_remap(rreplaces) |