I've been adding "lzop-native" to a lot of kernel recipes because you also need it when generating an LZO compressed kernel (I like my boot time to be under 1 second).

It's a small dependency which is hard to automatically figure out, since there are a number of ways to trigger it (we just found two). I would welcome this patch very much, and I don't think many will suffer...


On 01-08-16 14:32, Trevor Woerner wrote:
If the initramfs image is type lzo, then a native lzop is needed.

Signed-off-by: Trevor Woerner <[email protected]>
---
  meta/classes/kernel.bbclass | 2 +-
  1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index fa76a14..db42744 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -1,7 +1,7 @@
  inherit linux-kernel-base kernel-module-split

  PROVIDES += "virtual/kernel"
-DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc 
kmod-native depmodwrapper-cross bc-native"
+DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc 
kmod-native depmodwrapper-cross bc-native lzop-native"

  S = "${STAGING_KERNEL_DIR}"
  B = "${WORKDIR}/build"


--
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to