On Mittwoch, 9. Januar 2008 19:01:27 Dan Stromberg wrote:
We want to automate our install as much as possible, and some here believe that rpm is the right way to automate it, including rpm file dual ownership.
For example, we want to throw a getty on ttyS0 - for that we need to change /etc/inittab. The approach so far has been to replace /etc/inittab. I'm now trying to gently pitch changing it from a post and postun.
I would prefer autoyast, but I like to show you two other possible options: Alternatively, you can add the files as "normal" files in the filelist of your package (without %config) - So they're no config files any longer and would not be updated by the original RPM. But this also implements, that user changes are lost if you update _your_ package. (You can perhaps fix this in the %pre and %post with md5sum comparison or something else -- re-implement the wheel...) => ugly, but works for config files ;-) Or try to re-package the rpms you need containing "your" settings. This means: * watch for updates of the main package (and rebuild your own) * import your own gpg-key to the user machine Regards, Lars --------------------------------------------------------------------- To unsubscribe, e-mail: opensuse-packaging+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-packaging+help@opensuse.org