diff options
Diffstat (limited to 'meta-phosphor/recipes-phosphor/pldm')
-rw-r--r-- | meta-phosphor/recipes-phosphor/pldm/pldm.inc | 2 | ||||
-rw-r--r-- | meta-phosphor/recipes-phosphor/pldm/pldm_git.bb | 8 |
2 files changed, 9 insertions, 1 deletions
diff --git a/meta-phosphor/recipes-phosphor/pldm/pldm.inc b/meta-phosphor/recipes-phosphor/pldm/pldm.inc index b6ef7d807..14d8ea881 100644 --- a/meta-phosphor/recipes-phosphor/pldm/pldm.inc +++ b/meta-phosphor/recipes-phosphor/pldm/pldm.inc @@ -2,4 +2,4 @@ HOMEPAGE = "https://github.com/openbmc/pldm" LICENSE = "Apache-2.0" LIC_FILES_CHKSUM = "file://LICENSE;md5=86d3f3a95c324c9479bd8986968f4327" SRC_URI = "git://github.com/openbmc/pldm" -SRCREV = "5dad5f4ca475d5b8848b2925a51353d1619739a2" +SRCREV = "6a7ec0c11d20842800c8540d510aa9354813de7e" diff --git a/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb b/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb index 1c07ad59d..e6ac942bd 100644 --- a/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb +++ b/meta-phosphor/recipes-phosphor/pldm/pldm_git.bb @@ -32,6 +32,11 @@ pkg_postinst_${PN} () { TARGET="../pldmSoftPowerOff.service" ln -s $TARGET $LINK + mkdir -p $D$systemd_system_unitdir/obmc-host-quiesce@0.target.wants + LINK="$D$systemd_system_unitdir/obmc-host-quiesce@0.target.wants/pldmSoftPowerOff.service" + TARGET="../pldmSoftPowerOff.service" + ln -s $TARGET $LINK + mkdir -p $D$systemd_system_unitdir/obmc-host-warm-reboot@0.target.requires LINK="$D$systemd_system_unitdir/obmc-host-warm-reboot@0.target.requires/pldmSoftPowerOff.service" TARGET="../pldmSoftPowerOff.service" @@ -43,6 +48,9 @@ pkg_prerm_${PN} () { LINK="$D$systemd_system_unitdir/obmc-host-shutdown@0.target.requires/pldmSoftPowerOff.service" rm $LINK + LINK="$D$systemd_system_unitdir/obmc-host-quiesce@0.target.wants/pldmSoftPowerOff.service" + rm $LINK + LINK="$D$systemd_system_unitdir/obmc-host-warm-reboot@0.target.requires/pldmSoftPowerOff.service" rm $LINK } |