diff options
Diffstat (limited to 'meta/recipes-graphics/mesa/files')
-rw-r--r-- | meta/recipes-graphics/mesa/files/0001-anv_icd.py-improve-reproducible-builds.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/meta/recipes-graphics/mesa/files/0001-anv_icd.py-improve-reproducible-builds.patch b/meta/recipes-graphics/mesa/files/0001-anv_icd.py-improve-reproducible-builds.patch new file mode 100644 index 0000000000..da7a81f253 --- /dev/null +++ b/meta/recipes-graphics/mesa/files/0001-anv_icd.py-improve-reproducible-builds.patch | |||
@@ -0,0 +1,27 @@ | |||
1 | From b474abdd91158a52821c34865277d7de38880529 Mon Sep 17 00:00:00 2001 | ||
2 | From: "Maxin B. John" <maxin.john@intel.com> | ||
3 | Date: Wed, 17 Jan 2018 15:53:29 +0200 | ||
4 | Subject: [PATCH] anv_icd.py: improve reproducible builds | ||
5 | |||
6 | Sort the output to ensure reproducibility | ||
7 | |||
8 | Upstream-Status: Pending | ||
9 | |||
10 | Signed-off-by: Maxin B. John <maxin.john@intel.com> | ||
11 | --- | ||
12 | src/intel/vulkan/anv_icd.py | 2 +- | ||
13 | 1 file changed, 1 insertion(+), 1 deletion(-) | ||
14 | |||
15 | diff --git a/src/intel/vulkan/anv_icd.py b/src/intel/vulkan/anv_icd.py | ||
16 | index 4ed01fa..31bb068 100644 | ||
17 | --- a/src/intel/vulkan/anv_icd.py | ||
18 | +++ b/src/intel/vulkan/anv_icd.py | ||
19 | @@ -44,4 +44,4 @@ if __name__ == '__main__': | ||
20 | } | ||
21 | |||
22 | with open(args.out, 'w') as f: | ||
23 | - json.dump(json_data, f, indent = 4) | ||
24 | + json.dump(json_data, f, indent = 4, sort_keys=True) | ||
25 | -- | ||
26 | 2.4.0 | ||
27 | |||