mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2025-12-16 23:36:21 +01:00
boinc-client: fix hostname reproducibility
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 <yoann.congal@smile.fr> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
parent
a8dfd10600
commit
f23543fb6e
|
|
@ -77,7 +77,10 @@ do_install:prepend() {
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install:append() {
|
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"
|
SYSTEMD_SERVICE:${PN} = "boinc-client.service"
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user