Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 166420 - portage autoresume point isn't cleared at end of stage run
Summary: portage autoresume point isn't cleared at end of stage run
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Hosted Projects
Classification: Unclassified
Component: Catalyst (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo Catalyst Developers
URL:
Whiteboard:
Keywords: InVCS
Depends on:
Blocks:
 
Reported: 2007-02-11 21:31 UTC by Andrew Gaffney (RETIRED)
Modified: 2007-03-20 17:17 UTC (History)
0 users

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


Attachments
patch to clear portage autoresume point (catalyst_portage_autoresume.patch,536 bytes, patch)
2007-02-11 21:32 UTC, Andrew Gaffney (RETIRED)
Details | Diff
patch to remove check for autoresume point in setup_portage() (catalyst_remove_portage_autoresume_check.patch,834 bytes, patch)
2007-02-11 22:03 UTC, Andrew Gaffney (RETIRED)
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Andrew Gaffney (RETIRED) gentoo-dev 2007-02-11 21:31:53 UTC
Since the portage autoresume point is put at /tmp/.clst_portage inside the chroot, it isn't removed as part of the normal autoresume cleanup code. I'm attaching a small patch that should take care of this special case.
Comment 1 Andrew Gaffney (RETIRED) gentoo-dev 2007-02-11 21:32:21 UTC
Created attachment 109898 [details, diff]
patch to clear portage autoresume point
Comment 2 Andrew Gaffney (RETIRED) gentoo-dev 2007-02-11 21:59:55 UTC
Alternatively, we can just kill the autoresume check for portage like you've done for ccache and distcc, since it takes very little time to emerge portage. That's probably the better solution. That will allow the patch in bug 166426 to be used with pre-existing stage3 seeds.
Comment 3 Andrew Gaffney (RETIRED) gentoo-dev 2007-02-11 22:03:15 UTC
Created attachment 109903 [details, diff]
patch to remove check for autoresume point in setup_portage()
Comment 4 Chris Gianelloni (RETIRED) gentoo-dev 2007-02-12 22:08:14 UTC
I've gone w/ approach #2
Comment 5 Chris Gianelloni (RETIRED) gentoo-dev 2007-03-20 17:17:23 UTC
This is fixed in 2.0.3 which should be hitting the tree shortly.