RPM files md5sum

devzero2000 pinto.elia at gmail.com
Wed Mar 12 14:41:26 UTC 2014

An idea, untested,  is to write a toy script for etckeeper that fire after
the yum plugin. I suppose you are using yum of course.

Best regards
Il 12/mar/2014 15:07 "Dragos Diaconescu" <diaconescud at gmail.com> ha scritto:

> Hi,
> I would need to to save the md5sum for all of the files that exists into a
> rpm. I would need
> to store these md5sums for each file into a separate file, automatically
> after
> the rpm was installed.
> Is there any way to do this in the rpm build SPEC file, in the %post
> section?
> I would need something different than  the command "rpm -qp --dump <rpm
> file>".
> I would need these md5sums to be stored automatically after the rpm was
> installed.
> Thank you for your help.
> With kind regards,
> Dragos
> _______________________________________________
> Rpm-list mailing list
> Rpm-list at lists.rpm.org
> http://lists.rpm.org/mailman/listinfo/rpm-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20140312/74e9ae6f/attachment.html>

More information about the Rpm-list mailing list