RPM Community Forums

Mailing List Message of <rpm-devel>

Re: 4.5 features: Automagically export package metadata

From: Jeff Johnson <n3npq@mac.com>
Date: Mon 11 Jun 2007 - 22:22:31 CEST
Message-Id: <0F9D0FC5-A82E-474F-8EF7-6D5523424670@mac.com>

On Jun 11, 2007, at 4:18 PM, Michael Jennings wrote:

> On Friday, 08 June 2007, at 19:26:29 (-0400),
> Jeff Johnson wrote:
>
>> But fam/imon/poll are perhaps overkill if all you want is to display
>> some readonly metadata in a file system like hierarchical
>> format. The automagic export in current rpm installs/erases (and
>> exports) exactly when the package is registered in an rpmdb.
>
> So an install/erase automatically kicks off an export?
>

Yes. You'll see the /var/cache/hrmib export if you install/upgrade  
with -vv.

The mechanism is likely to be generalized this month in the 4 ways I  
mentioned.

>> Write operations for a file system presentation to trigger, say, an
>> install/upgrade
>> would be slightly trickier. Likely the easiest implementation  
>> would be
>>      echo "/path/to/my/pkg*.rpm" > /rpm/install
>> as a means to install/upgrade a package, including all necessary
>> dependencies of course.
>
> Wasn't even going there. :-)
>

But I *want* to go there.

73 de Jeff
Received on Mon Jun 11 22:23:24 2007
Driven by Jeff Johnson and the RPM project team.
Hosted by OpenPKG and Ralf S. Engelschall.
Powered by FreeBSD and OpenPKG.