kadischi/livecd_generator livecd-mkinitrd.sh,1.23,1.24

Jasper O'neal Hartline (autopsy) fedora-extras-commits at redhat.com
Thu Aug 24 07:37:26 UTC 2006


Author: autopsy

Update of /cvs/devel/kadischi/livecd_generator
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv28041/kadischi/livecd_generator

Modified Files:
	livecd-mkinitrd.sh 
Log Message:
Minor fix. Send output after grepping for kernel attribute FC5


Index: livecd-mkinitrd.sh
===================================================================
RCS file: /cvs/devel/kadischi/livecd_generator/livecd-mkinitrd.sh,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -r1.23 -r1.24
--- livecd-mkinitrd.sh	24 Aug 2006 06:36:06 -0000	1.23
+++ livecd-mkinitrd.sh	24 Aug 2006 07:37:24 -0000	1.24
@@ -209,7 +209,7 @@
         /bin/mknod /dev/loop$i b 7 $i
     fi
 done
-echo $kernel >/dev/null | grep FC5
+echo $kernel | grep FC5 >/dev/null
 if [ "$?" -eq "0" ]; then
     /bin/dd if=/dev/zero of=$IMAGE bs=1k count=$IMAGESIZE 2> /dev/null || exit 1
 else
@@ -229,7 +229,7 @@
 # We have to "echo y |" so that it doesn't complain about $IMAGE not
 # being a block device
 # We also use -b 4096 to rectify issue: BZ #202715
-echo $kernel >/dev/null | grep FC5
+echo $kernel | grep FC5 >/dev/null
 if [ "$?" -eq "0" ]; then
     echo y | /sbin/mke2fs -b 1024 $LODEV $IMAGESIZE >/dev/null 2>/dev/null
 else




More information about the fedora-extras-commits mailing list