[prev in list] [next in list] [prev in thread] [next in thread]
List: ipcop-svn
Subject: [Ipcop-svn] SF.net SVN: ipcop:[4049]
From: owes () users ! sourceforge ! net
Date: 2009-12-28 13:34:49
Message-ID: E1NPFkH-0000H9-Gv () d5vjzd1 ! ch3 ! sourceforge ! com
[Download RAW message or body]
Revision: 4049
http://ipcop.svn.sourceforge.net/ipcop/?rev=4049&view=rev
Author: owes
Date: 2009-12-28 13:34:49 +0000 (Mon, 28 Dec 2009)
Log Message:
-----------
Stop installation with error if the sed on extlinux.conf fail.
Also use sync instead of sleep, might help to get the modifications flushed out to \
disk.
Modified Paths:
--------------
ipcop/trunk/src/installer/partition.c
Modified: ipcop/trunk/src/installer/partition.c
===================================================================
--- ipcop/trunk/src/installer/partition.c 2009-12-27 16:27:25 UTC (rev 4048)
+++ ipcop/trunk/src/installer/partition.c 2009-12-28 13:34:49 UTC (rev 4049)
@@ -695,8 +695,10 @@
}
strcat(bigstring, "/harddisk/boot/extlinux.conf");
- mysystem(bigstring);
- sleep(1);
+ if (mysystem(bigstring)) {
+ return(FAILURE);
+ }
+ mysystem("/bin/sync");
/* Install extlinux and MBR */
if (mysystem("chroot /harddisk /sbin/extlinux --install /boot")) {
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 Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
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