diff options
-rw-r--r-- | meta-openpower/recipes-phosphor/host/op-proc-control_git.bb | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/meta-openpower/recipes-phosphor/host/op-proc-control_git.bb b/meta-openpower/recipes-phosphor/host/op-proc-control_git.bb index 36f4c7a0f..f78644278 100644 --- a/meta-openpower/recipes-phosphor/host/op-proc-control_git.bb +++ b/meta-openpower/recipes-phosphor/host/op-proc-control_git.bb @@ -7,10 +7,11 @@ LIC_FILES_CHKSUM = "file://LICENSE;md5=e3fc50a88d0a364313df4b21ef20c29e" S = "${WORKDIR}/git" -inherit autotools pkgconfig pythonnative +inherit autotools obmc-phosphor-utils pkgconfig pythonnative +inherit systemd SRC_URI += "git://github.com/openbmc/openpower-proc-control" -SRCREV = "5970484133ac208bd3675697ac120901ea6654a7" +SRCREV = "171fbdf683976ee54d1aa13745523b355d751ff5" DEPENDS += " \ autoconf-archive-native \ @@ -24,3 +25,9 @@ RDEPENDS_${PN} += " \ phosphor-dbus-interfaces \ openpower-dbus-interfaces \ " + +TEMPLATE = "pcie-poweroff@.service" +INSTANCE_FORMAT = "pcie-poweroff@{}.service" +INSTANCES = "${@compose_list(d, 'INSTANCE_FORMAT', 'OBMC_CHASSIS_INSTANCES')}" +SYSTEMD_PACKAGES = "${PN}" +SYSTEMD_SERVICE_${PN} = "${TEMPLATE} ${INSTANCES}" |