Hello community, here is the log from the commit of package powerpc-utils for openSUSE:Factory checked in at 2016-12-03 18:25:14 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/powerpc-utils (Old) and /work/SRC/openSUSE:Factory/.powerpc-utils.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "powerpc-utils" Changes: -------- --- /work/SRC/openSUSE:Factory/powerpc-utils/powerpc-utils.changes 2016-09-23 11:24:03.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.powerpc-utils.new/powerpc-utils.changes 2016-12-03 18:25:15.000000000 +0100 @@ -1,0 +2,5 @@ +Mon Nov 28 15:32:56 UTC 2016 - [email protected] + +- new powerpc-utils-ofpathname_no_infinit_loop.patch boo#1011529 + +------------------------------------------------------------------- New: ---- powerpc-utils-ofpathname_no_infinit_loop.patch ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ powerpc-utils.spec ++++++ --- /var/tmp/diff_new_pack.iTbxDj/_old 2016-12-03 18:25:17.000000000 +0100 +++ /var/tmp/diff_new_pack.iTbxDj/_new 2016-12-03 18:25:17.000000000 +0100 @@ -34,6 +34,7 @@ Patch6: powerpc-utils-Include_GPL_header.patch Patch7: powerpc-utils-lparstat_Fix_segfault_when_parsing_proc_interrupts.patch Patch8: powerpc-utils-lparstat_Ignore_whitespace_at_beginning_of_proc_interrupts_SPU_line.patch +Patch9: powerpc-utils-ofpathname_no_infinit_loop.patch BuildRequires: autoconf BuildRequires: automake BuildRequires: librtas-devel @@ -67,6 +68,7 @@ %patch6 -p1 %patch7 -p1 %patch8 -p1 +%patch9 -p1 %build autoreconf -fvi ++++++ powerpc-utils-ofpathname_no_infinit_loop.patch ++++++ From: Michel Normand <[email protected]> Subject: powerpc utils ofpathname no infinit loop Date: Thu, 24 Nov 2016 05:10:10 +0100 powerpc utils ofpathname no infinit loop as bypass for bug https://bugzilla.suse.com/show_bug.cgi?id=1011529 Signed-off-by: Michel Normand <[email protected]> --- scripts/ofpathname | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) Index: powerpc-utils-1.3.2/scripts/ofpathname =================================================================== --- powerpc-utils-1.3.2.orig/scripts/ofpathname +++ powerpc-utils-1.3.2/scripts/ofpathname @@ -409,7 +409,9 @@ print_aliases() get_slave() { cd /sys/class/*/$1 - while [[ -n "`ls slaves 2> /dev/null`" ]]; do cd slaves/*; done + while [[ -n "`ls slaves 2> /dev/null`" ]]; do + cd `echo slaves/* |head -n1 |cut -d " " -f1`; + done $FIND /dev -name "`basename $PWD`" }
