Skip to content

Commit

Permalink
[PATCH] Adapt scripts/ver_linux to new util-linux version strings
Browse files Browse the repository at this point in the history
Tested with 2.12i and 2.13-pre2.

Signed-off-by: Alexey Dobriyan <[email protected]>
Signed-off-by: Andrew Morton <[email protected]>
Signed-off-by: Linus Torvalds <[email protected]>
  • Loading branch information
Alexey Dobriyan authored and Linus Torvalds committed Sep 7, 2005
1 parent e752dd6 commit 580b2e3
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions scripts/ver_linux
Original file line number Diff line number Diff line change
Expand Up @@ -25,9 +25,11 @@ ld -v | awk -F\) '{print $1}' | awk \
'/BFD/{print "binutils ",$NF} \
/^GNU/{print "binutils ",$4}'

fdformat --version | awk -F\- '{print "util-linux ", $NF}'
echo -n "util-linux "
fdformat --version | awk '{print $NF}' | sed -e s/^util-linux-// -e s/\)$//

mount --version | awk -F\- '{print "mount ", $NF}'
echo -n "mount "
mount --version | awk '{print $NF}' | sed -e s/^mount-// -e s/\)$//

depmod -V 2>&1 | awk 'NR==1 {print "module-init-tools ",$NF}'

Expand Down

0 comments on commit 580b2e3

Please sign in to comment.