[oe] [meta-networking][PATCH 1/1] drbd-utils: enable reproducible_build awareness

Joe Slater joe.slater at windriver.com
Wed Jul 10 23:56:57 UTC 2019


Enable use of SOURCE_DATE_EPOCH from the reproducible_build bbclass.

Signed-off-by: Joe Slater <joe.slater at windriver.com>
---
 meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb b/meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb
index 70e04b9..7fd3090 100644
--- a/meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb
+++ b/meta-networking/recipes-support/drbd/drbd-utils_9.10.0.bb
@@ -35,6 +35,9 @@ EXTRA_OECONF = " \
                 --without-manual \
                "
 
+# If we have inherited reproducible_build, we want to use it.
+export WANT_DRBD_REPRODUCIBLE_BUILD = "yes"
+
 do_configure_prepend() {
     # move the the file under folder /lib/drbd/ to /usr/lib/drbd when usrmerge enabled
     if ${@bb.utils.contains('DISTRO_FEATURES', 'usrmerge', 'true', 'false', d)}; then
-- 
2.7.4



More information about the Openembedded-devel mailing list