From: Richard Purdie Date: Wed, 29 Sep 2021 23:30:19 +0000 (+0100) Subject: mesa: Ensure megadrivers runtime mappings are deterministic X-Git-Tag: yocto-3.1.12~63 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=422ce20c7d3089c25593210b1e8a9dec99fb9965;p=openembedded-core.git mesa: Ensure megadrivers runtime mappings are deterministic Add a sort to ensure the package dependency output is determnistic. Signed-off-by: Richard Purdie (cherry picked from commit 693e8d0dfe0b475bc233ccc1ad7674d39de346ce) Signed-off-by: Steve Sakoman --- 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() { import re dri_drivers_root = oe.path.join(d.getVar('PKGD'), d.getVar('libdir'), "dri") if os.path.isdir(dri_drivers_root): - dri_pkgs = os.listdir(dri_drivers_root) + dri_pkgs = sorted(os.listdir(dri_drivers_root)) lib_name = d.expand("${MLPREFIX}mesa-megadriver") for p in dri_pkgs: m = re.match(r'^(.*)_dri\.so$', p)