nostromo: fix installed but not shipped /run and /run/nostromo warnings
authorJonathan Liu <net147@gmail.com>
Mon, 8 Jul 2013 13:20:32 +0000 (23:20 +1000)
committerPatrick Ohly <patrick.ohly@intel.com>
Fri, 9 Jan 2015 16:31:29 +0000 (08:31 -0800)
commit0af43414c29f42fab9ea2e38a10905be2c1f6ea8
treed96b743491b0495b1186db31e215797f828c6fb0
parent1b561925af8a5099a3a78a5876f64fae0f4423ce
nostromo: fix installed but not shipped /run and /run/nostromo warnings

Changes:
- Remove unnecessary -c option from install
- Add tmpfiles.d config to create /run/nostromo when systemd is
  enabled in DISTRO_FEATURES
- Add postinst script to create /run/nostromo using tmpfiles.d if
  running systemd (detected by existence of /sys/fs/cgroup/systemd),
  otherwise using populate-volatile.sh if it exists
- Remove /var/log/nostromo and /var/run/nostromo from package

(From meta-openembedded rev: a8e0bfb91214f1f387b781b89340eee582496c01)

Signed-off-by: Jonathan Liu <net147@gmail.com>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
meta-openembedded/meta-webserver/recipes-httpd/nostromo/files/tmpfiles.conf [new file with mode: 0644]
meta-openembedded/meta-webserver/recipes-httpd/nostromo/nostromo_1.9.5.bb