Use the defalut uid:gid in /usr/bin/build 99/261699/2
authorbiao716.wang <biao716.wang@samsung.com>
Sat, 24 Jul 2021 08:31:46 +0000 (17:31 +0900)
committerbiao716.wang <biao716.wang@samsung.com>
Wed, 18 Aug 2021 10:51:42 +0000 (19:51 +0900)
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 <biao716.wang@samsung.com>
depanneur

index a5619caf765e13db47de3bdd03d29598d2fc7501..8cc4f42ece4fbd6352124a6d36308319c380a59d 100755 (executable)
--- 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));