Gentoo Archives: gentoo-commits

From: "Fabian Groffen (grobian)" <grobian@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] portage r13590 - main/branches/prefix/pym/portage
Date: Sat, 02 May 2009 09:16:13
Message-Id: E1M0BKN-0003me-DF@stork.gentoo.org
1 Author: grobian
2 Date: 2009-05-02 09:16:10 +0000 (Sat, 02 May 2009)
3 New Revision: 13590
4
5 Modified:
6 main/branches/prefix/pym/portage/__init__.py
7 Log:
8 Kill the dreaded mtree/chflags errors on FreeBSD, don't have it and don't want it in Prefix with non-root
9
10 Modified: main/branches/prefix/pym/portage/__init__.py
11 ===================================================================
12 --- main/branches/prefix/pym/portage/__init__.py 2009-05-02 08:04:17 UTC (rev 13589)
13 +++ main/branches/prefix/pym/portage/__init__.py 2009-05-02 09:16:10 UTC (rev 13590)
14 @@ -92,7 +92,7 @@
15 DEPRECATED_PROFILE_FILE, USER_VIRTUALS_FILE, EBUILD_SH_ENV_FILE, \
16 INVALID_ENV_FILE, CUSTOM_MIRRORS_FILE, CONFIG_MEMORY_FILE,\
17 INCREMENTALS, EAPI, MISC_SH_BINARY, REPO_NAME_LOC, REPO_NAME_FILE, \
18 - EPREFIX, EPREFIX_LSTRIP, BPREFIX, rootgid
19 + EPREFIX, EPREFIX_LSTRIP, BPREFIX, rootuid, rootgid
20
21 from portage.data import ostype, lchown, userland, secpass, uid, wheelgid, \
22 portage_uid, portage_gid, userpriv_groups
23 @@ -137,7 +137,7 @@
24
25 bsd_chflags = None
26
27 -if platform.system() in ('FreeBSD',):
28 +if platform.system() in ('FreeBSD',) and rootuid == 0:
29
30 class bsd_chflags(object):