how to tst the "erase " functionality of an rpm

devzero2000 pinto.elia at gmail.com
Thu Feb 19 17:39:34 UTC 2009


On Thu, Feb 19, 2009 at 12:03 AM, Jennis Pruett <jennyp at lanl.gov> wrote:
> I am not allowed "root" on any system, but we build rpms to
> give to our sysadmins.
>
> My problem:  Using my .spec file, I create rpms.
> But I can't find any way to test what will happen when the rpm
> is obsolete and the systems folks have to do the rpm -e  rpm_that_I
> built_at_one_time_in_antoher_life.rpm
>
>
> I can cpio the rpm, and use the rpm -qip to check it. But there is no way
> that I know
> of, to verify that the erasure will actually remove everything.
>
> Anyone have an idea?
>
> Thanks,
> J

Use a chroot. Most also build in a chroot
http://fedoraproject.org/wiki/Projects/Mock

regards
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rpm.org/pipermail/rpm-list/attachments/20090219/5df17d2e/attachment.htm>


More information about the Rpm-list mailing list