Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 687734

Summary: sys-apps/portage-2.3.67: RPMDIR still defaults to /usr/portage/rpm
Product: Portage Development Reporter: Ulrich Müller <ulm>
Component: Core - ConfigurationAssignee: Portage team <dev-portage>
Status: RESOLVED FIXED    
Severity: normal Keywords: InVCS
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
See Also: https://bugs.gentoo.org/show_bug.cgi?id=525618
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 662982, 686768    
Attachments: Update default RPMDIR to /var/cache/rpm.

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!