summaryrefslogtreecommitdiff
path: root/package/ltp/patches/patch-ver_linux
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2017-10-05 20:03:46 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2017-10-05 20:03:46 +0200
commit6473d101da4e151ef09d27fb86c086dc8482736f (patch)
tree0f9c9bbc6058ef7739933c5323624067bf76baab /package/ltp/patches/patch-ver_linux
parentff7300738603120d353c8398c4b911d813393522 (diff)
ltp: update to 20170929
Diffstat (limited to 'package/ltp/patches/patch-ver_linux')
-rw-r--r--package/ltp/patches/patch-ver_linux45
1 files changed, 28 insertions, 17 deletions
diff --git a/package/ltp/patches/patch-ver_linux b/package/ltp/patches/patch-ver_linux
index f1856a367..736036730 100644
--- a/package/ltp/patches/patch-ver_linux
+++ b/package/ltp/patches/patch-ver_linux
@@ -1,16 +1,15 @@
---- ltp-full-20140422.orig/ver_linux 2014-04-23 10:37:00.000000000 +0200
-+++ ltp-full-20140422/ver_linux 2014-07-10 23:24:06.016401603 +0200
-@@ -5,9 +5,6 @@
- # differ on your system.
- #
- PATH=/sbin:/usr/sbin:/bin:/usr/bin:$PATH
--echo 'If some fields are empty or look unusual you may have an old version.'
--echo 'Compare to the current minimal requirements in Documentation/Changes.'
--echo ' '
+--- ltp-full-20170929.orig/ver_linux 2017-09-29 17:11:55.000000000 +0200
++++ ltp-full-20170929/ver_linux 2017-10-05 19:42:02.235455965 +0200
+@@ -9,84 +9,9 @@ echo 'If some fields are empty or look u
+ echo 'Compare to the current minimal requirements in Documentation/Changes.'
+ echo ' '
- cat /etc/*release 2> /dev/null
- if [ $? = 1 ]; then
-@@ -18,62 +15,7 @@ fi
+-cat /etc/*release 2> /dev/null
+-if [ $? = 1 ]; then
+- echo '/etc/issue:'
+- cat /etc/issue 2> /dev/null
+-fi
+-
uname -a
echo ' '
@@ -59,7 +58,10 @@
-'NR==1{print "Net-tools ", $NF}'
-
-ip -V 2>&1 | awk \
--'NR==1{print "iproute2 ", $NF}'
+-'NR==1{print "iproute2 ", $NF}'
+-
+-ping -V 2>&1 | awk \
+-'NR==1{print "iputils ", $NF}'
-
-# Kbd needs 'loadkeys -h',
-loadkeys -h 2>&1 | awk \
@@ -70,7 +72,16 @@
-'(NR==1 && ($2 ~ /console-tools/)) {print "Console-tools ", $3}'
-
-expr --v 2>&1 | awk 'NR==1{print "Sh-utils ", $NF}'
-+busybox -v
-
- if [ -e /proc/modules ]; then
- X=`cat /proc/modules | sed -e "s/ .*$//"`
+-
+-if [ -e /proc/modules ]; then
+- X=`cat /proc/modules | sed -e "s/ .*$//"`
+- echo "Modules Loaded "$X
+-fi
+-
+-echo
+-echo 'free reports:'
+-free
+-
+ echo
+ echo '/proc/cpuinfo'
+ cat /proc/cpuinfo