Revision: 7159
http://sourceforge.net/p/ipcop/svn/7159
Author: dotzball
Date: 2013-11-22 17:55:58 +0000 (Fri, 22 Nov 2013)
Log Message:
-----------
Fix umount error on slow build harddisk. I was not able to build usb-key
because it always fail
on umount as device seems to be busy.
I suspect my hdd is dying slowly.
Modified Paths:
--------------
ipcop/trunk/lfs/usb-key
Modified: ipcop/trunk/lfs/usb-key
===================================================================
--- ipcop/trunk/lfs/usb-key 2013-11-21 12:27:38 UTC (rev 7158)
+++ ipcop/trunk/lfs/usb-key 2013-11-22 17:55:58 UTC (rev 7159)
@@ -78,7 +78,11 @@
-e "s|ipcopboot=|ipcopboot=usb|g" \
$(DIR_SRC)/config/arch/$(MACHINE)/syslinux.cfg \
> /installer/mnt/syslinux.cfg && \
- umount /installer/mnt && \
+ echo -n "-> umount $$LOOPDEV .." && \
+ for i in {1..30}; do \
+ umount /installer/mnt >/dev/null 2>&1 && break || echo -n ".";
sleep 1; \
+ done; \
+ echo " done"; \
losetup -d $$LOOPDEV && \
syslinux $$IMAGE
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
------------------------------------------------------------------------------
Shape the Mobile Experience: Free Subscription
Software experts and developers: Be at the forefront of tech innovation.
Intel(R) Software Adrenaline delivers strategic insight and game-changing
conversations that shape the rapidly evolving mobile landscape. Sign up now.
http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk
_______________________________________________
Ipcop-svn mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/ipcop-svn