On Tue, Jul 7, 2020 at 2:10 PM Richard Purdie
<[email protected]> wrote:
>
> On Tue, 2020-07-07 at 12:47 -0700, Andre McCurdy wrote:
> > On Tue, Jul 7, 2020 at 2:25 AM T. Ulrich <[email protected]>
> > wrote:
> > > From: Timon Ulrich <[email protected]>
> > >
> > > a native lzop is only needed when an lzo compressed initramfs is
> > > actually present
> >
> > Is the logic actually that native lzop is only needed if an lzo
> > compressed initramfs is present AND and a plain .cpio or .cpio.gz is
> > NOT present?
>
> This patch improves things but as you point out there appears to be
> further room for improvement. Not sure how much more ugly implementing
> that logic would be and whether its worth it...

Then we should at least add a comment explaining the real dependency,
even if coding it is too ugly.

Alternatively we could simplify the code significantly and remove all
the -native dependencies by just stating that if you want to bundle an
initramfs then you need to include "cpio" or "cpio.gz" in
INITRAMFS_FSTYPES...
-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#140396): 
https://lists.openembedded.org/g/openembedded-core/message/140396
Mute This Topic: https://lists.openembedded.org/mt/75351989/21656
Group Owner: [email protected]
Unsubscribe: https://lists.openembedded.org/g/openembedded-core/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to