mirror of
https://git.yoctoproject.org/poky
synced 2026-05-31 12:49:46 +00:00
systemd-boot: restore reproducibility
(From OE-Core rev: fde5147206ae82d11819fcc23fbe4fc2f94ea52b) Signed-off-by: Alexander Kanavin <alex@linutronix.de> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
committed by
Richard Purdie
parent
3e02d8d277
commit
bd28d659b2
@@ -17,6 +17,7 @@ LIC_FILES_CHKSUM = "file://LICENSE.GPL2;md5=751419260aa954499f7abaabaa882bbe \
|
|||||||
SRCREV = "402280118fe082122437638f53a0019c4aea81aa"
|
SRCREV = "402280118fe082122437638f53a0019c4aea81aa"
|
||||||
SRCBRANCH = "v250-stable"
|
SRCBRANCH = "v250-stable"
|
||||||
SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH} \
|
SRC_URI = "git://github.com/systemd/systemd-stable.git;protocol=https;branch=${SRCBRANCH} \
|
||||||
"
|
file://0001-src-fundamental-list-fundamental_source_paths-using-.patch \
|
||||||
|
"
|
||||||
|
|
||||||
S = "${WORKDIR}/git"
|
S = "${WORKDIR}/git"
|
||||||
|
|||||||
+28
@@ -0,0 +1,28 @@
|
|||||||
|
From 8e882df78ede98c15a3f2567fabebfde1d774b02 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Alexander Kanavin <alex@linutronix.de>
|
||||||
|
Date: Fri, 7 Jan 2022 21:20:15 +0100
|
||||||
|
Subject: [PATCH] src/fundamental: list fundamental_source_paths using relative
|
||||||
|
paths
|
||||||
|
|
||||||
|
Otherwise, the compiler takes the full path to the source file
|
||||||
|
and writes it into the binary output, breaking reproducibility.
|
||||||
|
|
||||||
|
Upstream-Status: Submitted [https://github.com/systemd/systemd/pull/22047]
|
||||||
|
Signed-off-by: Alexander Kanavin <alex@linutronix.de>
|
||||||
|
---
|
||||||
|
src/fundamental/meson.build | 2 +-
|
||||||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||||||
|
|
||||||
|
diff --git a/src/fundamental/meson.build b/src/fundamental/meson.build
|
||||||
|
index 287f0fe36a..954bdf150b 100644
|
||||||
|
--- a/src/fundamental/meson.build
|
||||||
|
+++ b/src/fundamental/meson.build
|
||||||
|
@@ -20,7 +20,7 @@ sources = '''
|
||||||
|
# for sd-boot
|
||||||
|
fundamental_source_paths = []
|
||||||
|
foreach source : sources
|
||||||
|
- fundamental_source_paths += meson.current_source_dir() / source
|
||||||
|
+ fundamental_source_paths += '../../fundamental/' + source
|
||||||
|
endforeach
|
||||||
|
|
||||||
|
# for libbasic
|
||||||
Reference in New Issue
Block a user