busybox.inc: Avoid error when SYSLOG is not enabled
Add -f to rm of ${D}${sysconfdir}/syslog-startup.conf.${BPN} so as to not error out when the busybox config used does not have SYSLOG enabled and DISTRO_FEATURES does not contain sysvinit. (From OE-Core rev: 4c5756149754d0b18b14595db335f8f5e14cc0a3) Signed-off-by: Florin Sarbu <florin.sarbu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
06f1ebf206
commit
02521a40d3
|
@ -277,7 +277,7 @@ do_install () {
|
|||
|
||||
# Remove the sysvinit specific configuration file for systemd systems to avoid confusion
|
||||
if ${@base_contains('DISTRO_FEATURES', 'sysvinit', 'false', 'true', d)}; then
|
||||
rm ${D}${sysconfdir}/syslog-startup.conf.${BPN}
|
||||
rm -f ${D}${sysconfdir}/syslog-startup.conf.${BPN}
|
||||
fi
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue