blob: 08f3f4528ca277c7ea9545d3e92966c6a77e94c6 [file] [log] [blame]
Allen.Wang0e13ec52022-03-31 14:37:41 +08001FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"
2
BonnieLo-wiwynn4a335d02023-01-31 13:18:24 +08003SRC_URI:append = " \
Allen.Wang0e13ec52022-03-31 14:37:41 +08004 file://40-system.conf \
5 "
6
BonnieLo-wiwynn4a335d02023-01-31 13:18:24 +08007FILES:${PN}:append = " \
Allen.Wang0e13ec52022-03-31 14:37:41 +08008 ${systemd_unitdir}/system.conf.d/40-system.conf \
9 "
10
BonnieLo-wiwynn4a335d02023-01-31 13:18:24 +080011do_install:append() {
Allen.Wang0e13ec52022-03-31 14:37:41 +080012 install -d -m 0755 ${D}${systemd_unitdir}/system.conf.d/
13 install -m 0644 ${WORKDIR}/40-system.conf ${D}${systemd_unitdir}/system.conf.d/
BonnieLo-wiwynn4a335d02023-01-31 13:18:24 +080014}