Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 145941
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Gentoo Catalyst Developers <catalyst@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Andrew Gaffney <agaffney@gentoo.org>
Add CC:
CC:
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 145941 depends on: Show dependency tree
Bug 145941 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-09-01 20:40 0000
I just booted up the x86 2006.1 LiveCD, and I've got the overlay for the
updated gentoo-sources in /root. On my local system, the overlay path was
/root/catalyst/overlays/portage. This is the exact path (contents included) on
the LiveCD. The PORTDIR_OVERLAY line is also in the LiveCD's /etc/make.conf.

------- Comment #1 From Andrew Gaffney 2006-09-01 20:48:09 0000 -------
In modules/generic_stage_target.py, it looks like the portage_overlay directory
is copied over with full path into the chroot. PORTDIR_OVERLAY is also added
directly to make.conf. At no point in this file is the PORTDIR_OVERLAY line
removed from make.conf or the copied overlay removed from the chroot.

I recommend setting PORTDIR_OVERLAY in the env instead of in make.conf. Also,
use a known temp dir for the overlay, so you can just remove the whole dir tree
when done without fear of killing something important. rsync the overlay to
/tmp/portage_overlay or some other known directory. Even if it's left around,
it won't be so obvious.

------- Comment #2 From Chris Gianelloni (RETIRED) 2006-09-03 13:38:54 0000 -------
Actually, I'm trying to move away from doing things in the environment only. 
Instead, we'll likely be copying the "hosts" idea and making a backup of
make.conf, then making changes to make.conf, then restoring the backup when
we're done.

------- Comment #3 From Jakub Moc (RETIRED) 2006-09-13 03:56:40 0000 -------
*** Bug 147430 has been marked as a duplicate of this bug. ***

------- Comment #4 From Chris Gianelloni (RETIRED) 2006-11-22 08:43:28 0000 -------
OK.  I lied.  The "best" solution that I can come up with here is to create a
new function to remove the overlay from make.conf and the directory.  I still
like the idea of putting it into a known location, though.

------- Comment #5 From Chris Gianelloni (RETIRED) 2007-01-09 14:53:07 0000 -------
This should be fixed in subversion now...

------- Comment #6 From Chris Gianelloni (RETIRED) 2007-02-06 22:53:50 0000 -------
Fixed in 2.0.2

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug