create a individual dir:BUILD-ROOTS for all build roots
authorZhang Qiang <qiang.z.zhang@intel.com>
Thu, 2 May 2013 01:57:53 +0000 (09:57 +0800)
committerZhang Qiang <qiang.z.zhang@intel.com>
Thu, 2 May 2013 02:05:18 +0000 (10:05 +0800)
create build roots under an individual dir, instead of GBS-ROOT/local.

In this way, developer can config 'BUILD-ROOTS' as tmpfs to speed up
local build.

Change-Id: Ibca2ca87a6f4d7acef22d2207eb592a152d62099

depanneur

index af735a5..321aead 100755 (executable)
--- a/depanneur
+++ b/depanneur
@@ -352,7 +352,7 @@ if (@repos) {
     }
 }
 
-my $scratch_dir = "$build_root/local/scratch.$arch";
+my $scratch_dir = "$build_root/local/BUILD-ROOTS/scratch.$arch";
 
 # noinit
 if ($noinit == 1) {