Re: equivalent of Debian config-package?

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

 



Neal Gompa wrote:
> No such thing currently exists, because an equivalent to `dpkg-divert`
> does not exist in RPM.

You are probably aware of this, but for the other readers of this thread:

File triggers can be (ab)used to do something like that, though it's not as 
easy as running a `dpkg-divert` command, you have to build a dummy package 
with a file trigger that munges the file.

An example of what you can do with file triggers:
https://svn.calcforge.org/viewvc/kannolo/trunk/packages/kannolo-root-unlocker/kannolo-root-unlocker.spec?revision=270&view=markup

And you can actually even modify packaged files in place with file triggers. 
I opted against doing that in kannolo-root-unlocker because it has some 
drawbacks (produces errors in rpm -V and makes delta RPMs not apply), which 
do however not apply if the files being munged by the file trigger are 
marked %config in the package actually owning them.

        Kevin Kofler
_______________________________________________
devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx/message/T6K6VAVHHXFFJNOIP3DDAHT4WS4A63X2/




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Users]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]

  Powered by Linux