summaryrefslogtreecommitdiffstats
path: root/meta/recipes-graphics
diff options
context:
space:
mode:
authorRichard Purdie <richard.purdie@linuxfoundation.org>2021-09-30 00:30:19 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2021-10-02 23:09:22 +0100
commit86125379b2a348f5eff1b9731ab1906c466cf0c6 (patch)
tree56d720408d9c088b1047973599ad6f011eb46ddf /meta/recipes-graphics
parent9f0b69e91c51bad8722e765df95b545e3ecec9b1 (diff)
downloadpoky-86125379b2a348f5eff1b9731ab1906c466cf0c6.tar.gz
mesa: Ensure megadrivers runtime mappings are deterministic
Add a sort to ensure the package dependency output is determnistic. (From OE-Core rev: 693e8d0dfe0b475bc233ccc1ad7674d39de346ce) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-graphics')
-rw-r--r--meta/recipes-graphics/mesa/mesa.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc
index 0a7a3ca7bc..282671d30f 100644
--- a/meta/recipes-graphics/mesa/mesa.inc
+++ b/meta/recipes-graphics/mesa/mesa.inc
@@ -257,7 +257,7 @@ python mesa_populate_packages() {
257 import re 257 import re
258 dri_drivers_root = oe.path.join(d.getVar('PKGD'), d.getVar('libdir'), "dri") 258 dri_drivers_root = oe.path.join(d.getVar('PKGD'), d.getVar('libdir'), "dri")
259 if os.path.isdir(dri_drivers_root): 259 if os.path.isdir(dri_drivers_root):
260 dri_pkgs = os.listdir(dri_drivers_root) 260 dri_pkgs = sorted(os.listdir(dri_drivers_root))
261 lib_name = d.expand("${MLPREFIX}mesa-megadriver") 261 lib_name = d.expand("${MLPREFIX}mesa-megadriver")
262 for p in dri_pkgs: 262 for p in dri_pkgs:
263 m = re.match(r'^(.*)_dri\.so$', p) 263 m = re.match(r'^(.*)_dri\.so$', p)