summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* create_trees: add public eprefix parameterZac Medico2011-12-092-6/+4
|
* config: make eprefix constructor parameter publicZac Medico2011-12-095-16/+12
|
* config: constructor default portage.const.EPREFIXZac Medico2011-12-091-1/+2
|
* Use portage.const.EPREFIX more.Zac Medico2011-12-0910-13/+11
|
* portage.util.movefile._copyxattr(): Print more informative exceptionArfrever Frehtes Taifersar Arahesis2011-12-101-3/+18
| | | | when target filesystem does not support extended attributes.
* Add portage.exception.OperationNotSupported exception.Arfrever Frehtes Taifersar Arahesis2011-12-101-0/+4
|
* Binpkg: ensure $ED exists after extractionZac Medico2011-12-091-0/+1
|
* Binpkg: handle missing dir after chpathtoolZac Medico2011-12-091-5/+11
|
* Binpkg: fix os.path.dirname() usageZac Medico2011-12-091-1/+1
| | | | It doesn't behave as intended for $ED which has a trailing slash.
* Binpkg: add chpathtool support for prefixZac Medico2011-12-092-5/+241
| | | | | | This uses a python-based chpathtool implementation which is intended to be compatible with the C-based implemenation that the prefix branch uses.
* BinpkgEnvExtractor: fix PORTAGE_LOG_FILE spellingZac Medico2011-12-091-2/+2
|
* Support FEATURES=xattr.Zac Medico2011-12-093-3/+10
|
* portage.util.movefile._copyxattr(): Support usage of xattr module fromArfrever Frehtes Taifersar Arahesis2011-12-101-18/+27
| | | | dev-python/pyxattr.
* portage.util.movefile._copyxattr(): Support usage of getfattr andArfrever Frehtes Taifersar Arahesis2011-12-101-4/+23
| | | | setfattr executables.
* data.py: grp/pwd struct attrs, not indexesZac Medico2011-12-091-2/+2
|
* Auto-generate PORTAGE_GRP/USERNAME for prefix.Zac Medico2011-12-091-0/+20
| | | | | | For prefix environments, default to the UID and GID of the top-level EROOT directory. This allows us to avoid using hardcoded defaults. It's still possible to override these variables via make.conf.
* Auto-generate PORTAGE_INST_GID/UID for prefix.Zac Medico2011-12-092-8/+20
| | | | | | For prefix environments, default to the UID and GID of the top-level EROOT directory. This allows us to avoid using hardcoded defaults. It's still possible to override these variables via make.conf.
* portageq: get_repo* uses_rootZac Medico2011-12-091-0/+4
|
* Delete portage.dbapi.porttree._repo_info class and _repo_info attribute ofArfrever Frehtes Taifersar Arahesis2011-12-095-31/+13
| | | | | portage.dbapi.porttree.portdbapi objects. Migrate consumers to repositories attribute of portage.dbapi.porttree.portdbapi objects.
* tests/bin: sanitize envZac Medico2011-12-081-3/+3
| | | | This fixes interference from FEATURES=force-prefix in the env.
* Add eclass_db attribute in portage.repository.config.RepoConfig objects.Arfrever Frehtes Taifersar Arahesis2011-12-092-17/+23
|
* load_emerge_config: init portage.data earlierZac Medico2011-12-081-7/+10
| | | | | The portage_uid initialization here must to happend before the _init_dirs() calls.
* Enable PORTAGE_GRPNAME/USERNAME in make.conf.Zac Medico2011-12-084-59/+118
| | | | | | | | This is handy for prefix installs, since it allows these variables to be set in make.conf rather than having them hardcoded. Eventually, the corresponding portage.data constants may be deprecated in favor of config attributes, since it's conceivable that multiple configurations with different constants could be used simultaneously.
* Add portage.const.EPREFIX, for prefix installs.Zac Medico2011-12-081-0/+18
| | | | | | | The EPREFIX for the current install is hardcoded here, but access to this constant should be minimal, in favor of access via the EPREFIX setting of a config instance (since it's possible to contruct a config instance with a different EPREFIX).
* dispatch-conf: substitute ${EPREFIX} archive-dirZac Medico2011-12-082-1/+6
| | | | This allows prefix installs to avoid hardcoding archive-dir.
* etc-update: use PORTAGE_INST_UID/GIDZac Medico2011-12-081-2/+4
|
* make.globals: use ${EPREFIX} for PORTDIR, etc...Zac Medico2011-12-082-5/+8
|
* Use 'wget' instead of /usr/bin/wget everywhere.Zac Medico2011-12-083-7/+7
| | | | This reduces the amount of patching needed for prefix installs.
* etc-update: experimental prefix supportZac Medico2011-12-081-3/+3
|
* Whitelist/filter __PORTAGE_TEST_EPREFIX.Zac Medico2011-12-082-2/+3
|
* Support FEATURES=force-prefix.Zac Medico2011-12-0832-57/+60
| | | | | | | This adjusts the logic from commit ff52f9dc31004becb8022e6437088d01917f413c to use FEATURES=force-prefix instead of USE=prefix. This has the advantage that we don't have to make any assumptions about the USE=prefix.
* dispatch-conf: experimental prefix supportZac Medico2011-12-072-4/+6
|
* Save EPREFIX in vdb when appropriate.Zac Medico2011-12-071-0/+14
| | | | | | The prefix branch already does this since it makes it easy to use chpathtool to adjust the content of a binary package so that it will work in a different EPREFIX from the one is was built for.
* Make USE=prefix enable EPREFIX in all EAPIs.Zac Medico2011-12-0730-46/+103
| | | | | | | | This is safe because the prefix flag should be masked in all non-prefix profiles, and older EAPIs would otherwise be useless with prefix configurations. This brings compatibility with the prefix branch of portage, which also supports EPREFIX for all EAPIs (for obvious reasons).
* man: document fixpackages for bug #393517Zac Medico2011-12-072-5/+31
|
* sets.docbook: fix 'strictly' spellingZac Medico2011-12-061-1/+1
|
* ebuild.sh: don't export inherit E_* varsZac Medico2011-12-061-5/+5
|
* emerge-webrsync: use --quiet with --check-newsZac Medico2011-12-061-1/+2
| | | | This suppresses output if there are no relevant items.
* emerge-webrsync: call emerge --check-newsZac Medico2011-12-061-0/+1
|
* action_sync: fix git_sync_timestamps KeyErrorZac Medico2011-12-061-8/+15
| | | | This fixes the case where $PORTDIR doesn't exist prior to sync.
* ebuild.sh: add note about quoting export ${FOO}=Zac Medico2011-12-041-0/+1
|
* ebuild.sh: quote sandbox export argsZac Medico2011-12-041-5/+5
|
* fix logic from last commitZac Medico2011-12-041-1/+2
|
* depgraph: fix case insensitive search for unsatZac Medico2011-12-041-3/+11
| | | | | | | This fixes an interaction between the code from commits 9ce6da43ab90c4dab97ebf3b8339e5dbc113a0a8 and cbe44d92ff13b8a22f5b4215b73078ce600c6bf4, so that we don't discard matches that are identical except for differnces in upper/lower case.
* action_depclean: fix return codeZac Medico2011-12-022-5/+10
| | | | | | The fixes some cases where emerge.log would show that depclean was unsuccessful when it was really successful but there was nothing to remove.
* Handle OSError from os.read and loop if needed.Zac Medico2011-12-013-23/+29
| | | | | | Looping fixes EbuildMetadataPhase failures for ebuilds that produce more than 4096 bytes of metadata, broken since commit b432a1b3051d91546649e8f3190675767461d8e8.
* process._exec: tweak opt_name for PyPyZac Medico2011-12-011-1/+6
| | | | | PyPy 1.7 will die due to "libary path not found" if argv[0] does not contain the full path of the binary.
* PipeReader: use os.read/writeZac Medico2011-12-011-19/+11
|
* test_uniqueArray.py: fix 'is' usage PyPy incompatZac Medico2011-12-011-3/+3
|
* AsynchronousLock: use os.read/writeZac Medico2011-12-011-15/+28
| | | | | | Similar to commit b432a1b3051d91546649e8f3190675767461d8e8, don't use unecessary file objects. It also happens that these changes fix compatibility issues with PyPy.