[Rpm-maint] Python "rpm --verify"
Mike Brady
mike.brady at devnull.net.nz
Fri Mar 2 17:30:52 UTC 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Been there. The method in the examples is very slow. Better to use the
rpm.fi interface to access the file data.
Paul Nasrat wrote:
> On Sun, 2007-02-25 at 14:34 +1300, Mike Brady wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Thanks for the quick response. I am working on the bcfg2 project
>> http://trac.mcs.anl.gov/projects/bcfg2.
>>
>> The client side has drivers that support various aspects of a client's
>> configuration. One of the areas to cover is package management. There
>> are RPM and YUM drivers, but they need to be reworked because they have
>> a number of issues.
>>
>> Functionality is nothing earth shattering:
>> query (rpm -qa) for inventory
>> verify (rpm -V)
>
> For a start at file verification see
>
> http://people.redhat.com/pnasrat/rpm-python/rpm-python-slides/frames.html
>
> And look at putting it all together
>
> Paul
>
- --
Mike Brady
GPG Key ID: 0x9C777DA4
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iD8DBQFF6F9M6xLAi5x3faQRAiisAJ46p/gLAFbK0nY8A4rJM14GvETyfACdEXEO
OaspTJImBMH2HNOHukNABzk=
=7WGi
-----END PGP SIGNATURE-----
More information about the Rpm-maint
mailing list