- updated device_cio_free script (#533494)
- fixed uppercase conversion in lscss (#554768)
This commit is contained in:
parent
970848073e
commit
f1bcb16346
38
0018-fix-uppercase-conversion-in-lscss.patch
Normal file
38
0018-fix-uppercase-conversion-in-lscss.patch
Normal file
@ -0,0 +1,38 @@
|
|||||||
|
From a8bcc744ec941c3b34c22c7a7729b52a390c7a08 Mon Sep 17 00:00:00 2001
|
||||||
|
From: =?UTF-8?q?Dan=20Hor=C3=A1k?= <dan@danny.cz>
|
||||||
|
Date: Wed, 13 Jan 2010 08:39:09 +0100
|
||||||
|
Subject: [PATCH] fix uppercase conversion in lscss
|
||||||
|
|
||||||
|
Description: lscss: fix uppercase conversion
|
||||||
|
Symptom: when invoking the -u option, lscss will fail with the message "tr: missing operand"
|
||||||
|
Problem: the bash option "nullglob" interferes with the tr operands
|
||||||
|
Solution: avoid expanding of those operands by placing quotes around them
|
||||||
|
---
|
||||||
|
zconf/lscss | 4 ++--
|
||||||
|
1 files changed, 2 insertions(+), 2 deletions(-)
|
||||||
|
|
||||||
|
diff --git a/zconf/lscss b/zconf/lscss
|
||||||
|
index efdb9ca..fc40fe6 100755
|
||||||
|
--- a/zconf/lscss
|
||||||
|
+++ b/zconf/lscss
|
||||||
|
@@ -354,7 +354,7 @@ if [ $SCH_IO ] ;then
|
||||||
|
echo "----------------------------------------------------------------------"
|
||||||
|
fi
|
||||||
|
print_io | if [ $UPPERCASE ] ;then
|
||||||
|
- tr [:lower:] [:upper:]
|
||||||
|
+ tr "[:lower:]" "[:upper:]"
|
||||||
|
else
|
||||||
|
cat -
|
||||||
|
fi
|
||||||
|
@@ -368,7 +368,7 @@ if [ $SCH_CHSC ] ;then
|
||||||
|
echo "Device Subchan."
|
||||||
|
echo "-----------------"
|
||||||
|
print_chsc | if [ $UPPERCASE ] ;then
|
||||||
|
- tr [:lower:] [:upper:]
|
||||||
|
+ tr "[:lower:]" "[:upper:]"
|
||||||
|
else
|
||||||
|
cat -
|
||||||
|
fi
|
||||||
|
--
|
||||||
|
1.6.5.2
|
||||||
|
|
@ -145,7 +145,9 @@ if [ $MODE = "dasd" ]; then
|
|||||||
sed -e 's/.*[[:space:]]dasd=\([^[:space:]]*\).*/\1/' -e 's/([^)]*)//g' \
|
sed -e 's/.*[[:space:]]dasd=\([^[:space:]]*\).*/\1/' -e 's/([^)]*)//g' \
|
||||||
-e 's/nopav\|nofcx\|autodetect\|probeonly//g' -e 's/,,/,/g' -e 's/^,//' -e 's/,$//')
|
-e 's/nopav\|nofcx\|autodetect\|probeonly//g' -e 's/,,/,/g' -e 's/^,//' -e 's/,$//')
|
||||||
|
|
||||||
free_device $DEVICES
|
for DEVRANGE in $(echo $DEVICES | tr ',' ' '); do
|
||||||
|
free_device $DEVRANGE
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ $MODE = "znet" ]; then
|
if [ $MODE = "znet" ]; then
|
||||||
|
@ -8,7 +8,7 @@ Name: s390utils
|
|||||||
Summary: Utilities and daemons for IBM System/z
|
Summary: Utilities and daemons for IBM System/z
|
||||||
Group: System Environment/Base
|
Group: System Environment/Base
|
||||||
Version: 1.8.2
|
Version: 1.8.2
|
||||||
Release: 8%{?dist}
|
Release: 9%{?dist}
|
||||||
Epoch: 2
|
Epoch: 2
|
||||||
License: GPLv2 and GPLv2+ and CPL
|
License: GPLv2 and GPLv2+ and CPL
|
||||||
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
@ -50,6 +50,7 @@ Patch14: 0014-dasdview-fdasd-fix-floating-point-error-for-unformat.patch
|
|||||||
Patch15: 0015-s390tools-1.8.2-zipl-dm.patch
|
Patch15: 0015-s390tools-1.8.2-zipl-dm.patch
|
||||||
Patch16: 0016-s390tools-1.8.2-lsreipl-nss.patch
|
Patch16: 0016-s390tools-1.8.2-lsreipl-nss.patch
|
||||||
Patch17: 0017-qualified-return-codes-and-further-error-handling-in.patch
|
Patch17: 0017-qualified-return-codes-and-further-error-handling-in.patch
|
||||||
|
Patch18: 0018-fix-uppercase-conversion-in-lscss.patch
|
||||||
|
|
||||||
Patch100: cmsfs-1.1.8-warnings.patch
|
Patch100: cmsfs-1.1.8-warnings.patch
|
||||||
Patch101: cmsfs-1.1.8-kernel26.patch
|
Patch101: cmsfs-1.1.8-kernel26.patch
|
||||||
@ -130,6 +131,9 @@ be used together with the zSeries (s390) Linux kernel and device drivers.
|
|||||||
# Add qualified return codes and further error handling in znetconf (#548487)
|
# Add qualified return codes and further error handling in znetconf (#548487)
|
||||||
%patch17 -p1 -b .znetconf-returncodes
|
%patch17 -p1 -b .znetconf-returncodes
|
||||||
|
|
||||||
|
# Fixed uppercase conversion in lscss (#554768)
|
||||||
|
%patch18 -p1 -b .uppercase
|
||||||
|
|
||||||
#
|
#
|
||||||
# cmsfs
|
# cmsfs
|
||||||
#
|
#
|
||||||
@ -446,11 +450,9 @@ fi
|
|||||||
%doc README
|
%doc README
|
||||||
%doc LICENSE
|
%doc LICENSE
|
||||||
/sbin/zipl
|
/sbin/zipl
|
||||||
/sbin/dasd_cio_free
|
|
||||||
/sbin/dasdfmt
|
/sbin/dasdfmt
|
||||||
/sbin/dasdinfo
|
/sbin/dasdinfo
|
||||||
/sbin/dasdview
|
/sbin/dasdview
|
||||||
/sbin/device_cio_free
|
|
||||||
/sbin/fdasd
|
/sbin/fdasd
|
||||||
/sbin/chccwdev
|
/sbin/chccwdev
|
||||||
/sbin/chchp
|
/sbin/chchp
|
||||||
@ -472,9 +474,7 @@ fi
|
|||||||
/sbin/tape390_crypt
|
/sbin/tape390_crypt
|
||||||
/sbin/tunedasd
|
/sbin/tunedasd
|
||||||
/sbin/vmcp
|
/sbin/vmcp
|
||||||
/sbin/zfcp_cio_free
|
|
||||||
/sbin/zgetdump
|
/sbin/zgetdump
|
||||||
/sbin/znet_cio_free
|
|
||||||
/sbin/znetconf
|
/sbin/znetconf
|
||||||
/sbin/dbginfo.sh
|
/sbin/dbginfo.sh
|
||||||
%{_sbindir}/lsreipl
|
%{_sbindir}/lsreipl
|
||||||
@ -488,8 +488,6 @@ fi
|
|||||||
%{_bindir}/vmconvert
|
%{_bindir}/vmconvert
|
||||||
%{_initddir}/dumpconf
|
%{_initddir}/dumpconf
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/dumpconf
|
%config(noreplace) %{_sysconfdir}/sysconfig/dumpconf
|
||||||
%{_initddir}/cpi
|
|
||||||
%config(noreplace) %{_sysconfdir}/sysconfig/cpi
|
|
||||||
/lib/s390-tools
|
/lib/s390-tools
|
||||||
%{_mandir}/man1/zfcpdbf.1*
|
%{_mandir}/man1/zfcpdbf.1*
|
||||||
%{_mandir}/man4/prandom.4*
|
%{_mandir}/man4/prandom.4*
|
||||||
@ -537,8 +535,14 @@ fi
|
|||||||
%config(noreplace) %{_sysconfdir}/udev/rules.d/60-readahead.rules
|
%config(noreplace) %{_sysconfdir}/udev/rules.d/60-readahead.rules
|
||||||
%ghost %config(noreplace) %{_sysconfdir}/dasd.conf
|
%ghost %config(noreplace) %{_sysconfdir}/dasd.conf
|
||||||
%ghost %config(noreplace) %{_sysconfdir}/zfcp.conf
|
%ghost %config(noreplace) %{_sysconfdir}/zfcp.conf
|
||||||
|
%{_initddir}/cpi
|
||||||
|
%config(noreplace) %{_sysconfdir}/sysconfig/cpi
|
||||||
/sbin/dasdconf.sh
|
/sbin/dasdconf.sh
|
||||||
/sbin/zfcpconf.sh
|
/sbin/zfcpconf.sh
|
||||||
|
/sbin/dasd_cio_free
|
||||||
|
/sbin/device_cio_free
|
||||||
|
/sbin/zfcp_cio_free
|
||||||
|
/sbin/znet_cio_free
|
||||||
|
|
||||||
# src_vipa
|
# src_vipa
|
||||||
%{_bindir}/src_vipa.sh
|
%{_bindir}/src_vipa.sh
|
||||||
@ -826,6 +830,10 @@ User-space development files for the s390/s390x architecture.
|
|||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Wed Jan 13 2010 Dan Horák <dan[at]danny.cz> 2:1.8.2-9
|
||||||
|
- updated device_cio_free script (#533494)
|
||||||
|
- fixed uppercase conversion in lscss (#554768)
|
||||||
|
|
||||||
* Fri Jan 8 2010 Dan Horák <dan[at]danny.cz> 2:1.8.2-8
|
* Fri Jan 8 2010 Dan Horák <dan[at]danny.cz> 2:1.8.2-8
|
||||||
- updated device_cio_free script (#533494)
|
- updated device_cio_free script (#533494)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user