Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 572192 - Remove PORTDIR from make.conf in stage3
Summary: Remove PORTDIR from make.conf in stage3
Status: RESOLVED DUPLICATE of bug 560518
Alias: None
Product: Gentoo Release Media
Classification: Unclassified
Component: Stages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo Release Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-01-17 12:34 UTC by charles17
Modified: 2020-10-09 22:08 UTC (History)
2 users (show)

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


Attachments
/etc/portage/make.conf from stage3-amd64-20160114.tar.bz2 (make.conf,630 bytes, text/plain)
2016-01-17 12:34 UTC, charles17
Details

Note You need to log in before you can comment on or make changes to this bug.
Description charles17 2016-01-17 12:34:18 UTC
Created attachment 423138 [details]
/etc/portage/make.conf from stage3-amd64-20160114.tar.bz2

PORTDIR is deprecated according to https://wiki.gentoo.org/wiki/Project:Portage/Sync#Migration 

But it still appears in /etc/portage/make.conf as of stage3-amd64-20160114.tar.bz2 and should be removed from the stages.
Comment 1 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2016-11-14 02:42:19 UTC
I've poked others in catalyst about this patch:

diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 68ccb79..bbd2683 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1111,7 +1111,6 @@ class StageBase(TargetBase, ClearBase, GenBase):
                                for hostuseexpand in myuseexpandvars:
                                        myf.write(hostuseexpand + '="' + ' '.join(myuseexpandvars[hostuseexpand]) + '"\n')
 
-                       myf.write('PORTDIR="%s"\n' % self.settings['portdir'])
                        myf.write('DISTDIR="%s"\n' % self.settings['distdir'])
                        myf.write('PKGDIR="%s"\n' % self.settings['packagedir'])
 

This would address PORTDIR. I need to look again at the code to make sure we can do the same to PORTDIR_OVERLAY.
Comment 2 Jorge Manuel B. S. Vicetto (RETIRED) Gentoo Infrastructure gentoo-dev 2017-02-06 21:56:34 UTC
This bug is actually a duplicate.

*** This bug has been marked as a duplicate of bug 560518 ***