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.3.4~46 X-Git-Url: https://code.ossystems.io/gitweb?a=commitdiff_plain;h=45b75c3432d79b14b962c21bb1baea200d37695e;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: Anuj Mittal --- diff --git a/meta/recipes-graphics/mesa/mesa.inc b/meta/recipes-graphics/mesa/mesa.inc index 7cba03cfcf..cfc1bc1d36 100644 --- a/meta/recipes-graphics/mesa/mesa.inc +++ b/meta/recipes-graphics/mesa/mesa.inc @@ -253,7 +253,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)