mirror of
https://git.yoctoproject.org/poky
synced 2026-04-20 11:28:58 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
3a8b73ffb8
commit
66fd6c4e92
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user