Git-Url: 
http://git.frugalware.org/gitweb/gitweb.cgi?p=fw32.git;a=commitdiff;h=10e89e9590783d5fb05537696ee297f4c26fb691

commit 10e89e9590783d5fb05537696ee297f4c26fb691
Author: James Buren <[email protected]>
Date:   Thu Jun 28 21:34:27 2012 -0500

fw32: in pacman and repoman functions, add 1 second delay before umounting at 
the end of chroot maintenance

diff --git a/fw32.c b/fw32.c
index 03543e6..936d7e7 100644
--- a/fw32.c
+++ b/fw32.c
@@ -490,6 +490,8 @@ pacman_g2(char **args1)
if(!WIFEXITED(status) || WEXITSTATUS(status))
error("pacman-g2 failed to complete its operation.\n");

+  sleep(1);
+
umount_all();

mount_all();
@@ -512,6 +514,8 @@ repoman(char **args)

run("/usr/bin/repoman","/",false,args);

+  sleep(1);
+
umount_all();

mount_all();
_______________________________________________
Frugalware-git mailing list
[email protected]
http://frugalware.org/mailman/listinfo/frugalware-git

Reply via email to