On Mon, 29 Jul 2013 14:18:03 +0300, Nikos Chantziaras wrote: > Normally, when I'm about to update an important package, I back it up > first using quickpkg. I'm often in a situation though where many > important packages are being updated in a world update. Normally, I > have to manually quickpkg every one of them. > > Is there a way to tell emerge to do this on its own? That is, create > binary packages of every package that it is replacing?
You could parse the emerge output to build a list of packages and pass that to quickpkg. You could even do his as a script in /etc/portage/postsync.d to have it done automatically, but the simplest long term solution is to add buildpkg to FEATURES, then you don't have to try to anticipate which packages you need to backup. You can process all existing packages with quickpkg \*/\* I suspect you could also do this be defining a custom src_setup function in /etc/portage/bashrc - FEATURES="buildpkg" is a lot less hassle unless you are really tight on disk space. -- Neil Bothwick If ignorance is bliss, you must be orgasmic.
signature.asc
Description: PGP signature

