add new option: --nocumulate 33/286733/1
authorbiao716.wang <biao716.wang@samsung.com>
Thu, 12 Jan 2023 07:44:11 +0000 (16:44 +0900)
committerbiao716.wang <biao716.wang@samsung.com>
Thu, 12 Jan 2023 07:44:11 +0000 (16:44 +0900)
Change-Id: I2ced52183e864cc14636fff8ba65c98c23ff2a76
Signed-off-by: biao716.wang <biao716.wang@samsung.com>
depanneur

index ccb5dc0827ae57cead4f4e43985463439e012185..fd12158966c9b82809d01627dd89f3491a9253c5 100755 (executable)
--- 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";