Willy Tu | 234381c | 2023-06-26 09:54:21 -0700 | [diff] [blame] | 1 | FILESEXTRAPATHS:prepend:gbmc := "${THISDIR}/${PN}:" |
| 2 | |
| 3 | SRC_URI:append:gbmc = " \ |
| 4 | file://rsyslog.conf \ |
Willy Tu | aea4d2f | 2023-07-31 01:05:48 -0700 | [diff] [blame] | 5 | file://journald.conf \ |
Willy Tu | 234381c | 2023-06-26 09:54:21 -0700 | [diff] [blame] | 6 | " |
Willy Tu | 1639cae | 2023-07-14 14:23:33 -0700 | [diff] [blame] | 7 | |
| 8 | PACKAGECONFIG:append:gbmc = " imjournal" |
Willy Tu | aea4d2f | 2023-07-31 01:05:48 -0700 | [diff] [blame] | 9 | |
| 10 | FILES:${PN}:append:gbmc = "\ |
| 11 | ${systemd_unitdir}/journald.conf.d/ \ |
| 12 | " |
| 13 | |
| 14 | # Set ForwardToSyslog=no |
| 15 | # Disable forward journal to socket since that is not being used. |
| 16 | do_install:append:gbmc() { |
| 17 | install -D -m0644 ${WORKDIR}/journald.conf \ |
| 18 | ${D}${systemd_unitdir}/journald.conf.d/99-${PN}.conf |
| 19 | } |