summaryrefslogtreecommitdiffstats
path: root/meta-phosphor/recipes-extended/rsyslog/rsyslog-policy.bb
blob: 96eee0796f79e5123b6147d57e37f239e07ad1b8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
SUMMARY = "Policy configuration for rsyslog"
PR = "r1"
LICENSE = "Apache-2.0"
LIC_FILES_CHKSUM = "file://${PHOSPHORBASE}/COPYING.apache-2.0;md5=34400b68072d710fecd0a2940a0d1658"

DEPENDS += "rsyslog"

FILES_${PN} += "${systemd_system_unitdir}/rsyslog.service.d/rsyslog-override.conf"

SRC_URI += "file://rsyslog-override.conf"

do_install() {
    install -d ${D}${systemd_system_unitdir}/rsyslog.service.d
    install -m 0644 ${WORKDIR}/rsyslog-override.conf \
        ${D}${systemd_system_unitdir}/rsyslog.service.d/rsyslog-override.conf
}
OpenPOWER on IntegriCloud