vsftpd: change path used for systemd runtime data
systemd-tmpfiles throws warnings of /var/run being deprecated in favor of /run. Even though this is corrected automatically, the warnings appear several times during runtime, polluting the systemd journal. Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
fce8d2bb10
commit
4d739d1d7e
|
|
@ -1,3 +1,11 @@
|
|||
# Copyright (C) 2013 Digi International.
|
||||
# Copyright (C) 2013-2019 Digi International.
|
||||
|
||||
FILESEXTRAPATHS_prepend := "${THISDIR}/${BPN}:"
|
||||
|
||||
do_install_append() {
|
||||
if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
|
||||
install -d ${D}${sysconfdir}/tmpfiles.d
|
||||
echo "d /run/vsftpd/empty 0755 root root -" \
|
||||
> ${D}${sysconfdir}/tmpfiles.d/${BPN}.conf
|
||||
fi
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue