mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-09 05:49:23 +00:00
collectd: remove empty /var/run directory
The /var/run directory is already created by base-files. Signed-off-by: Jonathan Liu <net147@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
committed by
Martin Jansa
parent
20e0708594
commit
9ea2df5823
@@ -39,6 +39,9 @@ do_install_append() {
|
|||||||
|
|
||||||
# Fix configuration file to allow collectd to start up
|
# Fix configuration file to allow collectd to start up
|
||||||
sed -i 's!^#FQDNLookup[ \t]*true!FQDNLookup false!g' ${D}${sysconfdir}/collectd.conf
|
sed -i 's!^#FQDNLookup[ \t]*true!FQDNLookup false!g' ${D}${sysconfdir}/collectd.conf
|
||||||
|
|
||||||
|
rmdir "${D}${localstatedir}/run"
|
||||||
|
rmdir --ignore-fail-on-non-empty "${D}${localstatedir}"
|
||||||
}
|
}
|
||||||
|
|
||||||
INITSCRIPT_NAME = "collectd"
|
INITSCRIPT_NAME = "collectd"
|
||||||
|
|||||||
Reference in New Issue
Block a user