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

Khem Raj raj.khem at gmail.com
Thu Jul 11 17:47:45 UTC 2019


Ok, thanks.

On Thu, Jul 11, 2019 at 10:14 AM Slater, Joseph <joe.slater at windriver.com>
wrote:

>
>
> > -----Original Message-----
> > From: Khem Raj [mailto:raj.khem at gmail.com]
> > Sent: Thursday, July 11, 2019 12:33 AM
> > To: Slater, Joseph
> > Cc: openembeded-devel
> > Subject: Re: [oe] [meta-networking][PATCH 1/1] drbd-utils: enable
> > reproducible_build awareness
> >
> > On Wed, Jul 10, 2019 at 4:57 PM Joe Slater <joe.slater at windriver.com>
> > wrote:
> > >
> > > 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"
> >
> > should this be set after checking for inherit
>
> [Joe Slater] This variable is always queried and the code checks for a
> reproducible_build environment, so we don't need to test here.
>
> > > +
> > >  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
> > >
> > > --
> > > _______________________________________________
> > > Openembedded-devel mailing list
> > > Openembedded-devel at lists.openembedded.org
> > > http://lists.openembedded.org/mailman/listinfo/openembedded-devel
>


More information about the Openembedded-devel mailing list