Skip to content

Add zstdio support for booting Trixie kernels in Xen

Logan Gunthorpe via Grub-devel grub-devel 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest4 patches 1 replyIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4io: Implement zstdio decompressionMakefile.util.def grub-core/Makefile.core.def grub-core/io/zstdio.c +1 more+248 -20 replies
2/4tests/file_filter: Regenerate gpg keystests/file_filter/file.gz.sig tests/file_filter/file.lzop.sig tests/file_filter/file.xz.sig +2 more+0 -00 replies
3/4tests/file_filter: Add zstd test filetests/file_filter/file.zstd tests/file_filter/file.zstd.sig+0 -00 replies
4/4tests/file_filter: Add zstd teststests/file_filter/test.cfg tests/file_filter_test.in+6 -20 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/4] Add zstdio support for booting Trixie kernels in Xen

Debian has started compressing the kernel images in the Trixie release. This breaks booting xen kernels seeing grub has no support to decompress the zstd images[1][2].

To improve this situation, this patch series adds zstdio support in a way that's very similar to xzio. The first patch adds this support. The remaining patchs expand the file_filter tests so this functionality is covered.

Thanks,

Logan

--

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1102066
[2] https://www.mail-archive.com/[email protected]/msg41663.html

Logan Gunthorpe (4):
io: Implement zstdio decompression
tests/file_filter: Regenerate gpg keys
tests/file_filter: Add zstd test file
tests/file_filter: Add zstd tests

 Makefile.util.def               |   1 +
 grub-core/Makefile.core.def     |   9 +-
 grub-core/io/zstdio.c           | 237 ++++++++++++++++++++++++++++++++
 include/grub/file.h             |   3 +-
 tests/file_filter/file.gz.sig   | Bin 96 -> 310 bytes
 tests/file_filter/file.lzop.sig | Bin 96 -> 310 bytes
 tests/file_filter/file.xz.sig   | Bin 96 -> 310 bytes
 tests/file_filter/file.zstd     | Bin 0 -> 26 bytes
 tests/file_filter/file.zstd.sig | Bin 0 -> 310 bytes
 tests/file_filter/keys          | Bin 994 -> 1308 bytes
 tests/file_filter/keys.pub      | Bin 990 -> 657 bytes
 tests/file_filter/test.cfg      |   1 +
 tests/file_filter_test.in       |   7 +-
 13 files changed, 254 insertions(+), 4 deletions(-)
 create mode 100644 grub-core/io/zstdio.c
 create mode 100644 tests/file_filter/file.zstd
 create mode 100644 tests/file_filter/file.zstd.sig

base-commit: ee789e1a625a43b31e17f91a11d4cfb609bc4c52

Signature · 7 lines
2.47.3


_______________________________________________
Grub-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/grub-devel