From 6bf4106edda1e457a94ccf6b508127c1a6b36277 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 12 Sep 2013 16:23:03 -0700 Subject: [PATCH] kernel-dev: Updated the in-tree metadata section Fixes [YOCTO #5065] I added a blurb at the end of the section that talks about in-tree metadata. The blurb addresses situations where the user has changed the metadata but not updated the corresponding SRCREV variables in the kernel receipe. (From yocto-docs rev: 5d3dc0e6ebc40b937c3f3ef397e2c94e7cb3b69b) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/kernel-dev/kernel-dev-advanced.xml | 14 ++++++++++++++ 1 file changed, 14 insertions(+) diff --git a/documentation/kernel-dev/kernel-dev-advanced.xml b/documentation/kernel-dev/kernel-dev-advanced.xml index d15e26ffbf..4589e4b9fc 100644 --- a/documentation/kernel-dev/kernel-dev-advanced.xml +++ b/documentation/kernel-dev/kernel-dev-advanced.xml @@ -296,6 +296,20 @@ $ git commit --allow-empty -m "Create orphan meta branch" + + + If you modify the Metadata in the linux-yocto + meta branch, you must not forget to update + the + SRCREV + statements in the kernel's recipe. + In particular, you need to update the + SRCREV_meta variable to match the commit in + the KMETA branch you wish to use. + Changing the data in these branches and not updating the + SRCREV statements to match will cause the + build to fetch an older commit. +