[OE-core] BB_SRCREV_POLICY doesn't seem to work

Robert P. J. Day rpjday at crashcourse.ca
Thu Jan 31 12:43:22 UTC 2013


On Thu, 31 Jan 2013, Martin Jansa wrote:

> On Thu, Jan 31, 2013 at 07:19:20AM -0500, Robert P. J. Day wrote:
> > On Thu, 31 Jan 2013, Eric Bénard wrote:
> >
> > > Hi Robert,
> > >
> > > Le Thu, 31 Jan 2013 05:37:59 -0500 (EST),
> > > "Robert P. J. Day" <rpjday at crashcourse.ca> a écrit :
> > > >   ok, what have i done wrong?  i thought the whole point of
> > > > BB_SRCREV_POLICY was to make the above possible.
> > > >
> > > no idea if that the solution but did you do a cleansstate and removed
> > > the initaly downloaded sources to fetch again the sources ?
> >
> >   i did not ... that's necessary?  that's kind of important to know.
> > let me describe the situation i have to see if BB_SRCREV_POLICY is
> > actually going to do me any good.
> >
> >   here's my global site.conf file:
> >
> > SCONF_VERSION = "1"
> > SOURCE_MIRROR_URL ?= "file:///home/rpjday/oe/dist/tarballs/"
> > INHERIT += "own-mirrors"
> > BB_GENERATE_MIRROR_TARBALLS = "1"
> > # BB_NO_NETWORK = "1"
> >
> > so, as you can see, whenever i end up fetching any new source, it ends
> > up as a tarball and i copy it into my long-lived own-mirrors
> > "tarballs" directory.  obviously saves me buckets of time.
> >
> >   now say i've started a new build and i've done all the fetching
> > without involving BB_SRCREV_POLICY.  i suddenly realize i need to move
> > to somewhere without network access, so i quickly add
> >
> >   BB_SRCREV_POLICY = "1"
>
> BB_SRCREV_POLICY = "cache"
>
> right?

  sorry, yes, that's what i used.  but i'll test again just to make
absolutely sure.

rday

-- 

========================================================================
Robert P. J. Day                                 Ottawa, Ontario, CANADA
                        http://crashcourse.ca

Twitter:                                       http://twitter.com/rpjday
LinkedIn:                               http://ca.linkedin.com/in/rpjday
========================================================================


More information about the Openembedded-core mailing list