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? > Signed-off-by: Timon Ulrich <[email protected]> > --- > meta/classes/kernel.bbclass | 3 ++- > 1 file changed, 2 insertions(+), 1 deletion(-) > > diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass > index c834aad033..3230c12ccf 100644 > --- a/meta/classes/kernel.bbclass > +++ b/meta/classes/kernel.bbclass > @@ -4,7 +4,8 @@ KERNEL_PACKAGE_NAME ??= "kernel" > KERNEL_DEPLOYSUBDIR ??= "${@ "" if (d.getVar("KERNEL_PACKAGE_NAME") == > "kernel") else d.getVar("KERNEL_PACKAGE_NAME") }" > > PROVIDES += "${@ "virtual/kernel" if (d.getVar("KERNEL_PACKAGE_NAME") == > "kernel") else "" }" > -DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc > kmod-native bc-native lzop-native bison-native" > +DEPENDS += "virtual/${TARGET_PREFIX}binutils virtual/${TARGET_PREFIX}gcc > kmod-native bc-native bison-native" > +DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lzo", > "lzop-native", "", d)}" > DEPENDS += "${@bb.utils.contains("INITRAMFS_FSTYPES", "cpio.lz4", > "lz4-native", "", d)}" > PACKAGE_WRITE_DEPS += "depmodwrapper-cross" > > -- > 2.17.1 > > >
-=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#140386): https://lists.openembedded.org/g/openembedded-core/message/140386 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]] -=-=-=-=-=-=-=-=-=-=-=-
