[Drbd-dev] [PATCH] drbd: Allow to override build date (v2)

Bernhard M. Wiedemann bwiedemann at suse.de
Tue Jul 18 14:47:54 CEST 2017


> No. What if setting SOURCE_DATE_EPOCH becomes the default in the future?
> Maybe it already is for some of the distributions we as LINBIT build
> packages for. Sorry for being the spoilsport here, but as it stands I
> only see the potential of breaking the way we want it .

It already _is_ the default for openSUSE Tumbleweed (aka Factory)... but
then the preferred way of finding out which version it is, is using
version numbers and/or git hashes.
Once you can create the same binaries anywhere and anytime, it does not
matter anymore where and when they were created.

If you are that reliant/insistent on this date, we could add another
[ -z "${WANT_DRBD_REPRODUCIBLE_BUILD}" ] ||

that is only explicity set in our .spec file(s) (drbd-utils has the same
issue).

Ciao
Bernhard M.


More information about the drbd-dev mailing list