]> git.ipfire.org Git - thirdparty/dracut.git/commitdiff
lsinitrd: handle new output of "file" for XZ compressed images
authorHarald Hoyer <harald@redhat.com>
Thu, 19 May 2011 21:20:00 +0000 (23:20 +0200)
committerHarald Hoyer <harald@redhat.com>
Fri, 20 May 2011 13:17:31 +0000 (15:17 +0200)
lsinitrd

index de038fadef9f7d7726c4d89280bc778217c36dc3..3b9cc852d7b70f73bfd79d502d3338d3d748a661 100755 (executable)
--- a/lsinitrd
+++ b/lsinitrd
@@ -30,6 +30,8 @@ if [[ "$FILE_T" =~ ": gzip compressed data" ]]; then
     CAT=zcat
 elif [[ "$FILE_T" =~ ": xz compressed data" ]]; then
     CAT=xzcat
+elif [[ "$FILE_T" =~ ": XZ compressed data" ]]; then
+    CAT=xzcat
 elif [[ "$FILE_T" =~ ": data" ]]; then
     CAT=lzcat
 fi