Browse Source

lsinitrd.sh: fixed version file extraction

master
Harald Hoyer 12 years ago
parent
commit
a85ee030ab
  1. 2
      lsinitrd.sh

2
lsinitrd.sh

@ -65,7 +65,7 @@ fi @@ -65,7 +65,7 @@ fi

echo "$image: $(du -h $image | while read a b; do echo $a;done)"
echo "========================================================================"
$CAT "$image" | cpio --extract --verbose --quiet --to-stdout 'lib/dracut/dracut-*' 2>/dev/null
$CAT "$image" | cpio --extract --verbose --quiet --to-stdout '*lib/dracut/dracut-*' 2>/dev/null
echo "========================================================================"
if [ "$sorted" -eq 1 ]; then
$CAT "$image" | cpio --extract --verbose --quiet --list | sort -n -k5

Loading…
Cancel
Save