On Sun, May 15, 2005 at 09:56:54PM -0400, David Stanek wrote:
> On Sun, May 15, 2005 at 06:12:13PM -0700, John Myers wrote:
> > On Sunday 15 May 2005 16:41, david stanek wrote:
> > > Add an option to emerge, --backup or something
> > > similar, that will automatically run quickpkg.
> > 
> > If you set FEATURES="buildpkg", portage automatically makes binary packages 
> > for you. No need to add new support.
> 
> That would build a binary package for the potentially broken
> package. What it would need to do is build a binary package of the
> existing merged package. So a user can recover from a botched
> upgrade.

Actually a very simple safe-emerge script can be easily written. It
could first do an 'emerge --buildpkg' on the existing merged package,
if that package was already merged.

The other part would be to create a statically linked version of tar
that can be used in a recovery situation.

-- 
David Stanek
www.roninds.net

GPG keyID #6272EDAF on http://pgp.mit.edu
Key fingerprint = 8BAA 7E11 8856 E148 6833  655A 92E2 3E00 6272 EDAF

Attachment: pgpvGsYgziGCW.pgp
Description: PGP signature

Reply via email to