[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

rpms/mkbootdisk/FC-5 mkbootdisk-1.5.2-tail.patch, NONE, 1.1 mkbootdisk.spec, 1.19, 1.20



Author: pvrabec

Update of /cvs/dist/rpms/mkbootdisk/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv7451

Modified Files:
	mkbootdisk.spec 
Added Files:
	mkbootdisk-1.5.2-tail.patch 
Log Message:
fix tail command usage (#196525)


mkbootdisk-1.5.2-tail.patch:
 mkbootdisk |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

--- NEW FILE mkbootdisk-1.5.2-tail.patch ---
--- mkbootdisk-1.5.2/mkbootdisk.tail	2006-06-26 10:42:09.000000000 +0200
+++ mkbootdisk-1.5.2/mkbootdisk	2006-06-26 10:42:35.000000000 +0200
@@ -110,8 +110,8 @@
     # whee, now we have to look through every partition looking for
     # the thing called $rootlabel, which could be raid. Ick.
 
-    list=$(tail +3 /proc/partitions | awk '{ print $4 '} | grep '^md')
-    list="$list $(tail +3 /proc/partitions | 
+    list=$(tail -n +3 /proc/partitions | awk '{ print $4 '} | grep '^md')
+    list="$list $(tail -n +3 /proc/partitions | 
 			awk '{ print $4 '} | grep -v '^md')"
     rootdev=""
     for dev in $list; do


Index: mkbootdisk.spec
===================================================================
RCS file: /cvs/dist/rpms/mkbootdisk/FC-5/mkbootdisk.spec,v
retrieving revision 1.19
retrieving revision 1.20
diff -u -r1.19 -r1.20
--- mkbootdisk.spec	7 Mar 2006 10:23:21 -0000	1.19
+++ mkbootdisk.spec	26 Jun 2006 08:48:34 -0000	1.20
@@ -1,7 +1,7 @@
 Summary: Creates a boot floppy disk for booting a system.
 Name: mkbootdisk
 Version: 1.5.2
-Release: 6
+Release: 7
 License: GPL
 Group: System Environment/Base
 Source: mkbootdisk-%{version}.tar.gz
@@ -9,6 +9,7 @@
 Patch1: mkbootdisk-1.5.2-hangup.patch
 Patch2: mkbootdisk-1.5.2-mantypo.patch
 Patch3: mkbootdisk-x86_64.patch
+Patch4: mkbootdisk-1.5.2-tail.patch
 ExclusiveOs: Linux
 BuildArch: noarch
 Requires: mkinitrd dosfstools
@@ -36,6 +37,7 @@
 %patch1 -p1 -b .hangup
 %patch2 -p1 -b .mantypo
 %patch3 -p0 -b .x86_64
+%patch4 -p1 -b .tail
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -50,6 +52,9 @@
 %attr(644,root,root) %{_mandir}/man8/mkbootdisk.8.gz
 
 %changelog
+* Mon Jun 26 2006 Peter Vrabec <pvrabec redhat com> 1.5.2-7
+- fix tail command usage (#196525) 
+
 * Tue Mar 07 2006 Peter Vrabec <pvrabec redhat com> 1.5.2-6
 - build  as noarch
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]