Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make eprefix=None params map to const.EPREFIX | Zac Medico | 2011-12-10 | 3 | -5/+6 |
| | |||||
* | actions.py: fix grammar in comment | Zac Medico | 2011-12-10 | 1 | -1/+1 |
| | |||||
* | Binpkg: move imports to top | Zac Medico | 2011-12-10 | 1 | -2/+2 |
| | |||||
* | repoman: eliminate eclass_db variable | Zac Medico | 2011-12-10 | 1 | -3/+2 |
| | |||||
* | Use portage.shutil for safer unicode handling. | Zac Medico | 2011-12-10 | 15 | -19/+16 |
| | |||||
* | vartree.py: lazy movefile import | Zac Medico | 2011-12-10 | 1 | -1/+1 |
| | |||||
* | movefile.py: open /dev/null in binary mode | Zac Medico | 2011-12-10 | 1 | -1/+1 |
| | |||||
* | get_term_size: all values >= 0 for bug #394091 | Zac Medico | 2011-12-10 | 1 | -5/+10 |
| | |||||
* | Remove redundant eprefix in config constructors. | Zac Medico | 2011-12-10 | 2 | -9/+6 |
| | | | | | Since commit 11a7448f1d5a0bfb38f8de9d66a8fa8d7118c877, the config constructor uses portage.const.EPREFIX by default. | ||||
* | config.environ: allow prefix vars if no EAPI | Zac Medico | 2011-12-10 | 1 | -2/+2 |
| | | | | | This allows access to EPREFIX inside things like post_sync hooks, where EAPI is undefined. | ||||
* | doebuild: disable noauto for binpkgs later | Zac Medico | 2011-12-10 | 1 | -4/+8 |
| | | | | | This is safer since doebuild_environment() can modify FEATURES if setcpv isn't called before. | ||||
* | emerge: allow search when profile is missing | Zac Medico | 2011-12-09 | 1 | -2/+2 |
| | |||||
* | Make portdbapi.eclassdb a property. | Zac Medico | 2011-12-09 | 1 | -1/+7 |
| | |||||
* | config: set PORTAGE_OVERRIDE_EPREFIX for subprocs | Zac Medico | 2011-12-09 | 1 | -0/+5 |
| | |||||
* | Rename override var to PORTAGE_OVERRIDE_EPREFIX. | Zac Medico | 2011-12-09 | 5 | -6/+6 |
| | |||||
* | create_trees: add public eprefix parameter | Zac Medico | 2011-12-09 | 2 | -6/+4 |
| | |||||
* | config: make eprefix constructor parameter public | Zac Medico | 2011-12-09 | 5 | -16/+12 |
| | |||||
* | config: constructor default portage.const.EPREFIX | Zac Medico | 2011-12-09 | 1 | -1/+2 |
| | |||||
* | Use portage.const.EPREFIX more. | Zac Medico | 2011-12-09 | 10 | -13/+11 |
| | |||||
* | portage.util.movefile._copyxattr(): Print more informative exception | Arfrever Frehtes Taifersar Arahesis | 2011-12-10 | 1 | -3/+18 |
| | | | | when target filesystem does not support extended attributes. | ||||
* | Add portage.exception.OperationNotSupported exception. | Arfrever Frehtes Taifersar Arahesis | 2011-12-10 | 1 | -0/+4 |
| | |||||
* | Binpkg: ensure $ED exists after extraction | Zac Medico | 2011-12-09 | 1 | -0/+1 |
| | |||||
* | Binpkg: handle missing dir after chpathtool | Zac Medico | 2011-12-09 | 1 | -5/+11 |
| | |||||
* | Binpkg: fix os.path.dirname() usage | Zac Medico | 2011-12-09 | 1 | -1/+1 |
| | | | | It doesn't behave as intended for $ED which has a trailing slash. | ||||
* | Binpkg: add chpathtool support for prefix | Zac Medico | 2011-12-09 | 2 | -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 spelling | Zac Medico | 2011-12-09 | 1 | -2/+2 |
| | |||||
* | Support FEATURES=xattr. | Zac Medico | 2011-12-09 | 3 | -3/+10 |
| | |||||
* | portage.util.movefile._copyxattr(): Support usage of xattr module from | Arfrever Frehtes Taifersar Arahesis | 2011-12-10 | 1 | -18/+27 |
| | | | | dev-python/pyxattr. | ||||
* | portage.util.movefile._copyxattr(): Support usage of getfattr and | Arfrever Frehtes Taifersar Arahesis | 2011-12-10 | 1 | -4/+23 |
| | | | | setfattr executables. | ||||
* | data.py: grp/pwd struct attrs, not indexes | Zac Medico | 2011-12-09 | 1 | -2/+2 |
| | |||||
* | Auto-generate PORTAGE_GRP/USERNAME for prefix. | Zac Medico | 2011-12-09 | 1 | -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 Medico | 2011-12-09 | 2 | -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_root | Zac Medico | 2011-12-09 | 1 | -0/+4 |
| | |||||
* | Delete portage.dbapi.porttree._repo_info class and _repo_info attribute of | Arfrever Frehtes Taifersar Arahesis | 2011-12-09 | 5 | -31/+13 |
| | | | | | portage.dbapi.porttree.portdbapi objects. Migrate consumers to repositories attribute of portage.dbapi.porttree.portdbapi objects. | ||||
* | tests/bin: sanitize env | Zac Medico | 2011-12-08 | 1 | -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 Arahesis | 2011-12-09 | 2 | -17/+23 |
| | |||||
* | load_emerge_config: init portage.data earlier | Zac Medico | 2011-12-08 | 1 | -7/+10 |
| | | | | | The portage_uid initialization here must to happend before the _init_dirs() calls. | ||||
* | Enable PORTAGE_GRPNAME/USERNAME in make.conf. | Zac Medico | 2011-12-08 | 4 | -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 Medico | 2011-12-08 | 1 | -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-dir | Zac Medico | 2011-12-08 | 2 | -1/+6 |
| | | | | This allows prefix installs to avoid hardcoding archive-dir. | ||||
* | etc-update: use PORTAGE_INST_UID/GID | Zac Medico | 2011-12-08 | 1 | -2/+4 |
| | |||||
* | make.globals: use ${EPREFIX} for PORTDIR, etc... | Zac Medico | 2011-12-08 | 2 | -5/+8 |
| | |||||
* | Use 'wget' instead of /usr/bin/wget everywhere. | Zac Medico | 2011-12-08 | 3 | -7/+7 |
| | | | | This reduces the amount of patching needed for prefix installs. | ||||
* | etc-update: experimental prefix support | Zac Medico | 2011-12-08 | 1 | -3/+3 |
| | |||||
* | Whitelist/filter __PORTAGE_TEST_EPREFIX. | Zac Medico | 2011-12-08 | 2 | -2/+3 |
| | |||||
* | Support FEATURES=force-prefix. | Zac Medico | 2011-12-08 | 32 | -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 support | Zac Medico | 2011-12-07 | 2 | -4/+6 |
| | |||||
* | Save EPREFIX in vdb when appropriate. | Zac Medico | 2011-12-07 | 1 | -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 Medico | 2011-12-07 | 30 | -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 #393517 | Zac Medico | 2011-12-07 | 2 | -5/+31 |
| |