Upcoming changes (in 1.4.1)

Anders F Björklund afb at algonet.se
Sat Aug 20 07:40:56 PDT 2011


Jeff Johnson wrote:

> Could you also try to populate the repository origin
> of the package? This should be pretty simple:
> 	A call to headerSetOrigin() somewhere.
> There's also (used by rpmrepo but otherwise mostly *shrug*)
> in diminishing priority:
> 	headerSetDigest()
> 	headerSetStatbuf()
> 	headerSetStartOff()
> 	headerSetEndOff()
> 	headerSetBaseURL()
> that would make it easier to re-generate repo-md spewage directly
> from whatever is installed by smart in an rpmdb.

Currently these are getting set, when installing:
Packageorigin: /var/lib/smart/packages/*.rpm
Packagestat: <struct stat, of the above file> 

That origin path is to the (temporary) location,
which will (by default) be removed after install.
Not sure why the digest isn't being set (by rpm) ?

Anyway, not enough information to regenerate md...

--anders




More information about the Smart mailing list