Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" |
Deepak Kodihalli | f9e9cc6 | 2018-08-21 06:40:53 -0500 | [diff] [blame] | 2 | |
| 3 | SRC_URI += " \ |
| 4 | file://rsyslog.conf \ |
Santosh Puranik | 3e264b0 | 2019-05-22 07:37:24 -0500 | [diff] [blame] | 5 | file://server.conf \ |
Deepak Kodihalli | f9e9cc6 | 2018-08-21 06:40:53 -0500 | [diff] [blame] | 6 | " |
| 7 | |
| 8 | PACKAGECONFIG ??= " \ |
| 9 | rsyslogd rsyslogrt inet regexp uuid \ |
| 10 | ${@bb.utils.filter('DISTRO_FEATURES', 'systemd', d)} \ |
| 11 | " |
Santosh Puranik | 3e264b0 | 2019-05-22 07:37:24 -0500 | [diff] [blame] | 12 | |
Patrick Williams | 12fc939 | 2021-08-06 09:16:53 -0500 | [diff] [blame] | 13 | do_install:append(){ |
Santosh Puranik | 3e264b0 | 2019-05-22 07:37:24 -0500 | [diff] [blame] | 14 | install -m 0644 -D ${WORKDIR}/server.conf \ |
| 15 | ${D}${sysconfdir}/rsyslog.d/server.conf |
| 16 | } |