Summary: | sys-apps/portage need_write_bindb check breaks --usepkgonly for ro /usr/portage/packages | ||
---|---|---|---|
Product: | Portage Development | Reporter: | Hank Leininger <hlein> |
Component: | Binary packages support | Assignee: | Portage team <dev-portage> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | 1i5t5.duncan, hlein |
Priority: | Normal | Keywords: | InVCS, REGRESSION |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 484436 |
Description
Hank Leininger
2015-02-25 03:45:28 UTC
(In reply to Hank Leininger from comment #0) > A recent change to _emerge/actions.py added a check if $PKGDIR was writable > before emerge would proceed. It has a few exceptions that will skip that > test, like if --pretend was used. I propose/request that --usepkgonly also > be an exception. Makes sense. Thanks for the followup on bug #490732 (mine, triggering this change in the first place) letting me know about this. Yes, --usepkgonly/-K is another corner case obviously nobody thought of, but that doesn't mean people (like you) aren't running it somewhere. With the new larger group of devs working on portage now, and with your mention of the commit and specific code, it should be an easy fix, and therefore hopefully a fast fix. =:^) Duncan There's a patch in the following branch: https://github.com/zmedico/portage/tree/bug_541302 I've posted it for review here: http://thread.gmane.org/gmane.linux.gentoo.portage.devel/5274 This is in the master branch: https://github.com/gentoo/portage/commit/0b453300f4da44a8a32e05f6d75da18847806739 Released in portage-2.2.18 |