I have a situation I cannot explain.
If I switch the SRC_URI in linux-yocto-minnow_3.8.bb to point to a local
repository:
SRC_URI =
"git:///home/dvhart/source/linux/linux-yocto-3.8.git;protocol=file;nocheckout=1;branch=${KBRANCH},${KMETA},emgd-1.16;name=machine,meta,emgd
\
file://media.cfg"
I get this:
$ bitbake core-image-minimal
Loading cache: 100% |##############################################|
ETA: 00:00:00
Loaded 1156 entries from dependency cache.
NOTE: Error during finalise of
/build/yocto/danny/minnow_20130227154920/meta-minnow/recipes-kernel/linux/linux-yocto-minnow_3.8.bb
ERROR: ExpansionError during parsing
/build/yocto/danny/minnow_20130227154920/meta-minnow/recipes-kernel/linux/linux-yocto-minnow_3.8.bb:
Failure expanding variable do_patch: ExpansionError: Failure expanding
variable SRCPV, expression was ${@bb.fetch2.get_srcrev(d)} which
triggered exception FetchError: Fetcher failure: SRCREV was used yet no
valid SCM was found in SRC_URI
ERROR: Command execution failed: Exited with 1
If I COPY the bb to a bbappend and delete all but the EXACT SRC_URI
line, it works.
Is there some intrinsic rule that only bbappends can have local
repositories in their URI ?
This is on danny.
--
Darren Hart
Intel Open Source Technology Center
Yocto Project - Technical Lead - Linux Kernel
_______________________________________________
linux-yocto mailing list
[email protected]
https://lists.yoctoproject.org/listinfo/linux-yocto