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-29 11:17:20 +0100 |
| commit | 6cf78433996cac0af279e3bd0de1b0dfc14e64be (patch) | |
| tree | c71e9fa337317cf80a8a4876fd1fb5173a23d25e | |
| parent | 86c5d70a2320482938516017c5c256ccca920158 (diff) | |
| download | poky-6cf78433996cac0af279e3bd0de1b0dfc14e64be.tar.gz | |
mesa: Ensure megadrivers runtime mappings are deterministic
Add a sort to ensure the package dependency output is determnistic.
(From OE-Core rev: 45b75c3432d79b14b962c21bb1baea200d37695e)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
(cherry picked from commit 693e8d0dfe0b475bc233ccc1ad7674d39de346ce)
Signed-off-by: Anuj Mittal <anuj.mittal@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
| -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 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() { | |||
| 253 | import re | 253 | import re |
| 254 | dri_drivers_root = oe.path.join(d.getVar('PKGD'), d.getVar('libdir'), "dri") | 254 | dri_drivers_root = oe.path.join(d.getVar('PKGD'), d.getVar('libdir'), "dri") |
| 255 | if os.path.isdir(dri_drivers_root): | 255 | if os.path.isdir(dri_drivers_root): |
| 256 | dri_pkgs = os.listdir(dri_drivers_root) | 256 | dri_pkgs = sorted(os.listdir(dri_drivers_root)) |
| 257 | lib_name = d.expand("${MLPREFIX}mesa-megadriver") | 257 | lib_name = d.expand("${MLPREFIX}mesa-megadriver") |
| 258 | for p in dri_pkgs: | 258 | for p in dri_pkgs: |
| 259 | m = re.match(r'^(.*)_dri\.so$', p) | 259 | m = re.match(r'^(.*)_dri\.so$', p) |
