diff options
author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-09-30 00:30:19 +0100 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2021-10-23 23:14:17 +0100 |
commit | 230e03300d5ba8072adc7d1f87fc286f3ced09b3 (patch) | |
tree | 67d6eced99d97e7aaf7af52518154ed3b3ea7c07 /meta | |
parent | 63b5e198b4e8ccecdcfcbec042fa68fb8a7cfd3c (diff) | |
download | poky-230e03300d5ba8072adc7d1f87fc286f3ced09b3.tar.gz |
mesa: Ensure megadrivers runtime mappings are deterministic
Add a sort to ensure the package dependency output is determnistic.
(From OE-Core rev: 422ce20c7d3089c25593210b1e8a9dec99fb9965)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 693e8d0dfe0b475bc233ccc1ad7674d39de346ce)
Signed-off-by: Steve Sakoman <steve@sakoman.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/recipes-graphics/mesa/mesa.inc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index a1bf878b1a..bfab19e773 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc | |||
@@ -231,7 +231,7 @@ python mesa_populate_packages() { | |||
231 | import re | 231 | import re |
232 | dri_drivers_root = oe.path.join(d.getVar('PKGD'), d.getVar('libdir'), "dri") | 232 | dri_drivers_root = oe.path.join(d.getVar('PKGD'), d.getVar('libdir'), "dri") |
233 | if os.path.isdir(dri_drivers_root): | 233 | if os.path.isdir(dri_drivers_root): |
234 | dri_pkgs = os.listdir(dri_drivers_root) | 234 | dri_pkgs = sorted(os.listdir(dri_drivers_root)) |
235 | lib_name = d.expand("${MLPREFIX}mesa-megadriver") | 235 | lib_name = d.expand("${MLPREFIX}mesa-megadriver") |
236 | for p in dri_pkgs: | 236 | for p in dri_pkgs: |
237 | m = re.match(r'^(.*)_dri\.so$', p) | 237 | m = re.match(r'^(.*)_dri\.so$', p) |