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


Groups > linux.debian.kernel > #68285 > unrolled thread

Bug#971270: initramfs-tools: fix warning message

Started byFlorian La Roche <Florian.LaRoche@gmail.com>
First post2020-09-28 18:00 +0200
Last post2020-10-23 15:10 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.debian.kernel


Contents

  Bug#971270: initramfs-tools: fix warning message Florian La Roche <Florian.LaRoche@gmail.com> - 2020-09-28 18:00 +0200
    Bug#971270: Bug#972678: initramfs-tools: bad error message when zstd requested but not installed Metztli Information Technology <jose.r.r@metztli.com> - 2020-10-23 15:10 +0200

#68285 — Bug#971270: initramfs-tools: fix warning message

FromFlorian La Roche <Florian.LaRoche@gmail.com>
Date2020-09-28 18:00 +0200
SubjectBug#971270: initramfs-tools: fix warning message
Message-ID<AU3Jg-8rw-7@gated-at.bofh.it>
Package: initramfs-tools
Version: 0.139
Severity: normal
X-Debbugs-Cc: Florian.LaRoche@gmail.com

Dear Maintainer,

I've seen the following warning with current initramfs-tools from
Debian testing:
    No gzip in /usr/bin:/sbin:/bin, using gzip

Seems the warning is giving the wrong compress program name.

Here a patch to fix this:

--- mkinitramfs
+++ mkinitramfs
@@ -170,8 +170,8 @@
 unset COMPRESS

 if ! command -v "${compress}" >/dev/null 2>&1; then
-       compress=gzip
        echo "No ${compress} in ${PATH}, using gzip"
+       compress=gzip
 fi

 case "${compress}" in


best regards,
thanks for initramfs-tools to maintainers,

Florian La Roche

[toc] | [next] | [standalone]


#68428 — Bug#971270: Bug#972678: initramfs-tools: bad error message when zstd requested but not installed

FromMetztli Information Technology <jose.r.r@metztli.com>
Date2020-10-23 15:10 +0200
SubjectBug#971270: Bug#972678: initramfs-tools: bad error message when zstd requested but not installed
Message-ID<B34Zs-7RY-9@gated-at.bofh.it>
In reply to#68285
On Thu, Oct 22, 2020 at 8:06 AM Florian La Roche <florian.laroche@googlemail.com> wrote:
>
> Hello Russel Coker,
>
> a fix is in https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=971270
>
> best regards, greetings to you Russell,
>
> Florian La Roche
>

Tested your patch on initramfs-tools 0.139 -- which conf/initramfs.conf was modified to default to Zstd -- on an VirtualBox 6.1.16 Debian instance without Zstd package installed.

< https://metztli.blog/media/blogs/ixiptli/139-with-non-existing-zstd-package.png?mtime=1603447297 >

It fulfilled its intended purpose. Thank you, as well!

Best Professional Regards.


-- 
Jose R R
http://metztli.it
---------------------------------------------------------------------------------------------
Download Metztli Reiser4: Debian Buster w/ Linux 5.7.19 AMD64
---------------------------------------------------------------------------------------------
feats ZSTD compression https://sf.net/projects/metztli-reiser4/
-------------------------------------------------------------------------------------------
Official current Reiser4 resources: https://reiser4.wiki.kernel.org/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.debian.kernel


csiph-web