What do I need to do to write to /etc in an rpm?

Jeff Pitman jeff.pitman at gmail.com
Tue Nov 8 10:05:46 UTC 2005


On 11/8/05, Linus Walleij <triad at df.lth.se> wrote:
>
> On Tue, 8 Nov 2005, Paul wrote:
>
> > I have a kernel module which needs to be able to write files
> > to /etc/somewhere. What do I need to put into my .spec file to this?
>
> This might be a case for the rarely-used %ghost macro:
>
> http://rpm.org/max-rpm-snapshot/s1-rpm-inside-files-list-directives.html#S3-RPM-INSIDE-FLIST-GHOST-DIRECTIVE
>


Negative. Stick with %config. %ghost will delete and will not make it
available after rpm install.

--
-jeff
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://listman.redhat.com/archives/fedora-extras-list/attachments/20051108/7cfb4c96/attachment.htm>


More information about the fedora-extras-list mailing list