Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.bugs.dist > #1020050

Bug#955469: initramfs-tools-core: Enable zstandard support

From Sedat Dilek <sedat.dilek@gmail.com>
Newsgroups linux.debian.bugs.dist, linux.debian.kernel
Subject Bug#955469: initramfs-tools-core: Enable zstandard support
Date 2020-08-01 14:30 +0200
Message-ID <AyYOd-7Vc-1@gated-at.bofh.it> (permalink)
References <zQJ6x-8kv-1@gated-at.bofh.it> <AyEFQ-3fA-7@gated-at.bofh.it> <AyLQZ-7Dn-9@gated-at.bofh.it> <zQFFE-6oS-1@gated-at.bofh.it> <AyLQZ-7Dn-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Cross-posted to 2 groups.

Show all headers | View raw


On Sat, Aug 1, 2020 at 12:27 AM Norbert Lange <nolange79@gmail.com> wrote:
>
> Am Fr., 31. Juli 2020 um 16:48 Uhr schrieb Sedat Dilek <sedat.dilek@gmail.com>:
> >
> > Just FYI:
> >
> > Version 10 was now accepted in <tip.git#x86/boot>.
> >
> > Let's hope this will get into upcoming Linux v5.9.
> >
> > - Sedat -
> >
> > [1] https://github.com/terrelln/linux/commits/zstd-v10
> > [2] https://git.kernel.org/pub/scm/linux/kernel/git/tip/tip.git/log/?h=x86/boot
>
> Thanks,
>
> I updated the patch, and made a merge request there:
> https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests
>

Hi Norbert,

Thank you, too.

You mean [1]?

[ mkinitramfs ]

+zstd) compress="zstd -q -19 -T0" ;;

From my kernel build-log:

{ cat arch/x86/boot/compressed/vmlinux.bin
arch/x86/boot/compressed/vmlinux.relocs | zstd -22 --ultra; printf
\014\015\315\001; } > arch/x86/boot/compressed/vmlinux.bin.zst

Thus I have analog here:

root# diff -uprN /usr/sbin/mkinitramfs.orig /usr/sbin/mkinitramfs
--- /usr/sbin/mkinitramfs.orig  2020-04-28 05:56:17.000000000 +0200
+++ /usr/sbin/mkinitramfs       2020-07-09 10:35:35.119280519 +0200
@@ -189,6 +189,7 @@ xz) compress="xz --check=crc32"
        # If we're not doing a reproducible build, enable multithreading
        test -z "${SOURCE_DATE_EPOCH}" && compress="$compress --threads=0"
        ;;
+zstd)  compress="zstd -22 --ultra -v" ;;
 bzip2|lzma|lzop)
        # no parameters needed
        ;;

Regards,
- Sedat -


[1] https://salsa.debian.org/kernel-team/initramfs-tools/-/merge_requests/33/diffs?commit_id=e94f410c71e90598b4fabca3970c7f282b5bd0a0

Back to linux.debian.bugs.dist | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Bug#955469: initramfs-tools-core: Enable zstandard support Sedat Dilek <sedat.dilek@gmail.com> - 2020-07-31 17:00 +0200
  Bug#955469: initramfs-tools-core: Enable zstandard support Norbert Lange <nolange79@gmail.com> - 2020-08-01 00:40 +0200
    Bug#955469: initramfs-tools-core: Enable zstandard support Sedat Dilek <sedat.dilek@gmail.com> - 2020-08-01 14:30 +0200
      Bug#955469: initramfs-tools-core: Enable zstandard support Sedat Dilek <sedat.dilek@gmail.com> - 2020-08-04 09:40 +0200

csiph-web