[prev in list] [next in list] [prev in thread] [next in thread] 

List:       ipcop-svn
Subject:    [Ipcop-svn] SF.net SVN: ipcop: [1336] ipcop/trunk/lfs/cdrom
From:       gespinasse () users ! sourceforge ! net
Date:       2008-04-27 23:10:24
Message-ID: E1JqG0m-00043C-Iy () sc8-pr-svn4 ! sourceforge ! net
[Download RAW message or body]

Revision: 1336
          http://ipcop.svn.sourceforge.net/ipcop/?rev=1336&view=rev
Author:   gespinasse
Date:     2008-04-27 16:10:24 -0700 (Sun, 27 Apr 2008)

Log Message:
-----------
We don't need to cat a file and pipe to sed to update the version.
Directly sed the stream 

Modified Paths:
--------------
    ipcop/trunk/lfs/cdrom

Modified: ipcop/trunk/lfs/cdrom
===================================================================
--- ipcop/trunk/lfs/cdrom	2008-04-24 17:59:52 UTC (rev 1335)
+++ ipcop/trunk/lfs/cdrom	2008-04-27 23:10:24 UTC (rev 1336)
@@ -207,7 +207,7 @@
 	cp /boot/vmlinuz-$(KVER)				/$(INSTALLER_DIR)/cdrom/vmlinuz
 	cp /$(INSTALLER_DIR)/images/cdinitramfs-$(VERSION).img	/$(INSTALLER_DIR)/cdrom/boot/instroot-$(VERSION).img
  cp /boot/bootlx						/$(INSTALLER_DIR)/cdrom
-	cat $(DIR_SRC)/config/$(MACHINE)/aboot-install.conf | sed "s,VERSION,$(VERSION),g" \
> \ +	sed "s,VERSION,$(VERSION),g" \
> $(DIR_SRC)/config/$(MACHINE)/aboot-install.conf > \
 								/$(INSTALLER_DIR)/cdrom/etc/aboot.conf
 
 	cd /$(INSTALLER_DIR)/cdrom && mkisofs			-r \
@@ -222,7 +222,7 @@
 	cp $(DIR_SRC)/config/cdrom/README_OldWorld_Macs.txt	/$(INSTALLER_DIR)/cdrom
 	cp /boot/vmlinuz-$(KVER)				/$(INSTALLER_DIR)/cdrom/boot/vmlinuz
 	cp /$(INSTALLER_DIR)/images/cdinitramfs-$(VERSION).img	/$(INSTALLER_DIR)/cdrom/boot/instroot-$(VERSION).img
                
-	cat $(DIR_SRC)/config/$(MACHINE)/yaboot-install.conf  | sed \
"s,VERSION,$(VERSION),g" > \ +	sed \
"s,VERSION,$(VERSION),g"				$(DIR_SRC)/config/$(MACHINE)/yaboot-install.conf > \  \
/$(INSTALLER_DIR)/cdrom/boot/yaboot.conf  cp \
/usr/lib/yaboot/yaboot				/$(INSTALLER_DIR)/cdrom/boot  cp \
$(DIR_SRC)/config/$(MACHINE)/ofboot-install.b	/$(INSTALLER_DIR)/cdrom/boot/ofboot.b \
@@ -246,7 +246,7 @@  cp -a /boot/{isofs,second}.b				/$(INSTALLER_DIR)/cdrom/boot
 	cp /boot/vmlinuz-$(KVER)				/$(INSTALLER_DIR)/cdrom/boot/vmlinuz64
 	cp /$(INSTALLER_DIR)/images/cdinitramfs-$(VERSION).img	/$(INSTALLER_DIR)/cdrom/boot/instroot-$(VERSION).img
                
-	cat $(DIR_SRC)/config/$(MACHINE)/silo-install.conf | sed "s,VERSION,$(VERSION),g" > \
\ +	sed "s,VERSION,$(VERSION),g" 				$(DIR_SRC)/config/$(MACHINE)/silo-install.conf > \
\  /$(INSTALLER_DIR)/cdrom/boot/silo.conf
 	sed -e 's/boot IPCop/boot IPCop \
$(VERSION)/'		$(DIR_SRC)/config/kernel/install-message > \  \
/$(INSTALLER_DIR)/cdrom/boot/message


This was sent by the SourceForge.net collaborative development platform, the world's \
largest Open Source development site.

-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Ipcop-svn mailing list
Ipcop-svn@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ipcop-svn


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic