> Is there a way we can tell which compression format is being
> used for the initramfs and make the dependencies conditional?

Checking whether INITRAMFS_FSTYPES contains 'cpio.lz4' might do the trick.
I'll see into it and prepare a V2.

 
Von: Richard Purdie <richard.pur...@linuxfoundation.org>
Gesendet: 03.07.2020 12:42
An: T. Ulrich <timon.ulr...@kabelmail.de>,<openembedded-core@lists.openembedded.org>
Kopie: Timon Ulrich <t.ulr...@anapur.de>
Betreff: Re: [OE-core] [PATCH] kernel.bbclass: add lz4 dependency and fixthe call to lz4
 
On Fri, 2020-07-03 at 08:22 +0200, T. Ulrich wrote:
> From: Timon Ulrich <t.ulr...@anapur.de>
>
> If the initramfs image is type lz4, then a native lz4 is needed.
>
> Additionally an output filename needs to be specified when calling
> lz4, otherwise STDOUT will be used implicitly.
>
> Signed-off-by: Timon Ulrich <t.ulr...@anapur.de>
> ---
> meta/classes/kernel.bbclass | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)

I really don't like building tools just because we might need them. Is
there a way we can tell which compression format is being used for the
initramfs and make the dependencies conditional?

Cheers,

Richard
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140265): 
https://lists.openembedded.org/g/openembedded-core/message/140265
Mute This Topic: https://lists.openembedded.org/mt/75277149/21656
Group Owner: openembedded-core+ow...@lists.openembedded.org
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to