mirror of
https://git.yoctoproject.org/poky
synced 2026-03-17 04:39:40 +01:00
efivar: Fix reproducibility issue
Add sorting to the globbing within the Makefile to make the output reproducible. (From OE-Core rev: c43ae151f572786818fe048233b4bbfd6b0ba2cf) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
@@ -28,7 +28,6 @@ import datetime
|
||||
# ruby-ri-docs, meson:
|
||||
#https://autobuilder.yocto.io/pub/repro-fail/oe-reproducible-20210215-0_td9la2/packages/diff-html/
|
||||
exclude_packages = [
|
||||
'efivar',
|
||||
'glide',
|
||||
'go-dep',
|
||||
'go-helloworld',
|
||||
|
||||
18
meta/recipes-bsp/efivar/efivar/determinism.patch
Normal file
18
meta/recipes-bsp/efivar/efivar/determinism.patch
Normal file
@@ -0,0 +1,18 @@
|
||||
Fix reproducibility issue caused by unsorted wildcard expansion.
|
||||
|
||||
Upstream-Status: Pending
|
||||
RP 2021/3/1
|
||||
|
||||
Index: git/src/Makefile
|
||||
===================================================================
|
||||
--- git.orig/src/Makefile
|
||||
+++ git/src/Makefile
|
||||
@@ -15,7 +15,7 @@ TARGETS=$(LIBTARGETS) $(BINTARGETS) $(PC
|
||||
STATICTARGETS=$(STATICLIBTARGETS) $(STATICBINTARGETS)
|
||||
|
||||
LIBEFIBOOT_SOURCES = crc32.c creator.c disk.c gpt.c loadopt.c path-helpers.c \
|
||||
- linux.c $(wildcard linux-*.c)
|
||||
+ linux.c $(sort $(wildcard linux-*.c))
|
||||
LIBEFIBOOT_OBJECTS = $(patsubst %.c,%.o,$(LIBEFIBOOT_SOURCES))
|
||||
LIBEFIVAR_SOURCES = dp.c dp-acpi.c dp-hw.c dp-media.c dp-message.c \
|
||||
efivarfs.c error.c export.c guid.c guids.S guid-symbols.c \
|
||||
@@ -8,6 +8,7 @@ LIC_FILES_CHKSUM = "file://COPYING;md5=6626bb1e20189cfa95f2c508ba286393"
|
||||
COMPATIBLE_HOST = "(i.86|x86_64|arm|aarch64).*-linux"
|
||||
|
||||
SRC_URI = "git://github.com/rhinstaller/efivar.git \
|
||||
file://determinism.patch \
|
||||
file://no-werror.patch"
|
||||
SRCREV = "c1d6b10e1ed4ba2be07f385eae5bceb694478a10"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user