summaryrefslogtreecommitdiff
path: root/meta-openbmc-mods/meta-common/recipes-phosphor/ipmi/phosphor-ipmi-host_%.bbappend
blob: 3509ebfd623b1a19b81e98752d836ce44265fd5f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
FILESEXTRAPATHS_prepend := "${THISDIR}/${PN}:"

# TODO: This should be removed, once up-stream bump up
# issue is resolved
#SRC_URI = "git://github.com/openbmc/phosphor-host-ipmid"
SRCREV = "ea1c401c4bac43d6070bf7d515df08f8bf57c0a2"

SRC_URI += "file://phosphor-ipmi-host.service \
            file://0009-IPv6-Network-changes.patch \
            file://0010-fix-get-system-GUID-ipmi-command.patch \
            file://0013-ipmi-add-set-bios-id-to-whitelist.patch \
            file://0021-Implement-IPMI-Commmand-Get-Host-Restart-Cause.patch \
            file://0039-ipmi-add-oem-command-get-AIC-FRU-to-whitelist.patch \
            file://0049-Fix-Unspecified-error-on-ipmi-restart-cause-command.patch \
            file://0050-enable-6-oem-commands.patch \
            file://0053-Fix-keep-looping-issue-when-entering-OS.patch \
            file://0055-Implement-set-front-panel-button-enables-command.patch \
            file://0056-add-SetInProgress-to-get-set-boot-option-cmd.patch \
            file://0057-Add-timer-use-actions-support.patch \
            file://0059-Move-Set-SOL-config-parameter-to-host-ipmid.patch \
            file://0060-Move-Get-SOL-config-parameter-to-host-ipmid.patch \
            file://0061-Use-xyz.openbmc_project.State.Chassis-for-IPMI-chass.patch \
            file://0062-Update-IPMI-Chassis-Control-command.patch \
            "

# remove the softpoweroff service since we do not need it
SYSTEMD_SERVICE_${PN}_remove += " \
    xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service"

SYSTEMD_LINK_${PN}_remove += " \
    ../xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service:obmc-host-shutdown@0.target.requires/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service \
    "
FILES_${PN}_remove = " \
    ${systemd_unitdir}/system/obmc-host-shutdown@0.target.requires/ \
    ${systemd_unitdir}/system/obmc-host-shutdown@0.target.requires/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service \
    "

do_install_append(){
    rm -f ${D}/${bindir}/phosphor-softpoweroff
}