Article 4SECC pkgtools: upgradepkg optimisation

pkgtools: upgradepkg optimisation

by
Andypoo
from LinuxQuestions.org on (#4SECC)
I noticed recently the change for --no-overwrite in installpkg and that got me thinking about something that has been on my mind for a while.

When I am doing machine upgrades (more common now with -current), then I am noticing a lot the time spent verifying/decompressing.

The change for no-overwrite got me looking at the installpkg/upgradepkg code, and I noticed that the current flow I believe includes 2 verifications (effectively, due to the two calls to installpkg if I'm not mistaken).

With the introduction of --no-overwrite, would it also be possible/appropriate to remove the verification from the second installpkg pass aswell?

Andypoo.latest?d=yIl2AUoC8zA latest?i=cSasbgFyODM:DYUKzi2mMg0:F7zBnMy latest?i=cSasbgFyODM:DYUKzi2mMg0:V_sGLiP latest?d=qj6IDK7rITs latest?i=cSasbgFyODM:DYUKzi2mMg0:gIN9vFwcSasbgFyODM
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments