[oe-commits] Andrea Adami : linux-kexecboot.inc: fix minimal versions required for LZMA.

git version control git at git.openembedded.org
Thu Feb 4 09:34:30 UTC 2010


Module: openembedded.git
Branch: shr/unstable
Commit: 15960651ad1edc8a8e0b5a81c71d67ca0adff7c0
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=15960651ad1edc8a8e0b5a81c71d67ca0adff7c0

Author: Andrea Adami <andrea.adami at gmail.com>
Date:   Wed Feb  3 00:50:35 2010 +0100

linux-kexecboot.inc: fix minimal versions required for LZMA.

---

 recipes/kexecboot/linux-kexecboot.inc |   13 ++++---------
 1 files changed, 4 insertions(+), 9 deletions(-)

diff --git a/recipes/kexecboot/linux-kexecboot.inc b/recipes/kexecboot/linux-kexecboot.inc
index 6cc22f4..82f2c53 100644
--- a/recipes/kexecboot/linux-kexecboot.inc
+++ b/recipes/kexecboot/linux-kexecboot.inc
@@ -39,16 +39,11 @@ def kernel_version_less_or_equal(variable, checkvalue, truevalue, falsevalue, d)
     else:
         return falsevalue
 
-# force lzma compression for kernels >= 2.6.30
-#
-# kernel
-# CONFIG_HAVE_KERNEL_GZIP=y
-# CONFIG_HAVE_KERNEL_LZMA=y
-# CONFIG_HAVE_KERNEL_LZO=y
+# force lzma compression for kernel (linux-kexecboot >= 2.6.32)
+# force lzma compression for initramfs (linux-kexecboot >= 2.6.30)
+
+KERNEL_COMPRESSION = '${@kernel_version_less_or_equal("PV", "2.6.32", "", "CONFIG_KERNEL_LZMA=y", d)}'
 
-KERNEL_COMPRESSION = '${@kernel_version_less_or_equal("PV", "2.6.30", "", "CONFIG_KERNEL_LZMA=y", d)}'
-#
-# initramfs
 INITRAMFS_COMPRESSION = '${@kernel_version_less_or_equal("PV", "2.6.30", "", "CONFIG_INITRAMFS_COMPRESSION_LZMA=y", d)}'
 INITRAMFS_COMPRESSION_SUFFIX = '${@kernel_version_less_or_equal("PV", "2.6.30", "gz", "lzma", d)}'
 RD_COMPRESSION = '${@kernel_version_less_or_equal("PV", "2.6.30", "", "CONFIG_RD_LZMA=y", d)}'





More information about the Openembedded-commits mailing list