diff options
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-core/util-linux/util-linux_2.37.2.bb | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/meta/recipes-core/util-linux/util-linux_2.37.2.bb b/meta/recipes-core/util-linux/util-linux_2.37.2.bb index 6f2808cc44..d609c30067 100644 --- a/meta/recipes-core/util-linux/util-linux_2.37.2.bb +++ b/meta/recipes-core/util-linux/util-linux_2.37.2.bb | |||
@@ -37,12 +37,13 @@ python util_linux_binpackages () { | |||
37 | continue | 37 | continue |
38 | 38 | ||
39 | pkg = os.path.basename(os.readlink(file)) | 39 | pkg = os.path.basename(os.readlink(file)) |
40 | extras[pkg] = extras.get(pkg, '') + ' ' + file.replace(dvar, '', 1) | 40 | extras.setdefault(pkg, []) |
41 | extras[pkg].append(file.replace(dvar, '', 1)) | ||
41 | 42 | ||
42 | pn = d.getVar('PN') | 43 | pn = d.getVar('PN') |
43 | for pkg, links in extras.items(): | 44 | for pkg, links in extras.items(): |
44 | of = d.getVar('FILES:' + pn + '-' + pkg) | 45 | of = d.getVar('FILES:' + pn + '-' + pkg) |
45 | links = of + links | 46 | links = of + " " + " ".join(sorted(links)) |
46 | d.setVar('FILES:' + pn + '-' + pkg, links) | 47 | d.setVar('FILES:' + pn + '-' + pkg, links) |
47 | } | 48 | } |
48 | 49 | ||