[OE-core] [PATCH 6/6] linux-yocto-tiny: add dependency on xz-native

Paul Eggleton paul.eggleton at linux.intel.com
Wed Mar 14 00:36:32 UTC 2012


The kernel configuration requires lzma to compress the kernel image
(CONFIG_KERNEL_LZMA=y), so add a dependency on xz-native which provides
it.

Fixes [YOCTO #1728].

Signed-off-by: Paul Eggleton <paul.eggleton at linux.intel.com>
---
 meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb |    5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diff --git a/meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb b/meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb
index 5cad513..a3a6167 100644
--- a/meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb
+++ b/meta/recipes-kernel/linux/linux-yocto-tiny_3.0.bb
@@ -1,6 +1,9 @@
 inherit kernel
 require recipes-kernel/linux/linux-yocto.inc
 
+# We need lzma (as CONFIG_KERNEL_LZMA=y)
+DEPENDS += "xz-native"
+
 #KMACHINE = "yocto/standard/tiny/base"
 KMACHINE = "yocto/standard/base"
 KBRANCH = "${KMACHINE}"
@@ -10,7 +13,7 @@ LINUX_VERSION ?= "3.0.23"
 SRCREV_machine ?= "8fd24b3570ab995848e4123ef13bac64e2c924be"
 SRCREV_meta ?= "e559129b4a6f39f68b75141096b2d516cf7a7f35"
 
-PR = "r2"
+PR = "r3"
 PV = "${LINUX_VERSION}+git${SRCPV}"
 
 SRC_URI = "git://git.yoctoproject.org/linux-yocto-3.0;protocol=git;bareclone=1;branch=${KBRANCH},meta;name=machine,meta \
-- 
1.7.5.4





More information about the Openembedded-core mailing list