Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 122527 - Allow emerge to save its --resume data
Summary: Allow emerge to save its --resume data
Status: RESOLVED FIXED
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Enhancement/Feature Requests (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords: InVCS
: 122535 (view as bug list)
Depends on:
Blocks: 115839
  Show dependency tree
 
Reported: 2006-02-12 01:42 UTC by Mathijs Mohlmann
Modified: 2006-03-11 14:04 UTC (History)
0 users

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


Attachments
patch that makes a backup mergelist automatically (resume_backup.patch,1.54 KB, patch)
2006-02-22 23:02 UTC, Zac Medico
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Mathijs Mohlmann 2006-02-12 01:42:36 UTC
while doing a long emerge world and emerge quits after a build error, I have to do i few emerges to get the build working again.   But after that i would like to be able to do emerge --resume, but there is nothing to resume since the last emerge wrote over the resume data.

Is it possible to only overwrite the resume data when emerge quits with a failure (so i will be able to resume the last faulted emerge) or something like 'resume --saveresume'.
Comment 1 Jason Stubbs (RETIRED) gentoo-dev 2006-02-12 02:46:13 UTC
*** Bug 122535 has been marked as a duplicate of this bug. ***
Comment 2 Zac Medico gentoo-dev 2006-02-22 23:02:08 UTC
Created attachment 80499 [details, diff]
patch that makes a backup mergelist automatically

When emerge would normally discard resume data, this patch causes it to save backup resume data if the length of the merge list is greater than 1.  When the user calls `emerge --resume` and there is nothing else to resume, the backup merge list is automatically used instead.
Comment 3 Zac Medico gentoo-dev 2006-03-10 23:27:16 UTC
This is in r2847 for release in 2.1_pre6.
Comment 4 Zac Medico gentoo-dev 2006-03-11 14:04:58 UTC
Released in 2.1_pre6.