drbd-utils: enable reproducible_build awareness

Enable use of SOURCE_DATE_EPOCH from the reproducible_build bbclass.

Signed-off-by: Joe Slater <joe.slater@windriver.com>
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
Slater, Joseph 2019-07-10 16:56:57 -07:00 committed by Khem Raj
parent d3261cb6d2
commit dfbcacc795

View File

@ -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