Hello community,
here is the log from the commit of package powerpc-utils for openSUSE:Factory
checked in at Sat Jan 15 01:57:09 CET 2011.
--------
--- powerpc-utils/powerpc-utils.changes 2008-12-16 09:19:40.000000000 +0100
+++ powerpc-utils/powerpc-utils.changes 2011-01-11 13:41:58.000000000 +0100
@@ -1,0 +2,86 @@
+Tue Jan 11 12:24:39 UTC 2011 - dvaleev@novell.com
+
+Changes in 1.2.6 version:
+
+- Introduce the lsdevinfo utility. This command is used to provide the HMC
+ or IVM with name information for virtual devices so they can be
+ matched against the VIOS names.
+
+- The OpenFirmware binding for Fibre Channel devices permits any leading
+ zeros in the LUN field to be stripped, but does not require it. Fix
+ ofpathname to handle this case when translating OF pathname to logical
+ device name.
+
+- According to PAPR, we need to call activate-firmware after a migration,
+ which we weren't doing. Add this call after updating the device tree.
+
+- Add another device tree update call after it to ensure the SLB size is
+ correctly updated in the kernel.
+
+- The ppc64_cpu command needs to properly turn off the smt snooze delay.
+ The current code does not handle the option 'off', it should as this
+ is regarded as a delay of -1.
+
+- The /usr/sbin/rsct/bin/refrsrc command forces a refresh of the HMC/IVM
+ and RMC status after a migration occurs. We should do this from the
+ drmgr command instead of assuming servicelog is installed. A failure
+ to invoke this command can cause additional migrations to be delayed
+ for up to 10 minutes while the framework refreshes itself.
+
+- This is really more of a re-write than an update. The ppc64_cpu command
+ is being ported from Perl to C to support new functionality. This
+ update introduces two new pieces of functionality to the command.
+
+- New amsstat command. amsstat - display a list of Active Memory Sharing (AMS)
+ statistics.
+
+- Update the find command in get_vfc_wwpn() to handle being passed a
+ symbolic link. Previously this lead to an infinite loop due to the
+ possible circular nature of sysfs.
+
+- Change the name format for vio devices and correct indentation.
+
+- The sysfs_dev_path member of the dr_node struct is a char[] and needs to
+ be treated as such. this fixes a bug where the sysfs_dev_path is
+ treated as a char * and returning invalid info when the buffer is
+ actually empty.
+
+- Cpu add failures need to return 1 instead of -1. A return code of -1
+ causes the IVM to think there has been a really bad error and the IVM
+ will wait 15 minutes prior to re-trying the operation.
+
+- Logical device name to open firmware path translation for fibre-channel
+ devices can fail on systems where the fc_remote_ports file in sysfs
+ has a slightly different name. On some systems this file appears as
+ fc_remote_ports:rport-X:Y-Z. This patch corrects the lookup of this
+ file.
+
+- The logic in get_node_by_name() currently does not return when it finds a
+ child with the name being search for. This would mean that a command
+ such as `drmgr -Q -c port -s "Port 1" -w 0 -d 3` would always return:
+ drmgr: Port 1 not owned by partition
+
+- DR commands shouldn't take long to complete, but having both an entry and
+ exit timestamp eliminates the guessing and can point people in the
+ correct direction while they debug issues.
+
+-------------------------------------------------------------------
+Mon Jan 3 12:05:22 UTC 2011 - dvaleev@novell.com
+
+- move %post to %install
+
+-------------------------------------------------------------------
+Wed Dec 29 18:18:59 UTC 2010 - dvaleev@novell.com
+
+- as-needed fix
+
+-------------------------------------------------------------------
+Thu Dec 23 17:12:21 UTC 2010 - dvaleev@novell.com
+
+- update to version 1.2.6
+
+- drop unneeded patches
+
+- papr sources merged to main tree upstream
+
+-------------------------------------------------------------------
calling whatdependson for head-i586
Old:
----
powerpc-utils-1.1.1.tar.bz2
powerpc-utils-nvsetenv.patch
powerpc-utils-papr-1.1.3.tar.bz2
powerpc-utils-papr.drmgr-phandle.patch
powerpc-utils-papr.drmgr-symlinks.patch
powerpc-utils-papr.drmgs_mem_rm.patch
powerpc-utils-papr.insserv-ibmvscsis.patch
powerpc-utils-papr.no_sysfs_hp_path.patch
powerpc-utils-papr.open-flag.patch
powerpc-utils.ofpathname.show_of_path.patch
New:
----
Makefile.patch
powerpc-utils-1.2.6.tar.bz2
powerpc-utils.insserv-ibmvscsis.patch
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Other differences:
------------------
++++++ powerpc-utils.spec ++++++
--- /var/tmp/diff_new_pack.XLg2Vi/_old 2011-01-15 01:52:50.000000000 +0100
+++ /var/tmp/diff_new_pack.XLg2Vi/_new 2011-01-15 01:52:50.000000000 +0100
@@ -1,7 +1,7 @@
#
-# spec file for package powerpc-utils (Version 1.1.1)
+# spec file for package powerpc-utils
#
-# Copyright (c) 2008 SUSE LINUX Products GmbH, Nuernberg, Germany.
+# Copyright (c) 2011 SUSE LINUX Products GmbH, Nuernberg, Germany.
#
# All modifications and additions to the file contributed by third parties
# remain the property of their copyright owners, unless otherwise agreed
@@ -27,34 +27,23 @@
Obsoletes: powerpc-utils-papr
Obsoletes: ppc64-utils
Provides: ppc64-utils
-Version: 1.1.1
-Release: 10
-License: IBM Public License
-Url: http://powerpc-utils.ozlabs.org/
+Version: 1.2.6
+Release: 1
+License: IBM PL
+Url: http://sourceforge.net/projects/powerpc-utils
Group: System/Management
Summary: Utilities for PowerPC Hardware
PreReq: %insserv_prereq %fillup_prereq
BuildRoot: %{_tmppath}/%{name}-%{version}-build
-%define papr_version 1.1.3
Source0: powerpc-utils-%{version}.tar.bz2
-Source1: powerpc-utils-papr-%{papr_version}.tar.bz2
-Patch0: powerpc-utils-nvsetenv.patch
+Patch0: Makefile.patch
Patch1: powerpc-utils-lsprop.patch
-Patch2: powerpc-utils.ofpathname.show_of_path.patch
Patch3: powerpc-utils.ofpathname.bootlist.patch
-Patch100: powerpc-utils-papr.open-flag.patch
-Patch101: powerpc-utils-papr.insserv-ibmvscsis.patch
-Patch102: powerpc-utils-papr.drmgs_mem_rm.patch
-Patch103: powerpc-utils-papr.drmgr-symlinks.patch
-Patch104: powerpc-utils-papr.drmgr-phandle.patch
-Patch105: powerpc-utils-papr.no_sysfs_hp_path.patch
+Patch101: powerpc-utils.insserv-ibmvscsis.patch
ExclusiveArch: ppc ppc64
%description
-IBM PPC64 hardware utilities for accessing NVRAM, flashing firmware,
-configuring an VSCSI server, other maintenance related utilities.
-lsprop to dump the /proc/device-tree contents in human readable form.
-
+The powerpc-utils package provides a set of tools and utilities and utilities for maintaining and enabling certain features of Linux on Power.
Authors:
@@ -63,24 +52,15 @@
Michael Strosaker
%prep
-%setup -q -a 1
+%setup -q
%patch0 -p1
%patch1 -p1
-%patch2 -p1
%patch3 -p1
-cd powerpc-utils-papr-%{papr_version}
-%patch100 -p1
%patch101 -p1
-%patch102 -p1
-%patch103 -p1
-%patch104 -p1
-%patch105 -p1
%build
+%configure
make CFLAGS="$RPM_OPT_FLAGS" %{?jobs:-j%jobs}
-cd powerpc-utils-papr-%{papr_version}
-make CFLAGS="$RPM_OPT_FLAGS" %{?jobs:-j%jobs}
-cd ..
%install
make install \
@@ -88,25 +68,30 @@
rasdir=/usr/sbin \
mandir=%{_mandir}
mkdir $RPM_BUILD_ROOT/sbin
-mv $RPM_BUILD_ROOT/usr/sbin/{lsprop,nvsetenv} $RPM_BUILD_ROOT/sbin
-cd powerpc-utils-papr-%{papr_version}
-make install \
- DESTDIR=$RPM_BUILD_ROOT \
- rasdir=/usr/sbin \
- mandir=%{_mandir}
-mv README ../README.papr
-cd ..
-rm -rf $RPM_BUILD_ROOT/usr/share/doc/packages
+mv $RPM_BUILD_ROOT/usr/sbin/lsprop $RPM_BUILD_ROOT/sbin
+ln -sf /usr/sbin/usysattn $RPM_BUILD_ROOT/usr/sbin/usysfault
+ln -sf /usr/sbin/serv_config $RPM_BUILD_ROOT/usr/sbin/uspchrp
+ln -sf /usr/share/man/man8/usysattn.8 $RPM_BUILD_ROOT/usr/share/man/man8/usysfault.8
+ln -sf /usr/share/man/man8/serv_config.8 $RPM_BUILD_ROOT/usr/share/man/man8/uspchrp.8
+ln -sf /usr/sbin/drmgr $RPM_BUILD_ROOT/usr/sbin/drslot_chrp_slot
+ln -sf /usr/sbin/drmgr $RPM_BUILD_ROOT/usr/sbin/drslot_chrp_pci
+ln -sf /usr/sbin/drmgr $RPM_BUILD_ROOT/usr/sbin/drslot_chrp_cpu
+ln -sf /usr/sbin/drmgr $RPM_BUILD_ROOT/usr/sbin/drslot_chrp_phb
+ln -sf /usr/sbin/drmgr $RPM_BUILD_ROOT/usr/sbin/drslot_chrp_mem
+ln -sf /usr/sbin/drmgr $RPM_BUILD_ROOT/usr/sbin/drslot_chrp_hea
+ln -sf /usr/sbin/drmgr $RPM_BUILD_ROOT/usr/sbin/drmig_chrp_pmig
%clean
rm -rf $RPM_BUILD_ROOT
%files
-%defattr(444, root, root,555)
-%doc README README.papr COPYRIGHT
+%defattr(-,root,root)
+%doc README COPYRIGHT
%{_mandir}/man*/*
-%attr (755,root,root) /*bin/*
-%attr (755,root,root) /usr/*bin/*
+%{_sbindir}/*
+%{_bindir}/*
+/sbin/lsprop
+
%config %attr (755,root,root) /etc/init.d/ibmvscsis.sh
%changelog
++++++ Makefile.patch ++++++
--- powerpc-utils-1.2.6.orig/src/Makefile.in 2010-12-16 17:50:06.000000000 +0100
+++ powerpc-utils-1.2.6/src/Makefile.in 2010-12-29 18:51:01.000000000 +0100
@@ -51,62 +51,52 @@
activate_firmware_OBJECTS = $(am_activate_firmware_OBJECTS)
activate_firmware_LDADD = $(LDADD)
activate_firmware_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(activate_firmware_LDFLAGS) $(LDFLAGS) -o $@
+ -o $@
am_lsprop_OBJECTS = lsprop.$(OBJEXT)
lsprop_OBJECTS = $(am_lsprop_OBJECTS)
lsprop_LDADD = $(LDADD)
am_nvram_OBJECTS = nvram.$(OBJEXT)
nvram_OBJECTS = $(am_nvram_OBJECTS)
nvram_LDADD = $(LDADD)
-nvram_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(nvram_LDFLAGS) \
- $(LDFLAGS) -o $@
+nvram_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) -o $@
am_ppc64_cpu_OBJECTS = ppc64_cpu.$(OBJEXT) librtas_error.$(OBJEXT)
ppc64_cpu_OBJECTS = $(am_ppc64_cpu_OBJECTS)
ppc64_cpu_LDADD = $(LDADD)
-ppc64_cpu_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(ppc64_cpu_LDFLAGS) \
- $(LDFLAGS) -o $@
+ppc64_cpu_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) -o $@
am_rtas_event_decode_OBJECTS = rtas_event_decode.$(OBJEXT)
rtas_event_decode_OBJECTS = $(am_rtas_event_decode_OBJECTS)
rtas_event_decode_LDADD = $(LDADD)
-rtas_event_decode_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(rtas_event_decode_LDFLAGS) $(LDFLAGS) -o $@
+rtas_event_decode_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) -o $@
am_rtas_ibm_get_vpd_OBJECTS = rtas_ibm_get_vpd.$(OBJEXT) \
librtas_error.$(OBJEXT)
rtas_ibm_get_vpd_OBJECTS = $(am_rtas_ibm_get_vpd_OBJECTS)
rtas_ibm_get_vpd_LDADD = $(LDADD)
-rtas_ibm_get_vpd_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(rtas_ibm_get_vpd_LDFLAGS) $(LDFLAGS) -o $@
+rtas_ibm_get_vpd_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) -o $@
am_serv_config_OBJECTS = serv_config.$(OBJEXT) librtas_error.$(OBJEXT)
serv_config_OBJECTS = $(am_serv_config_OBJECTS)
serv_config_LDADD = $(LDADD)
-serv_config_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(serv_config_LDFLAGS) $(LDFLAGS) -o $@
+serv_config_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) -o $@
am_set_poweron_time_OBJECTS = set_poweron_time.$(OBJEXT) \
librtas_error.$(OBJEXT)
set_poweron_time_OBJECTS = $(am_set_poweron_time_OBJECTS)
set_poweron_time_LDADD = $(LDADD)
-set_poweron_time_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
- $(set_poweron_time_LDFLAGS) $(LDFLAGS) -o $@
+set_poweron_time_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) -o $@
am_sys_ident_OBJECTS = sys_ident.$(OBJEXT)
sys_ident_OBJECTS = $(am_sys_ident_OBJECTS)
sys_ident_LDADD = $(LDADD)
-sys_ident_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(sys_ident_LDFLAGS) \
- $(LDFLAGS) -o $@
+sys_ident_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) -o $@
am_uesensor_OBJECTS = uesensor.$(OBJEXT) librtas_error.$(OBJEXT)
uesensor_OBJECTS = $(am_uesensor_OBJECTS)
uesensor_LDADD = $(LDADD)
-uesensor_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(uesensor_LDFLAGS) \
- $(LDFLAGS) -o $@
+uesensor_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) -o $@
am_usysattn_OBJECTS = usysident.$(OBJEXT) librtas_error.$(OBJEXT)
usysattn_OBJECTS = $(am_usysattn_OBJECTS)
usysattn_LDADD = $(LDADD)
-usysattn_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(usysattn_LDFLAGS) \
- $(LDFLAGS) -o $@
+usysattn_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) -o $@
am_usysident_OBJECTS = usysident.$(OBJEXT) librtas_error.$(OBJEXT)
usysident_OBJECTS = $(am_usysident_OBJECTS)
usysident_LDADD = $(LDADD)
-usysident_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(usysident_LDFLAGS) \
- $(LDFLAGS) -o $@
+usysident_LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) -o $@
DEFAULT_INCLUDES = -I.@am__isrc@
depcomp = $(SHELL) $(top_srcdir)/build-aux/depcomp
am__depfiles_maybe = depfiles
@@ -308,40 +298,40 @@
-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
activate_firmware$(EXEEXT): $(activate_firmware_OBJECTS) $(activate_firmware_DEPENDENCIES)
@rm -f activate_firmware$(EXEEXT)
- $(activate_firmware_LINK) $(activate_firmware_OBJECTS) $(activate_firmware_LDADD) $(LIBS)
+ $(activate_firmware_LINK) $(activate_firmware_OBJECTS) $(activate_firmware_LDADD) $(LIBS) $(activate_firmware_LDFLAGS) $(LDFLAGS)
lsprop$(EXEEXT): $(lsprop_OBJECTS) $(lsprop_DEPENDENCIES)
@rm -f lsprop$(EXEEXT)
$(LINK) $(lsprop_OBJECTS) $(lsprop_LDADD) $(LIBS)
nvram$(EXEEXT): $(nvram_OBJECTS) $(nvram_DEPENDENCIES)
@rm -f nvram$(EXEEXT)
- $(nvram_LINK) $(nvram_OBJECTS) $(nvram_LDADD) $(LIBS)
+ $(nvram_LINK) $(nvram_OBJECTS) $(nvram_LDADD) $(LIBS) $(nvram_LDFLAGS) $(LDFLAGS)
ppc64_cpu$(EXEEXT): $(ppc64_cpu_OBJECTS) $(ppc64_cpu_DEPENDENCIES)
@rm -f ppc64_cpu$(EXEEXT)
- $(ppc64_cpu_LINK) $(ppc64_cpu_OBJECTS) $(ppc64_cpu_LDADD) $(LIBS)
+ $(ppc64_cpu_LINK) $(ppc64_cpu_OBJECTS) $(ppc64_cpu_LDADD) $(LIBS) $(ppc64_cpu_LDFLAGS) $(LDFLAGS)
rtas_event_decode$(EXEEXT): $(rtas_event_decode_OBJECTS) $(rtas_event_decode_DEPENDENCIES)
@rm -f rtas_event_decode$(EXEEXT)
- $(rtas_event_decode_LINK) $(rtas_event_decode_OBJECTS) $(rtas_event_decode_LDADD) $(LIBS)
+ $(rtas_event_decode_LINK) $(rtas_event_decode_OBJECTS) $(rtas_event_decode_LDADD) $(LIBS) $(rtas_event_decode_LDFLAGS) $(LDFLAGS)
rtas_ibm_get_vpd$(EXEEXT): $(rtas_ibm_get_vpd_OBJECTS) $(rtas_ibm_get_vpd_DEPENDENCIES)
@rm -f rtas_ibm_get_vpd$(EXEEXT)
- $(rtas_ibm_get_vpd_LINK) $(rtas_ibm_get_vpd_OBJECTS) $(rtas_ibm_get_vpd_LDADD) $(LIBS)
+ $(rtas_ibm_get_vpd_LINK) $(rtas_ibm_get_vpd_OBJECTS) $(rtas_ibm_get_vpd_LDADD) $(LIBS) $(rtas_ibm_get_vpd_LDFLAGS) $(LDFLAGS)
serv_config$(EXEEXT): $(serv_config_OBJECTS) $(serv_config_DEPENDENCIES)
@rm -f serv_config$(EXEEXT)
- $(serv_config_LINK) $(serv_config_OBJECTS) $(serv_config_LDADD) $(LIBS)
+ $(serv_config_LINK) $(serv_config_OBJECTS) $(serv_config_LDADD) $(LIBS) $(serv_config_LDFLAGS) $(LDFLAGS)
set_poweron_time$(EXEEXT): $(set_poweron_time_OBJECTS) $(set_poweron_time_DEPENDENCIES)
@rm -f set_poweron_time$(EXEEXT)
- $(set_poweron_time_LINK) $(set_poweron_time_OBJECTS) $(set_poweron_time_LDADD) $(LIBS)
+ $(set_poweron_time_LINK) $(set_poweron_time_OBJECTS) $(set_poweron_time_LDADD) $(LIBS) $(set_poweron_time_LDFLAGS) $(LDFLAGS)
sys_ident$(EXEEXT): $(sys_ident_OBJECTS) $(sys_ident_DEPENDENCIES)
@rm -f sys_ident$(EXEEXT)
- $(sys_ident_LINK) $(sys_ident_OBJECTS) $(sys_ident_LDADD) $(LIBS)
+ $(sys_ident_LINK) $(sys_ident_OBJECTS) $(sys_ident_LDADD) $(LIBS) $(LDFLAGS) $(sys_ident_LDFLAGS)
uesensor$(EXEEXT): $(uesensor_OBJECTS) $(uesensor_DEPENDENCIES)
@rm -f uesensor$(EXEEXT)
- $(uesensor_LINK) $(uesensor_OBJECTS) $(uesensor_LDADD) $(LIBS)
+ $(uesensor_LINK) $(uesensor_OBJECTS) $(uesensor_LDADD) $(LIBS) $(LDFLAGS) $(uesensor_LDFLAGS)
usysattn$(EXEEXT): $(usysattn_OBJECTS) $(usysattn_DEPENDENCIES)
@rm -f usysattn$(EXEEXT)
- $(usysattn_LINK) $(usysattn_OBJECTS) $(usysattn_LDADD) $(LIBS)
+ $(usysattn_LINK) $(usysattn_OBJECTS) $(usysattn_LDADD) $(LIBS) $(LDFLAGS) $(usysattn_LDFLAGS)
usysident$(EXEEXT): $(usysident_OBJECTS) $(usysident_DEPENDENCIES)
@rm -f usysident$(EXEEXT)
- $(usysident_LINK) $(usysident_OBJECTS) $(usysident_LDADD) $(LIBS)
+ $(usysident_LINK) $(usysident_OBJECTS) $(usysident_LDADD) $(LIBS) $(LDFLAGS) $(usysident_LDFLAGS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
--- powerpc-utils-1.2.6.orig/src/drmgr/Makefile.in 2010-12-16 17:50:06.000000000 +0100
+++ powerpc-utils-1.2.6/src/drmgr/Makefile.in 2010-12-29 18:26:48.000000000 +0100
@@ -62,7 +62,7 @@
COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
$(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
CCLD = $(CC)
-LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) -o $@
SOURCES = $(drmgr_SOURCES) $(lsslot_SOURCES)
DIST_SOURCES = $(drmgr_SOURCES) $(lsslot_SOURCES)
ETAGS = etags
@@ -223,10 +223,10 @@
-test -z "$(sbin_PROGRAMS)" || rm -f $(sbin_PROGRAMS)
drmgr$(EXEEXT): $(drmgr_OBJECTS) $(drmgr_DEPENDENCIES)
@rm -f drmgr$(EXEEXT)
- $(LINK) $(drmgr_OBJECTS) $(drmgr_LDADD) $(LIBS)
+ $(LINK) $(drmgr_OBJECTS) $(drmgr_LDADD) $(LIBS) $(AM_LDFLAGS) $(LDFLAGS)
lsslot$(EXEEXT): $(lsslot_OBJECTS) $(lsslot_DEPENDENCIES)
@rm -f lsslot$(EXEEXT)
- $(LINK) $(lsslot_OBJECTS) $(lsslot_LDADD) $(LIBS)
+ $(LINK) $(lsslot_OBJECTS) $(lsslot_LDADD) $(LIBS) $(AM_LDFLAGS) $(LDFLAGS)
mostlyclean-compile:
-rm -f *.$(OBJEXT)
++++++ powerpc-utils-1.1.1.tar.bz2 -> powerpc-utils-1.2.6.tar.bz2 ++++++
++++ 50984 lines of diff (skipped)
++++++ powerpc-utils-lsprop.patch ++++++
--- /var/tmp/diff_new_pack.XLg2Vi/_old 2011-01-15 01:52:50.000000000 +0100
+++ /var/tmp/diff_new_pack.XLg2Vi/_new 2011-01-15 01:52:50.000000000 +0100
@@ -1,9 +1,6 @@
- cmds/lsprop.c | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/cmds/lsprop.c
-+++ b/cmds/lsprop.c
-@@ -14,7 +14,7 @@
+--- powerpc-utils-1.2.6.orig/src/lsprop.c 2010-12-16 15:52:43.000000000 +0100
++++ powerpc-utils-1.2.6/src/lsprop.c 2010-12-23 17:26:27.000000000 +0100
+@@ -15,7 +15,7 @@
#include
int recurse;
++++++ powerpc-utils-papr.insserv-ibmvscsis.patch -> powerpc-utils.insserv-ibmvscsis.patch ++++++
--- powerpc-utils/powerpc-utils-papr.insserv-ibmvscsis.patch 2008-10-09 16:48:20.000000000 +0200
+++ powerpc-utils/powerpc-utils.insserv-ibmvscsis.patch 2010-12-23 18:14:19.000000000 +0100
@@ -1,9 +1,5 @@
----
- scripts/ibmvscsis.sh | 8 ++++----
- 1 file changed, 4 insertions(+), 4 deletions(-)
-
---- a/scripts/ibmvscsis.sh
-+++ b/scripts/ibmvscsis.sh
+--- powerpc-utils-1.2.6.orig/scripts/ibmvscsis.sh 2010-12-13 16:32:54.000000000 +0100
++++ powerpc-utils-1.2.6/scripts/ibmvscsis.sh 2010-12-23 17:50:53.000000000 +0100
@@ -15,10 +15,10 @@
### BEGIN INIT INFO
@@ -12,10 +8,10 @@
-# Should-Start: iprinit iprupdate
-# Required-Stop: $syslog $remote_fs
-# Should-Stop:
-+# Required-Start: $null
++# Required-Start: $null
+# Should-Start: iprinit iprupdate $syslog $remote_fs tgtd
+# Required-Stop: $null
-+# Should-Stop: $syslog $remote_fs tgtd
++# Should-Stop: $syslog $remote_fs tgtd
# Default-Start: 3 5
# Default-Stop:
# Short-Description: configure this partition as virtual scsi server
++++++ powerpc-utils.ofpathname.bootlist.patch ++++++
--- /var/tmp/diff_new_pack.XLg2Vi/_old 2011-01-15 01:52:50.000000000 +0100
+++ /var/tmp/diff_new_pack.XLg2Vi/_new 2011-01-15 01:52:50.000000000 +0100
@@ -1,15 +1,11 @@
----
- scripts/ofpathname | 2 +-
- 1 file changed, 1 insertion(+), 1 deletion(-)
-
---- a/scripts/ofpathname
-+++ b/scripts/ofpathname
-@@ -352,7 +352,7 @@ l2of_ide()
+--- powerpc-utils-1.2.6.orig/scripts/ofpathname 2010-12-13 16:32:54.000000000 +0100
++++ powerpc-utils-1.2.6/scripts/ofpathname 2010-12-23 18:01:21.000000000 +0100
+@@ -397,7 +397,7 @@
#
l2of_ethernet()
{
-- local sysfs_eth=`$FIND /sys -name $DEVICE 2> /dev/null`
-+ local sysfs_eth=`$FIND /sys -name $DEVICE -type d 2> /dev/null`
- if [[ -z $sysfs_eth ]]; then
- err $ERR_NOT_CONFIG
- fi
+- for syspath in `$FIND /sys -name $DEVICE 2> /dev/null`; do
++ for syspath in `$FIND /sys -name $DEVICE -type d 2> /dev/null`; do
+ if [[ -e $syspath/device/devspec ]]; then
+ OF_PATH=`$CAT $syspath/device/devspec`
+ break
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Remember to have fun...
--
To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-commit+help@opensuse.org