From: biao716.wang Date: Thu, 12 Jan 2023 07:44:11 +0000 (+0900) Subject: add new option: --nocumulate X-Git-Tag: submit/trunk/20230112.173030~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=d7aa1ea4ed0b86ea63ecb871d3d7441b8bcb2b2e;p=tools%2Fdepanneur.git add new option: --nocumulate Change-Id: I2ced52183e864cc14636fff8ba65c98c23ff2a76 Signed-off-by: biao716.wang --- diff --git a/depanneur b/depanneur index ccb5dc0..fd12158 100755 --- a/depanneur +++ b/depanneur @@ -205,6 +205,7 @@ my $profiling = ""; # Reference profiling report location. If set reports will b my $with_submodules = 0; #didn't export sub modules source code. my $work_done = 0; # Whether build jobs finished my $release_tag = ""; # Override Release in spec file +my $nocumulate = 0; # Whether build without cumulative build. GetOptions ( "repository=s" => \@repos, @@ -269,6 +270,7 @@ GetOptions ( "profiling=s" => \$profiling, "with-submodules" => \$with_submodules, "release=s" => \$release_tag, + "nocumulate" => \$nocumulate, ); if ( $help ) { @@ -337,6 +339,9 @@ Available options: --tarfile generate tar file for dependence & reverse dependence xml file. + + --nocumulate + build package without cumulatve build. "; exit(0); } @@ -2087,6 +2092,9 @@ sub build_package { if ($release_tag ne "") { push @args, "--release=$release_tag"; } + if ($nocumulate) { + push @args, "--nocumulate"; + } my $redirect = ""; if ($MAX_THREADS > 1 ) { $redirect = "> /dev/null 2>&1";