diff options
Diffstat (limited to 'meta/recipes-bsp/efivar')
-rw-r--r-- | meta/recipes-bsp/efivar/efivar/determinism.patch | 18 | ||||
-rw-r--r-- | meta/recipes-bsp/efivar/efivar_37.bb | 1 |
2 files changed, 19 insertions, 0 deletions
diff --git a/meta/recipes-bsp/efivar/efivar/determinism.patch b/meta/recipes-bsp/efivar/efivar/determinism.patch new file mode 100644 index 0000000000..bdf6bfc4a8 --- /dev/null +++ b/meta/recipes-bsp/efivar/efivar/determinism.patch | |||
@@ -0,0 +1,18 @@ | |||
1 | Fix reproducibility issue caused by unsorted wildcard expansion. | ||
2 | |||
3 | Upstream-Status: Pending | ||
4 | RP 2021/3/1 | ||
5 | |||
6 | Index: git/src/Makefile | ||
7 | =================================================================== | ||
8 | --- git.orig/src/Makefile | ||
9 | +++ git/src/Makefile | ||
10 | @@ -15,7 +15,7 @@ TARGETS=$(LIBTARGETS) $(BINTARGETS) $(PC | ||
11 | STATICTARGETS=$(STATICLIBTARGETS) $(STATICBINTARGETS) | ||
12 | |||
13 | LIBEFIBOOT_SOURCES = crc32.c creator.c disk.c gpt.c loadopt.c path-helpers.c \ | ||
14 | - linux.c $(wildcard linux-*.c) | ||
15 | + linux.c $(sort $(wildcard linux-*.c)) | ||
16 | LIBEFIBOOT_OBJECTS = $(patsubst %.c,%.o,$(LIBEFIBOOT_SOURCES)) | ||
17 | LIBEFIVAR_SOURCES = dp.c dp-acpi.c dp-hw.c dp-media.c dp-message.c \ | ||
18 | efivarfs.c error.c export.c guid.c guids.S guid-symbols.c \ | ||
diff --git a/meta/recipes-bsp/efivar/efivar_37.bb b/meta/recipes-bsp/efivar/efivar_37.bb index 9b95721a4e..5bf121ff6e 100644 --- a/meta/recipes-bsp/efivar/efivar_37.bb +++ b/meta/recipes-bsp/efivar/efivar_37.bb | |||
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6626bb1e20189cfa95f2c508ba286393" | |||
8 | COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" | 8 | COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux" |
9 | 9 | ||
10 | SRC_URI = "git://github.com/rhinstaller/efivar.git \ | 10 | SRC_URI = "git://github.com/rhinstaller/efivar.git \ |
11 | file://determinism.patch \ | ||
11 | file://no-werror.patch" | 12 | file://no-werror.patch" |
12 | SRCREV = "c1d6b10e1ed4ba2be07f385eae5bceb694478a10" | 13 | SRCREV = "c1d6b10e1ed4ba2be07f385eae5bceb694478a10" |
13 | 14 | ||