From d43b7083fb5a351af5663e61f68814ff975817f2 Mon Sep 17 00:00:00 2001 From: Fabian Groffen Date: Sat, 2 May 2009 09:16:10 +0000 Subject: [PATCH] Kill the dreaded mtree/chflags errors on FreeBSD, don't have it and don't want it in Prefix with non-root svn path=/main/branches/prefix/; revision=13590 --- pym/portage/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py index 6ff97393a..1b7085b43 100644 --- a/pym/portage/__init__.py +++ b/pym/portage/__init__.py @@ -92,7 +92,7 @@ try: DEPRECATED_PROFILE_FILE, USER_VIRTUALS_FILE, EBUILD_SH_ENV_FILE, \ INVALID_ENV_FILE, CUSTOM_MIRRORS_FILE, CONFIG_MEMORY_FILE,\ INCREMENTALS, EAPI, MISC_SH_BINARY, REPO_NAME_LOC, REPO_NAME_FILE, \ - EPREFIX, EPREFIX_LSTRIP, BPREFIX, rootgid + EPREFIX, EPREFIX_LSTRIP, BPREFIX, rootuid, rootgid from portage.data import ostype, lchown, userland, secpass, uid, wheelgid, \ portage_uid, portage_gid, userpriv_groups @@ -137,7 +137,7 @@ def _shell_quote(s): bsd_chflags = None -if platform.system() in ('FreeBSD',): +if platform.system() in ('FreeBSD',) and rootuid == 0: class bsd_chflags(object): -- 2.26.2