[oe-commits] Andrea Adami : linux-kexecboot.inc: enable lzma compression for more kernel versions

git version control git at git.openembedded.org
Thu Feb 18 00:06:57 UTC 2010


Module: openembedded.git
Branch: org.openembedded.dev
Commit: a5cc33f7ae7416cd20772740a2deac1985d791ef
URL:    http://gitweb.openembedded.net/?p=openembedded.git&a=commit;h=a5cc33f7ae7416cd20772740a2deac1985d791ef

Author: Andrea Adami <andrea.adami at gmail.com>
Date:   Thu Feb 18 01:05:08 2010 +0100

linux-kexecboot.inc: enable lzma compression for more kernel versions

---

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

diff --git a/recipes/kexecboot/linux-kexecboot.inc b/recipes/kexecboot/linux-kexecboot.inc
index ed3a07f..5621e69 100644
--- a/recipes/kexecboot/linux-kexecboot.inc
+++ b/recipes/kexecboot/linux-kexecboot.inc
@@ -44,11 +44,11 @@ def kernel_version_less_or_equal(variable, checkvalue, truevalue, falsevalue, d)
 # 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.31", "", "CONFIG_KERNEL_LZMA=y", d)}'
 
-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)}'
+INITRAMFS_COMPRESSION = '${@kernel_version_less_or_equal("PV", "2.6.29", "", "CONFIG_INITRAMFS_COMPRESSION_LZMA=y", d)}'
+INITRAMFS_COMPRESSION_SUFFIX = '${@kernel_version_less_or_equal("PV", "2.6.29", "gz", "lzma", d)}'
+RD_COMPRESSION = '${@kernel_version_less_or_equal("PV", "2.6.29", "", "CONFIG_RD_LZMA=y", d)}'
 
 do_configure[depends] += "${INITRAMFS_IMAGE}:do_rootfs"
 





More information about the Openembedded-commits mailing list