[Title] Wait a second before apt-get update
authordonghyuk.yang <donghyuk.yang@samsung.com>
Mon, 9 Jan 2012 09:50:17 +0000 (18:50 +0900)
committerdonghyuk.yang <donghyuk.yang@samsung.com>
Mon, 9 Jan 2012 09:50:17 +0000 (18:50 +0900)
com.samsung.tizen.nativeapp.inhouse/src/com/samsung/tizen/nativeapp/inhouse/pkgInstall/PackageManager.java

index 479d2af..49b89e5 100644 (file)
@@ -361,6 +361,8 @@ public class PackageManager extends Dialog {
                                                                        monitor.subTask("changing source list...");
                                                                        PackageCommander.changeSourceListForRootstrap(targetID, repositoryForRemote);
                                                                        
+                                                                       Thread.sleep(500);
+                                                                       
                                                                        int s = repositoryForRemote.indexOf("ssh://");
                                                                        if (s != -1) {                                                                          
                                                                                String remoteAddr = repositoryForRemote.substring(s + 6);
@@ -386,6 +388,7 @@ public class PackageManager extends Dialog {
                                                                        monitor.subTask("changing source list...");
                                                                        PackageCommander.changeSourceListForRealTarget(repositoryForRemote, device);                            
                                                                        
+                                                                       Thread.sleep(500);
                                                                        
                                                                        if (!device.isEmulator()) {                                                                             
                                                                                // Change to bootmode with update