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

Bug#717805: Adding an advice about lsinitramfs is not working when hit this bug ?



Hello,

While the patch at 22 comment in this bug [1] is not accepted (can you
clarify why it is not accepted or applied?), I suggest adding an
advice to script.

Next patch could be useful for some of Debian Users:
--- lsinitramfs.orig    2014-03-25 21:55:07.704334678 +0100
+++ lsinitramfs    2014-03-25 23:08:06.132850281 +0100
@@ -54,7 +54,9 @@
             bzip2 -c -d "$initramfs" | cpio ${cpio_args}
         elif lzop -t "$initramfs" >/dev/null 2>&1 ; then
             lzop -c -d "$initramfs" | cpio ${cpio_args}
+        elif file "$initramfs" | grep -q "cpio archive" ; then
+            echo "This tool is not ready for not compressed initramfs
files." >&2
+            echo "See http://bugs.debian.org/717805 for more info"
         fi
-
     fi
 done

Thank you very much
[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=717805#22


Reply to: