blob: 801b346832d089b073d09fdef9b89d204345c561 [file] [log] [blame]
Lei YUdcbf91f2017-12-04 10:41:13 +08001FILESEXTRAPATHS_append_zaius := "${THISDIR}/${PN}:"
2
3PCIE_CARD_E2B_INSTANCE = "pcie-card-e2b"
4
5TMPL = "phosphor-gpio-presence@.service"
6INSTFMT = "phosphor-gpio-presence@{0}.service"
7TGT = "${SYSTEMD_DEFAULT_TARGET}"
8FMT = "../${TMPL}:${TGT}.requires/${INSTFMT}"
9
10SYSTEMD_LINK_${PN}-presence_append_zaius += "${@compose_list(d, 'FMT', 'PCIE_CARD_E2B_INSTANCE')}"
11SYSTEMD_ENVIRONMENT_FILE_${PN}-presence_append_zaius += "obmc/gpio/phosphor-pcie-card-e2b.conf"