[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#971270: initramfs-tools: fix warning message



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


Reply to: