Skip to content
Snippets Groups Projects
Commit ebeffcd6 authored by Michael Prokop's avatar Michael Prokop
Browse files

Inform user that lsinitramfs doesn't support cpio archives yet

Thanks: Javier Barroso <javibarroso@gmail.com> for the initial patch
Related-to: #717805
parent a5126cfe
No related branches found
No related tags found
No related merge requests found
......@@ -54,6 +54,9 @@ for initramfs in "$@" ; do
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" 2>/dev/null | grep -q "cpio archive" ; then
echo "lsinitramfs does not yet support cpio archive initramfs files." >&2
echo "See http://bugs.debian.org/717805 for more information." >&2
fi
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment