]> code.ossystems Code Review - openembedded-core.git/commitdiff
kernel.bbclass: Use lzma not lzmash for decompressing
authorPhil Blundell <pb@pbcl.net>
Fri, 15 Nov 2013 13:31:01 +0000 (13:31 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 20 Nov 2013 14:02:56 +0000 (14:02 +0000)
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@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
meta/classes/kernel.bbclass

index 6959aa161401872a8c8616a960492297deb2f6ea..ba13e6784d2b8a59be4372347f8a5a83aae2d28b 100644 (file)
@@ -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)