From: biao716.wang Date: Sat, 24 Jul 2021 08:31:46 +0000 (+0900) Subject: Use the defalut uid:gid in /usr/bin/build X-Git-Tag: accepted/tizen/devbase/tools/20210903.085146~3 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=48f3413b579e872c35efbd82bab9599d1af56250;p=tools%2Fdepanneur.git Use the defalut uid:gid in /usr/bin/build Currently it use the uid:gid of user in host os, sometimes tis uid:gid is same with the others in the /etc/passwd of buildroot. so we need to make the uid:guid unique. Change-Id: I44f5a9aa1619b7e7cc5c9f8f09af67d20414a832 Signed-off-by: biao716.wang --- diff --git a/depanneur b/depanneur index a5619ca..8cc4f42 100755 --- a/depanneur +++ b/depanneur @@ -1955,7 +1955,8 @@ sub build_package { return -1; } push @args, "sudo /usr/bin/build"; - push @args, "--uid $zuid:$zgid" if ($zuid != 0 && $zgid != 0); + #Use the defalut uid:gid in /usr/bin/build + #push @args, "--uid $zuid:$zgid" if ($zuid != 0 && $zgid != 0); my $nprocessors = 2; if ($^O eq "linux") { $nprocessors = int(int(sysconf(SC_NPROCESSORS_ONLN))/int($MAX_THREADS));