Patrick Williams | b48b7b4 | 2016-08-17 15:04:38 -0500 | [diff] [blame^] | 1 | Both lmbench and util-linux-ng packages provide own /usr/bin/line binaries. |
| 2 | Even though the binaries name is the same, their functionality is different. |
| 3 | This patch renames lmbench's line binary as lm_line to avoid conflicts with |
| 4 | util-linux-ng. script/config-run is also modified (patch) to call lm_line |
| 5 | instead of line. |
| 6 | |
| 7 | Upstream-Status: Inappropriate [build system specific change] |
| 8 | |
| 9 | --- patches/scripts/config-run 2006-11-26 15:11:04.000000000 -0500 |
| 10 | +++ patches/scripts/config-run 2011-04-01 09:35:50.000000000 -0400 |
| 11 | @@ -224,7 +224,7 @@ fi |
| 12 | |
| 13 | echo "Hang on, we are calculating your cache line size." |
| 14 | ../bin/$OS/msleep 250 |
| 15 | -LINE_SIZE=`../bin/$OS/line -M ${MB}M` |
| 16 | +LINE_SIZE=`../bin/$OS/lm_line -M ${MB}M` |
| 17 | export LINE_SIZE |
| 18 | echo "OK, it looks like your cache line is $LINE_SIZE bytes." |
| 19 | echo "" |