diff options
author | Phil Blundell <pb@pbcl.net> | 2013-11-15 13:31:01 +0000 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-11-20 14:03:28 +0000 |
commit | 66fd6c4e92a8ace9b7a328bc413483bce746649c (patch) | |
tree | 0874affabd3d67c226a3e76aeb4ea3f7307d2994 /meta | |
parent | 3a8b73ffb8c8e9309b36dd721b1577dd9e707a1c (diff) | |
download | poky-66fd6c4e92a8ace9b7a328bc413483bce746649c.tar.gz |
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.
(From OE-Core rev: f7a04cbdee67675ff6a8787709f3a312dc25bfec)
Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r-- | meta/classes/kernel.bbclass | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/kernel.bbclass b/meta/classes/kernel.bbclass index 6959aa1614..ba13e6784d 100644 --- a/meta/classes/kernel.bbclass +++ b/meta/classes/kernel.bbclass | |||
@@ -103,7 +103,7 @@ copy_initramfs() { | |||
103 | ;; | 103 | ;; |
104 | *lzma) | 104 | *lzma) |
105 | echo "lzma decompressing image" | 105 | echo "lzma decompressing image" |
106 | lzmash -df ${B}/usr/${INITRAMFS_IMAGE}-${MACHINE}.$img | 106 | lzma -df ${B}/usr/${INITRAMFS_IMAGE}-${MACHINE}.$img |
107 | break | 107 | break |
108 | ;; | 108 | ;; |
109 | *xz) | 109 | *xz) |