From: hyokeun.jeon Date: Mon, 29 Mar 2021 15:24:43 +0000 (+0900) Subject: BSR: Hotfix - not terminating cpu stat process X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=9493a8d18de9ea3356e15c21265f325b3b08745b;p=tools%2Fdepanneur.git BSR: Hotfix - not terminating cpu stat process --- diff --git a/debian/changelog b/debian/changelog index 0d29b9e..97bba02 100644 --- a/debian/changelog +++ b/debian/changelog @@ -1,3 +1,10 @@ +depanneur (0.16.10.7) unstable; urgency=high + + * Upgrade to 0.16.10.7 + * Hotfix for not terinating cpu stats + + -- Hyokeun Jeon Sun, 28 Mar 2021 10:00:00 +0800 + depanneur (0.16.10.6) unstable; urgency=high * Upgrade to 0.16.10.6 diff --git a/depanneur b/depanneur index fd4044e..22c8939 100755 --- a/depanneur +++ b/depanneur @@ -2391,9 +2391,9 @@ sub build_report info("build logs can be found in:\n $localrepo/$dist/$arch/logs"); info("build roots located in:\n $scratch_dir.*"); if (%errors || %expansion_errors || @export_errors || ($succeeded_packages == 0 && @skipped == 0)) { - exit 1; + return 1; } - + return 0; } #--------------------------------------------------------------------- @@ -2587,6 +2587,10 @@ sub prepare_preorder_list { my_system("rm -rf bsr_profiling_report"); my_system("rm -rf $localrepo/$dist/$arch/bsr_profiling_report"); + if ($dryrun) { + return; + } + my @preview_orders = (); if ($preordered_list ne "") { @@ -2987,6 +2991,7 @@ if ($noinit == 1 || $incremental == 1) { last; } update_repo(); + profiling_report(); build_report(); exit $ret; } @@ -3185,7 +3190,6 @@ while ((threads->list() > 0)) { sleep(1); } update_repo(); -build_report(); profiling_report(); +exit build_report(); -exit 0