rpm question...

Rex Dieter rdieter at math.unl.edu
Thu Mar 9 02:22:09 UTC 2006


bruce wrote:

> when i have an rpm, and i do a "rpm -ivh foo.rpm", what file within the rpm
> is run to install/start any scripts? also, are the required files within the
> rpm itself, so that i could take an rpm, expand it, make changes to the
> files/structure, and rebuild the rpm?

In general, rpms are all self-contained.  AFAIK, there is no (easy/sane)
way to expand an rpm, modify it, and pack it back together.

The recommended method of modifying existing rpms is to start with its
SOURCE rpm, or srpm, make your modifications, and then (re)build from that.

-- Rex




More information about the fedora-list mailing list