Openembedded Core Discussions
 help / color / mirror / Atom feed
* BB_SRCREV_POLICY doesn't seem to work
@ 2013-01-31 10:37 Robert P. J. Day
  2013-01-31 12:10 ` Eric Bénard
  0 siblings, 1 reply; 13+ messages in thread
From: Robert P. J. Day @ 2013-01-31 10:37 UTC (permalink / raw)
  To: OE Core mailing list


  as a test, i currently have a full core-image-minimal build for an
am180x-evm, so i just did a fetchall to establish a baseline, that
worked fine.

  next, i added:

  BB_NO_NETWORK = "1"

to my site.conf, which failed predictably with:

ERROR: ExpansionError during parsing
/home/rpjday/oe/dist/layers/meta-ti/recipes-bsp/u-boot/u-boot_2013.01.bb:
Failure expanding variable SRCPV, expression was
${@bb.fetch2.get_srcrev(d)} which triggered exception NetworkAccess:
Network access disabled through BB_NO_NETWORK but access requested
with command git ls-remote
git://arago-project.org/git/projects/u-boot-keystone.git
DEV.MCSDK-03.00.00.07 (for url None)
ERROR: Command execution failed: Exited with 1

  ok, so i reverted the BB_NO_NETWORK setting and added to local.conf:

  BB_SRCREV_POLICY := "cache"

predictably, that worked and, according to yesterday's discussion, i
should now be able to do away with network access, so once again:

  BB_NO_NETWORK = "1"

and:

ERROR: ExpansionError during parsing
/home/rpjday/oe/dist/layers/meta-ti/recipes-bsp/u-boot/u-boot_2013.01.bb:
Failure expanding variable SRCPV, expression was
${@bb.fetch2.get_srcrev(d)} which triggered exception NetworkAccess:
Network access disabled through BB_NO_NETWORK but access requested
with command git ls-remote
git://arago-project.org/git/projects/u-boot-keystone.git
DEV.MCSDK-03.00.00.07 (for url None)
ERROR: Command execution failed: Exited with 1

  ok, what have i done wrong?  i thought the whole point of
BB_SRCREV_POLICY was to make the above possible.

rday

-- 

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

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



^ permalink raw reply	[flat|nested] 13+ messages in thread

end of thread, other threads:[~2013-01-31 19:53 UTC | newest]

Thread overview: 13+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-01-31 10:37 BB_SRCREV_POLICY doesn't seem to work Robert P. J. Day
2013-01-31 12:10 ` Eric Bénard
2013-01-31 12:19   ` Robert P. J. Day
2013-01-31 12:38     ` Martin Jansa
2013-01-31 12:43       ` Robert P. J. Day
2013-01-31 13:13       ` Robert P. J. Day
2013-01-31 13:43       ` Robert P. J. Day
2013-01-31 13:50         ` Martin Jansa
2013-01-31 14:18           ` Robert P. J. Day
2013-01-31 14:45           ` Robert P. J. Day
2013-01-31 18:17             ` Harvey Chapman
2013-01-31 19:30               ` Harvey Chapman
2013-01-31 19:37                 ` Harvey Chapman

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox