Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 687734 - sys-apps/portage-2.3.67: RPMDIR still defaults to /usr/portage/rpm
Summary: sys-apps/portage-2.3.67: RPMDIR still defaults to /usr/portage/rpm
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Configuration (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks: 662982 686768
  Show dependency tree
 
Reported: 2019-06-09 19:35 UTC by Ulrich Müller
Modified: 2019-08-01 19:19 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
Update default RPMDIR to /var/cache/rpm. (0001-Update-default-RPMDIR-to-var-cache-rpm.patch,3.49 KB, patch)
2019-06-09 19:57 UTC, Ulrich Müller
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Ulrich Müller gentoo-dev 2019-06-09 19:35:06 UTC
Looks like we missed that one when updating DISTDIR and PKGDIR. (Presumably because nobody uses RPMs. :) Leaving it as the only subdir in /usr/portage doesn't make much sense.

I suggest to update the default to /var/cache/rpm.
Comment 1 Ulrich Müller gentoo-dev 2019-06-09 19:57:43 UTC
Created attachment 579332 [details, diff]
Update default RPMDIR to /var/cache/rpm.
Comment 2 Larry the Git Cow gentoo-dev 2019-06-09 22:08:51 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/proj/portage.git/commit/?id=0f934d642c3d9cbba66f9e34c821f49cf5b0c8f0

commit 0f934d642c3d9cbba66f9e34c821f49cf5b0c8f0
Author:     Ulrich Müller <ulm@gentoo.org>
AuthorDate: 2019-06-09 19:52:31 +0000
Commit:     Zac Medico <zmedico@gentoo.org>
CommitDate: 2019-06-09 21:37:19 +0000

    Update default RPMDIR to /var/cache/rpm.
    
    After the other locations have been updated, RPMDIR is the only
    directory with a default under /usr/portage. Update its default along
    the lines of PKGDIR.
    
    Bug: https://bugs.gentoo.org/687734
    Signed-off-by: Ulrich Müller <ulm@gentoo.org>
    Signed-off-by: Zac Medico <zmedico@gentoo.org>

 cnf/make.globals                                 |  2 +-
 lib/portage/_compat_upgrade/default_locations.py | 13 ++++++++++++-
 man/make.conf.5                                  |  4 ++--
 3 files changed, 15 insertions(+), 4 deletions(-)
Comment 3 Zac Medico gentoo-dev 2019-06-09 22:12:30 UTC
Thanks!