From: Yoann Congal <[email protected]> The generated svn_version.h contains the hostname which makes it non-reproducible. Fix this by removing the hostname from the file.
Signed-off-by: Yoann Congal <[email protected]> Signed-off-by: Khem Raj <[email protected]> (cherry picked from commit f23543fb6e8dc8af1f50058ed5739c4419e462db) Signed-off-by: Ankur Tyagi <[email protected]> --- meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb b/meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb index cfd134dd4f..624be655a5 100644 --- a/meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb +++ b/meta-oe/recipes-extended/boinc/boinc-client_7.20.5.bb @@ -78,7 +78,10 @@ do_install:prepend() { } do_install:append() { - sed -i -e 's#${S}##g' ${D}${includedir}/boinc/svn_version.h + # By default, the SVN_VERSION definition looks like: + #define SVN_VERSION "$SHA1 [https://github.com/BOINC/boinc] ($HOSTNAME:$S [client_release/7/7.20]) [Server-Release: server_release/1.1/1.1.0]" + # ... remove HOSTNAME and S to make it reproducible. + sed -i -e '/^#define SVN_VERSION /s#(\S*:\S* \[#([#g' ${D}${includedir}/boinc/svn_version.h } SYSTEMD_SERVICE:${PN} = "boinc-client.service"
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#123549): https://lists.openembedded.org/g/openembedded-devel/message/123549 Mute This Topic: https://lists.openembedded.org/mt/117312034/21656 Group Owner: [email protected] Unsubscribe: https://lists.openembedded.org/g/openembedded-devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
