FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Packaging

 
 
LinkBack Thread Tools
 
Old 10-05-2011, 08:51 PM
Paul Howarth
 
Default Creation of directories via tmpfiles.d directly after package installation

On 05/10/2011 19:02, Tom Lane wrote:
> Jochen Schmitt<Jochen@herr-schmitt.de> writes:
>> I have implement the creation of the /var/run/news directory in the
>> inn package via tmpfiles.d.
>
>> But It's seems, that the directory will not created directly after the
>> package was installed. so I have add the line
>> systemd-tmpfiles --create %{_sysconfdir}/tmpfiles/inn.conf
>> on the %post stanza.
>
> That's not the way to do it. You should create the directory via the
> normal RPM methods for including a directory --- that is, make the
> directory in the install root and include it in the %files list.

Agreed: this means that the package properly owns the directory, unlike
in the creation-in-%post case.

Paul.
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 
Old 10-06-2011, 06:18 AM
Ville Skyttä
 
Default Creation of directories via tmpfiles.d directly after package installation

On 10/05/2011 08:05 PM, Jochen Schmitt wrote:

> I have look on
>
> http://www.maclife.de/
>
> to be sure to confim with the packaging guidelines. Unfortunately,
> I could not found any information to this related topic.

Hmm, Fedora packaging guidelines at www.maclife.de?

See http://fedoraproject.org/wiki/Packaging:Tmpfiles.d
--
packaging mailing list
packaging@lists.fedoraproject.org
https://admin.fedoraproject.org/mailman/listinfo/packaging
 

Thread Tools




All times are GMT. The time now is 05:22 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright ©2007 - 2008, www.linux-archive.org