From: Harald Hoyer Date: Mon, 12 Aug 2013 21:50:07 +0000 (+0200) Subject: lsinitrd.sh: fixed modules.txt path X-Git-Tag: 032~35 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=861d9430c08091d56a03c874cbd07187347d6605;p=platform%2Fupstream%2Fdracut.git lsinitrd.sh: fixed modules.txt path --- diff --git a/lsinitrd.sh b/lsinitrd.sh index faad99ac..584c29a9 100755 --- a/lsinitrd.sh +++ b/lsinitrd.sh @@ -137,7 +137,7 @@ else version=$($CAT -- "$image" | cpio --extract --verbose --quiet --to-stdout -- '*lib/dracut/dracut-*' 2>/dev/null) ((ret+=$?)) echo "$version with dracut modules:" - $CAT -- "$image" | cpio --extract --verbose --quiet --to-stdout -- 'usr/lib/dracut/modules.txt' 2>/dev/null + $CAT -- "$image" | cpio --extract --verbose --quiet --to-stdout -- '*lib/dracut/modules.txt' 2>/dev/null ((ret+=$?)) echo "========================================================================" if [ "$sorted" -eq 1 ]; then