[OE-core] [PATCH] kernel.bbclass: add lzop dependency

Bruce Ashfield bruce.ashfield at gmail.com
Mon Aug 1 14:07:17 UTC 2016


On Mon, Aug 1, 2016 at 8:32 AM, Trevor Woerner <twoerner at gmail.com> wrote:

> If the initramfs image is type lzo, then a native lzop is needed.
>


Not a large dependency, but it does bring to mind the question if this
could be conditional on the type of image being built ? via  distro
feature, some other mechanism ?

Bruce


>
> Signed-off-by: Trevor Woerner <twoerner at gmail.com>
> ---
>  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"
> --
> 2.9.2
>
> --
> _______________________________________________
> Openembedded-core mailing list
> Openembedded-core at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-core
>



-- 
"Thou shalt not follow the NULL pointer, for chaos and madness await thee
at its end"
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openembedded.org/pipermail/openembedded-core/attachments/20160801/f43c20a2/attachment-0002.html>


More information about the Openembedded-core mailing list