[yocto] trouble using a local kernel repo

Hollis Blanchard hollis_blanchard at mentor.com
Thu Feb 16 12:16:49 PST 2012


I'm trying to figure out how to use a cloned/modified copy of the 
linux-yocto-3.0 git repository. Here's what I did:

* cloned linux-yocto-3.0.git and committed to the meta branch
* specified my new repo:

--- a/meta/recipes-kernel/linux/linux-yocto_3.0.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_3.0.bb
@@ -18,12 +18,12 @@ SRCREV_machine_qemuppc ?= "15fd748017f0849138ff4b47d73f6866fa26cfe8"
  SRCREV_machine_qemux86 ?= "8f74a4339b3dc029fafff0ba7d88d6dc950d4b31"
  SRCREV_machine_qemux86-64 ?= "610c5a62daeda033755b0b7bfcb3e2cad5c76f3f"
  SRCREV_machine ?= "5df0b4c2538399aed543133b3855f809adf08ab8"
-SRCREV_meta ?= "b78a519841bd8b477cad599af8d38df6760445c1"
+SRCREV_meta ?= "7af8d6f8769335b79c1b76c8bded256b8f909c74"

  PR = "r3"
  PV = "${LINUX_VERSION}+git${SRCPV}"

-SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;nocheckout=1;branch=${KBRANCH},meta
+SRC_URI = "git:///mnt/linux-yocto-3.0.git;protocol=file;nocheckout=1;branch=${KBRANCH},meta;name=machi

  COMPATIBLE_MACHINE = "(qemuarm|qemux86|qemuppc|qemumips|qemux86-64)"

* bitbake -c clean virtual/kernel&&  bitbake virtual/kernel


What I get is this:
ERROR: Function failed: do_validate_branches (see 
/mnt/poky.git/build/tmp/work/beagleboard-poky-linux-gnueabi/linux-yocto-3.0.18+git2+7af8d6f8769335b79c1b76c8bded256b8f909c74_1+368e38c673ffac8b37fc2a2d4c1e4a1e6f8abf19-r3/temp/log.do_validate_branches.5342 
for further information)

There is no more information in that file. It contains only the exact 
message I already got on the console ("ERROR: Function failed ...").

What am I missing? 
http://www.yoctoproject.org/docs/current/kernel-manual/kernel-manual.html was 
not helpful.

Thanks!

-- 
Hollis Blanchard
Mentor Graphics, Embedded Systems Division




More information about the yocto mailing list