commit:     367ba7457991d008b011eba0b06455276933bf7c
Author:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
AuthorDate: Sat Mar 26 09:28:30 2022 +0000
Commit:     Ulrich Müller <ulm <AT> gentoo <DOT> org>
CommitDate: Mon Mar 28 19:47:17 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=367ba745

toolchain.eclass: Use UID 0 instead of root

Bug: https://bugs.gentoo.org/595908
Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org>

 eclass/toolchain.eclass | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/eclass/toolchain.eclass b/eclass/toolchain.eclass
index 495a305ed83e..8788e72efebb 100644
--- a/eclass/toolchain.eclass
+++ b/eclass/toolchain.eclass
@@ -1780,7 +1780,7 @@ toolchain_src_install() {
        # Use gid of 0 because some stupid ports don't have
        # the group 'root' set to gid 0.  Send to /dev/null
        # for people who are testing as non-root.
-       chown -R root:0 "${D}${LIBPATH}" 2>/dev/null
+       chown -R 0:0 "${D}${LIBPATH}" 2>/dev/null
 
        # Installing gdb pretty-printers into gdb-specific location.
        local py gdbdir=/usr/share/gdb/auto-load${LIBPATH}

Reply via email to