[Title] Excluded sources when exporting rootstrap
authordonghee yang <donghee.yang@samsung.com>
Fri, 28 Dec 2012 07:06:47 +0000 (16:06 +0900)
committerdonghee yang <donghee.yang@samsung.com>
Fri, 28 Dec 2012 07:06:47 +0000 (16:06 +0900)
org.tizen.nativeplatform/src/org/tizen/nativeplatform/rootstrap/RootstrapManager.java

index 0b01187..8279640 100644 (file)
@@ -153,7 +153,7 @@ public class RootstrapManager {
                        // zip file-system
                        String basePath = rootstrap.getPath().removeLastSegments(1).toOSString();
                        String rootstrapID = rootstrap.getId();
-                       if( !CommandLauncher.executeSudo( String.format("sudo -S tar cvzf %s/rootstrap.tar.gz %s",
+                       if( !CommandLauncher.executeSudo( String.format("sudo -S tar cvzf %s/rootstrap.tar.gz %s --exclude=home/abuild/rpmbuild --exclude=local/sources/*",
                                        tempDirPath, rootstrapID), basePath, "Platform Internal", monitor ) ) {
                                return false;
                        }