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

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

 



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@xxxxxxxxxx          <http://mattdm.org/>
Boston University Linux      ------>              <http://linux.bu.edu/>

_______________________________________________
Rpm-list mailing list
Rpm-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/rpm-list

[Index of Archives]     [RPM Ecosystem]     [Linux Kernel]     [Red Hat Install]     [PAM]     [Red Hat Watch]     [Red Hat Development]     [Red Hat]     [Gimp]     [Yosemite News]     [IETF Discussion]

  Powered by Linux