* Currently, it's blindly assumed that /etc/default
exists, when busybox-syslog gets copied into it.
This only works by chance and only if CONFIG_HWCLOCK=y
is set.
(From meta-openembedded rev:
143367e4f584ea7054dca2a466f410a46d02e6b1)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Patrick Ohly <patrick.ohly@intel.com>
SYSTEMD_SERVICE_${PN}-syslog-systemd = "busybox-syslog.service"
do_install_append() {
+ install -d ${D}${sysconfdir}/default
install -m 0644 ${WORKDIR}/busybox-syslog.default ${D}${sysconfdir}/default/busybox-syslog
install -d ${D}${base_libdir}/systemd/system