[poky] [PATCH 1/1] kernel.bbclass: Fix sstate-output directory


Mon Jan 24 19:56:52 PST 2011


From: Dongxiao Xu <dongxiao.xu at intel.com>

kernel related files need to be installed into machine specific directories.
This fix the issue of do_bootimg failure when building "-live" images.

Signed-off-by: Dongxiao Xu <dongxiao.xu at intel.com>
---
 meta/classes/kernel.bbclass                        |    2 ++
 meta/recipes-kernel/linux/linux-omap3-pm_git.bb    |    2 +-
 .../recipes-kernel/linux/linux-yocto-stable_git.bb |    2 +-
 meta/recipes-kernel/linux/linux-yocto_git.bb       |    2 +-
 4 files changed, 5 insertions(+), 3 deletions(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 9d3b2bb..d61a19d 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -512,3 +512,5 @@ EXPORT_FUNCTIONS do_deploy
 PACKAGES =+ "perf"
 FILES_perf = "${bindir}/* \
               ${libexecdir}"
+
+do_populate_sysroot[sstate-outputdirs] = "${STAGING_DIR}/${MULTIMACH_TARGET_SYS}/"
diff --git a/meta/recipes-kernel/linux/linux-omap3-pm_git.bb b/meta/recipes-kernel/linux/linux-omap3-pm_git.bb
index d65ca50..dca1fb9 100644
--- a/meta/recipes-kernel/linux/linux-omap3-pm_git.bb
+++ b/meta/recipes-kernel/linux/linux-omap3-pm_git.bb
@@ -7,7 +7,7 @@ inherit kernel
 FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/${PN}-git/${MACHINE}"
 
 PV = "2.6.31-rc7+pm+${PR}+git${SRCPV}"
-PR = "r3"
+PR = "r4"
 
 SRC_URI = "git://git.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm.git;branch=pm;protocol=git"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto-stable_git.bb b/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
index 2f6eb2d..1e6ac83 100644
--- a/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-stable_git.bb
@@ -14,7 +14,7 @@ KMACHINE_beagleboard = "beagleboard"
 LINUX_VERSION ?= "2.6.34"
 LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE_EXTENSION}"
 
-PR = "r1"
+PR = "r2"
 PV = "${LINUX_VERSION}+git${SRCPV}"
 SRCREV_FORMAT = "meta_machine"
 
diff --git a/meta/recipes-kernel/linux/linux-yocto_git.bb b/meta/recipes-kernel/linux/linux-yocto_git.bb
index 7833f65..caa4b5a 100644
--- a/meta/recipes-kernel/linux/linux-yocto_git.bb
+++ b/meta/recipes-kernel/linux/linux-yocto_git.bb
@@ -13,7 +13,7 @@ KMACHINE_beagleboard = "yocto/standard/beagleboard"
 
 LINUX_VERSION ?= "2.6.37"
 LINUX_VERSION_EXTENSION ?= "-yocto-${LINUX_KERNEL_TYPE}"
-PR = "r15"
+PR = "r16"
 PV = "${LINUX_VERSION}+git${SRCPV}"
 SRCREV_FORMAT = "meta_machine"
 
-- 
1.6.3.3




More information about the poky mailing list