Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] libdaemons localstatedir /usr/var
@ 2014-10-12  0:55 Jörg Krause
  2014-10-12  7:18 ` Thomas Petazzoni
  0 siblings, 1 reply; 9+ messages in thread
From: Jörg Krause @ 2014-10-12  0:55 UTC (permalink / raw)
  To: buildroot

I have a package which uses libdaemon for running as a daemoon and for 
creating the pid file. libdaemons default directory for opening the pid 
file is /usr/var/run. However, buildroot does not create this directory 
in the output directory by default. The package compiles successfully 
but fails to run because of the missing directory.

How should I deal with this?

1) patch libdaemon.mk: LIBDAEMON_CONF_OPTS = ... --localstatedir=/var
2) add /usr/var/run to my rootfs overlay directory

What do you think? Any other suggestions?


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20141012/e99f62df/attachment.html>

^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2014-10-17  8:53 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-10-12  0:55 [Buildroot] libdaemons localstatedir /usr/var Jörg Krause
2014-10-12  7:18 ` Thomas Petazzoni
2014-10-12  9:26   ` Jörg Krause
2014-10-12 13:09     ` Arnout Vandecappelle
2014-10-12 15:56       ` Jörg Krause
2014-10-12 16:13         ` Thomas Petazzoni
2014-10-12 16:18           ` Arnout Vandecappelle
2014-10-17  0:21       ` Jörg Krause
2014-10-17  8:53         ` Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox