Gentoo Archives: gentoo-dev

From: "Ulrich Müller" <ulm@g.o>
To: gentoo-dev@l.g.o
Cc: "Ulrich Müller" <ulm@g.o>
Subject: [gentoo-dev] [PATCH 4/9] toolchain.eclass: Use UID 0 instead of root
Date: Sun, 27 Mar 2022 07:29:19
Message-Id: 20220327072735.9719-5-ulm@gentoo.org
In Reply to: [gentoo-dev] [PATCH 0/9] eclass: Use UID 0 instead of root and other fixes by "Ulrich Müller"
1 Bug: https://bugs.gentoo.org/595908
2 Signed-off-by: Ulrich Müller <ulm@g.o>
3 ---
4 eclass/toolchain.eclass | 2 +-
5 1 file changed, 1 insertion(+), 1 deletion(-)
6
7 diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
8 index 495a305ed83e..8788e72efebb 100644
9 --- a/eclass/toolchain.eclass
10 +++ b/eclass/toolchain.eclass
11 @@ -1780,7 +1780,7 @@ toolchain_src_install() {
12 # Use gid of 0 because some stupid ports don't have
13 # the group 'root' set to gid 0. Send to /dev/null
14 # for people who are testing as non-root.
15 - chown -R root:0 "${D}${LIBPATH}" 2>/dev/null
16 + chown -R 0:0 "${D}${LIBPATH}" 2>/dev/null
17
18 # Installing gdb pretty-printers into gdb-specific location.
19 local py gdbdir=/usr/share/gdb/auto-load${LIBPATH}
20 --
21 2.35.1