summaryrefslogtreecommitdiff
path: root/meta-facebook/recipes-core/systemd/systemd_%.bbappend
blob: c069b22c87b6b9c615c3ed08926ea33f73cd4736 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
FILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:"

SRC_URI:append:bletchley = " \
  file://40-system.conf \
  "

FILES:${PN}:append:bletchley = " \
  ${systemd_unitdir}/system.conf.d/40-system.conf \
  "

do_install:append:bletchley() {
    install -d -m 0755 ${D}${systemd_unitdir}/system.conf.d/
    install -m 0644 ${WORKDIR}/40-system.conf ${D}${systemd_unitdir}/system.conf.d/
}