[oe-commits] Phil Blundell : kernel.bbclass: Use lzma not lzmash for decompressing

git at git.openembedded.org git at git.openembedded.org
Thu Nov 21 15:30:28 UTC 2013


Module: openembedded-core.git
Branch: master-next
Commit: f7a04cbdee67675ff6a8787709f3a312dc25bfec
URL:    http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=f7a04cbdee67675ff6a8787709f3a312dc25bfec

Author: Phil Blundell <pb at pbcl.net>
Date:   Fri Nov 15 13:31:01 2013 +0000

kernel.bbclass: Use lzma not lzmash for decompressing

If kernel_do_compile() encounters a .lzma image for the initramfs, it
attempts to decompress it using the little-known "lzmash" utility.  This
may not be present, which will cause the build to fail.

Fortunately, it appears that the more mainstream "lzma" tool is
compatible so we can use that one instead.

Signed-off-by: Phil Blundell <philb at gnu.org>
Signed-off-by: Saul Wold <sgw at linux.intel.com>

---

 meta/classes/kernel.bbclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass
index 6959aa1..ba13e67 100644
--- a/meta/classes/kernel.bbclass
+++ b/meta/classes/kernel.bbclass
@@ -103,7 +103,7 @@ copy_initramfs() {
 				;;
 			*lzma)
 				echo "lzma decompressing image"
-				lzmash -df ${B}/usr/${INITRAMFS_IMAGE}-${MACHINE}.$img
+				lzma -df ${B}/usr/${INITRAMFS_IMAGE}-${MACHINE}.$img
 				break
 				;;
 			*xz)



More information about the Openembedded-commits mailing list