[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: How to write a spec file to revise various config files?



On Fri, Dec 08, 2006 at 11:12:11PM -0600, Paul Johnson wrote:
> I asked this question in the Fedora users list, but can't get an
> answer that looks right to me.
> After installing Fedora, I want to replace various configuration files
> on lab computers. If I can learn how to do this in the post section of
> an RPM spec file, I will be happy.  For example, I want/need to
> replace things like

I don't think rpm post scripts are the best mechanism for this. You could
either use a tool like cfengine to manage the files, or do what we do at BU
-- make modified versions of the RPMs in our own repository. Although, to
change the system-auth defaults, you may need to actually patch the
authconfig program (or anaconda).

Or, you could just make the changes in a standardized kickstart post script,
which is what I think most people do.


-- 
Matthew Miller           mattdm mattdm org          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]