From 48f3413b579e872c35efbd82bab9599d1af56250 Mon Sep 17 00:00:00 2001 From: "biao716.wang" Date: Sat, 24 Jul 2021 17:31:46 +0900 Subject: [PATCH] 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 --- depanneur | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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)); -- 2.34.1