From d7aa1ea4ed0b86ea63ecb871d3d7441b8bcb2b2e Mon Sep 17 00:00:00 2001 From: "biao716.wang" Date: Thu, 12 Jan 2023 16:44:11 +0900 Subject: [PATCH] add new option: --nocumulate Change-Id: I2ced52183e864cc14636fff8ba65c98c23ff2a76 Signed-off-by: biao716.wang --- depanneur | 8 ++++++++ 1 file changed, 8 insertions(+) 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"; -- 2.34.1