Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package s390-tools for openSUSE:Factory 
checked in at 2023-03-08 14:54:23
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/s390-tools (Old)
 and      /work/SRC/openSUSE:Factory/.s390-tools.new.31432 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "s390-tools"

Wed Mar  8 14:54:23 2023 rev:55 rq:1070179 version:2.25.0

Changes:
--------
--- /work/SRC/openSUSE:Factory/s390-tools/s390-tools.changes    2023-02-22 
15:21:46.381924743 +0100
+++ /work/SRC/openSUSE:Factory/.s390-tools.new.31432/s390-tools.changes 
2023-03-08 14:54:23.979272991 +0100
@@ -1,0 +2,7 @@
+Wed Mar  8 09:38:46 UTC 2023 - Nikolay Gueorguiev <nikolay.gueorgu...@suse.com>
+
+- Updated cputype (bsc#1208983)
+  * Changed the script to avoid "/usr/bin/cputype: line xx: nnnn: command not 
found",
+    when machine type was found more than once in the /proc/cpuinfo.
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ cputype ++++++
--- /var/tmp/diff_new_pack.lMFPQS/_old  2023-03-08 14:54:25.475281138 +0100
+++ /var/tmp/diff_new_pack.lMFPQS/_new  2023-03-08 14:54:25.479281159 +0100
@@ -2,7 +2,7 @@
 #
 # cputype
 #
-# Copyright (c) 2014-2017, 2019 SUSE LINUX GmbH, Nuernberg, Germany.
+# Copyright (c) 2014-2017, 2019, 2023 SUSE LINUX GmbH, Nuernberg, Germany.
 #
 # Based on the IBM machine model, returns a (hopefully) human understandable
 # string that identifies the processor.
@@ -25,7 +25,7 @@
   exit 1
 fi
 
-args=$(/usr/bin/grep machine /proc/cpuinfo | /usr/bin/cut -f2- -d: | 
/usr/bin/tr -d ' ' | /usr/bin/tr ',' ';' )
+args=$(/usr/bin/grep machine /proc/cpuinfo | awk '{print $11}' )
 
 if [ -z "${args}" ]; then
   echo "I couldn't find the machine type. Please report a bug with this 
output:" >&2
@@ -35,7 +35,7 @@
   exit 2
 fi
 
-eval ${args}
+machine=${args:0:4}
 
 if [ -z "${machine}" ] ; then
   echo "The machine type came out null. Please report a bug with this output:" 
>&2

Reply via email to