Blame 0032-lsinitrd.sh-fixed-version-file-extraction.patch

Harald Hoyer 2d3fda
From a85ee030ab6b3b29833b10be6b83c89e8fc0c455 Mon Sep 17 00:00:00 2001
Harald Hoyer 2d3fda
From: Harald Hoyer <harald@redhat.com>
Harald Hoyer 2d3fda
Date: Tue, 3 Jul 2012 18:24:21 +0200
Harald Hoyer 2d3fda
Subject: [PATCH] lsinitrd.sh: fixed version file extraction
Harald Hoyer 2d3fda
Harald Hoyer 2d3fda
---
Harald Hoyer 2d3fda
 lsinitrd.sh |    2 +-
Harald Hoyer 2d3fda
 1 file changed, 1 insertion(+), 1 deletion(-)
Harald Hoyer 2d3fda
Harald Hoyer 2d3fda
diff --git a/lsinitrd.sh b/lsinitrd.sh
Harald Hoyer 2d3fda
index fc4b8b0..a844932 100755
Harald Hoyer 2d3fda
--- a/lsinitrd.sh
Harald Hoyer 2d3fda
+++ b/lsinitrd.sh
Harald Hoyer 2d3fda
@@ -65,7 +65,7 @@ fi
Harald Hoyer 2d3fda
 
Harald Hoyer 2d3fda
 echo "$image: $(du -h $image | while read a b; do echo $a;done)"
Harald Hoyer 2d3fda
 echo "========================================================================"
Harald Hoyer 2d3fda
-$CAT "$image" | cpio --extract --verbose --quiet --to-stdout 'lib/dracut/dracut-*' 2>/dev/null
Harald Hoyer 2d3fda
+$CAT "$image" | cpio --extract --verbose --quiet --to-stdout '*lib/dracut/dracut-*' 2>/dev/null
Harald Hoyer 2d3fda
 echo "========================================================================"
Harald Hoyer 2d3fda
 if [ "$sorted" -eq 1 ]; then
Harald Hoyer 2d3fda
     $CAT "$image" | cpio --extract --verbose --quiet --list | sort -n -k5