/[soft]
ViewVC logotype

Revision 7751


Jump to revision: Previous Next
Author: tv
Date: Mon Apr 1 13:45:57 2013 UTC (11 years ago)
Changed paths: 2
Log Message:
fix package count when a package has a %pretrans scriptlet

(spot by Colin on installing a minimal system with urpmi)

callback_open got called one too much (it got called twice for first
package which is actually filesystem), thus we bump the index one too
much.

the call chain is:
rpmtsRun() -> runTransScripts() -> rpmteProcess() which says:
    /* Dont bother opening for elements without pre/posttrans scripts */

But since we now have package ('filesystem') with %pretrans due to /usr
migration, it goes further and calls rpmteOpen()->rpmteFDHeader() which
notifys us about a package opening in order to get its file descriptor.

Changed paths

Path Details
Directoryrpm/urpmi/trunk/NEWS modified , text changed
Directoryrpm/urpmi/trunk/urpm/install.pm modified , text changed

  ViewVC Help
Powered by ViewVC 1.1.30