Brad,

I think your issue is that the bbappend in 
meta-arago/meta-arago-distro/recipes-devtools/ltp-ddt is using SRCREV as 
AUTOREV which will ping the network for the latest commit.  You can change that 
SRCREV instead to the commit you want.

Sincerely,
Chase Maupin

From: [email protected] 
[mailto:[email protected]] On Behalf Of Brad Litterell
Sent: Sunday, December 22, 2013 8:21 PM
To: [email protected]
Subject: [meta-arago] BB_NO_NETWORK failure with arago

I am having trouble getting my build environment to work offline.  I followed 
the instructions here:
https://wiki.yoctoproject.org/wiki/How_do_I#Q:_How_do_I_create_my_own_source_download_mirror_.3F

I've built my project, created the tarballs, etc.  However, it appears there is 
still something I'm missing.  When I enable BB_NO_NETWORK, I get an error here:

$ bitbake base-files
...
Loaded 57 entries from dependency cache.
NOTE: Error during finalise of 
/home/brad/etm2/sources/meta-arago/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb
ERROR: ExpansionError during parsing 
/home/brad/etm2/sources/meta-arago/meta-arago-extras/recipes-devtools/ltp-ddt/ltp-ddt-legacy_1.0.bb:
 Failure expanding variable S: ExpansionError: Failure expanding variable 
SRCPV, expression was 
${@bb.fetch2.get_srcrev(d)}<mailto:$%[email protected]_srcrev(d)%7d> 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/test-automation/ltp-ddt.git master (for 
url None)
ERROR: Command execution failed: Exited with 1

In this case, the SRC_URI looks like this:

SRCREV = "5fba3d42f126ce13333fb7d0412d729b753ee5a4"
BRANCH ?= "master"
SRC_URI = 
"git://arago-project.org/git/projects/test-automation/ltp-ddt.git;protocol=git;branch=${BRANCH}"

So, I figured apply  the same fix as mentioned on the Wiki:

SRCREV = "5fba3d42f126ce13333fb7d0412d729b753ee5a4"
#BRANCH ?= "master"
#SRC_URI = 
"git://arago-project.org/git/projects/test-automation/ltp-ddt.git;protocol=git;branch=${BRANCH}"
SRC_URI = 
"git://arago-project.org/git/projects/test-automation/ltp-ddt.git;protocol=git"

But I get the same error?  And I'm not even using ltp-ddt...

Is there something I'm missing in setting up BB_NO_NETWORK? Is there something 
extra required for the arago project to run with no network?

Thanks,
Brad
_______________________________________________
meta-arago mailing list
[email protected]
http://arago-project.org/cgi-bin/mailman/listinfo/meta-arago

Reply via email to