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:02:56 +0000 |
commit | f7a04cbdee67675ff6a8787709f3a312dc25bfec (patch) | |
tree | 5f303fa48cb82c74224b089c2a0e577fa0a9d483 /meta/classes | |
parent | e4cead9e97aecdc3d45910aca71eb1d9e9e9a2b6 (diff) | |
download | openembedded-core-f7a04cbdee67675ff6a8787709f3a312dc25bfec.tar.gz openembedded-core-f7a04cbdee67675ff6a8787709f3a312dc25bfec.tar.bz2 openembedded-core-f7a04cbdee67675ff6a8787709f3a312dc25bfec.zip |
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@gnu.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes')
-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() { ;; *lzma) echo "lzma decompressing image" - lzmash -df ${B}/usr/${INITRAMFS_IMAGE}-${MACHINE}.$img + lzma -df ${B}/usr/${INITRAMFS_IMAGE}-${MACHINE}.$img break ;; *xz) |