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

Linus Walleij triad at df.lth.se
Tue Nov 8 10:03:01 UTC 2005


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

Linus




More information about the fedora-extras-list mailing list