diff options
author | Marcello Sylvester Bauer <info@marcellobauer.com> | 2018-11-29 16:34:39 +0100 |
---|---|---|
committer | Philipp Deppenwiese <zaolin.daisuki@gmail.com> | 2018-11-30 10:24:40 +0000 |
commit | f1d6883a9988dd98d5a7142aabec6d25693bda8f (patch) | |
tree | d822c4c54482291f62bdcb520ddf3371dd8cec5a /payloads/external | |
parent | 94473afcd29e0f261c54bf2c6a6fc2619d51150b (diff) | |
download | coreboot-f1d6883a9988dd98d5a7142aabec6d25693bda8f.tar.xz |
LinuxBoot: fix initramfs xz compression
Add the flag '--check=crc32' to the xz compression to use CRC32 for the
integrity check. The linux kernel does not support CRC64 for integrity
checks, which is the default flag on most xz applications.
Change-Id: I738bd99ef22aa053dc198df5595e1878069de13e
Signed-off-by: Marcello Sylvester Bauer <info@marcellobauer.com>
Reviewed-on: https://review.coreboot.org/c/29935
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Philipp Deppenwiese <zaolin.daisuki@gmail.com>
Diffstat (limited to 'payloads/external')
-rw-r--r-- | payloads/external/LinuxBoot/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/payloads/external/LinuxBoot/Makefile b/payloads/external/LinuxBoot/Makefile index 80160956c0..a67b16ae70 100644 --- a/payloads/external/LinuxBoot/Makefile +++ b/payloads/external/LinuxBoot/Makefile @@ -39,7 +39,7 @@ endif initramfs_compressed: initramfs ifeq ($(CONFIG_LINUXBOOT_INITRAMFS_COMPRESSION_XZ),y) - xz --keep --force --lzma2=dict=1MiB $(top)/$(CONFIG_LINUXBOOT_INITRAMFS) + xz --keep --force --check=crc32 --lzma2=dict=1MiB $(top)/$(CONFIG_LINUXBOOT_INITRAMFS) endif ifeq ($(CONFIG_LINUXBOOT_COMPILE_KERNEL),y) |