Starting with the 5.15.x kernel releases, kernel.org now uses zstd compression in the .deb packages the make bindeb-pkg creates. Debian added zstd compression support three years ago but for some reason the most current mxlinux-21 still does not support it. I stand corrected, it was Ubuntu that added support three years ago, had to do the same build on debian but did so long ago forgot about it.
I added it myself and tested by taking the source from https://github.com/guillemj/dpkg.git (git clone https://github.com/guillemj/dpkg.git which creates a source directory dpkg), cd'ing to that directory and applying a patch I found at https://bugs.debian.org/cgi-bin/bugrepo ... atch;msg=5 using the command patch -p1 -t -c < ../0001-dpkg-Add-Zstandard-compression-support.patch where the patch file was in the parent directory, then ./configure with the appropriate -with-zstd (as well as other compression libs), make, and make install and now my mxlinux-21 system properly handles zst compression.
I know that MxLinux is the we hate not invented here Linux but some of us for reasons of custom hardware requiring third party drivers or kernel modifications need the ability to install upstream kernels. Given the triviality of building the package with zstd installed, I'm hoping the developers might see fit to make this standard.
Please add support for zstd compression to dpkg
-
- Posts: 3602
- Joined: Tue Jun 14, 2016 2:02 pm
Re: Please add support for zstd compression to dpkg
We don’t have our own dpkg package, we use the upstream one from Debian, so there should be no difference at all.
Edit: I see you edited your post to say Ubuntu rather than Debian.
So the question would be then, is there a reason this specific patch hasn’t been added to Debian yet if it’s 3 years old?
Edit: I see you edited your post to say Ubuntu rather than Debian.
So the question would be then, is there a reason this specific patch hasn’t been added to Debian yet if it’s 3 years old?
NEW USERS START HERE FAQS, MX Manual, and How to Break Your System - Don't use Ubuntu PPAs! Always post your Quick System Info (QSI) when asking for help.