Initial commit
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
FILESEXTRAPATHS:append := "${THISDIR}/${PN}:"
|
||||
|
||||
RRECOMMENDS:${PN} += "ipmitool"
|
||||
RDEPENDS:${PN} += "bash"
|
||||
|
||||
SRC_URI += "\
|
||||
file://ampere-phosphor-softpoweroff \
|
||||
file://ampere.xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service \
|
||||
"
|
||||
|
||||
AMPERE_SOFTPOWEROFF_TMPL = "ampere.xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service"
|
||||
|
||||
do_install:append(){
|
||||
install -d ${D}${includedir}/phosphor-ipmi-host
|
||||
install -m 0644 -D ${S}/selutility.hpp ${D}${includedir}/phosphor-ipmi-host
|
||||
install -m 0755 ${WORKDIR}/ampere-phosphor-softpoweroff ${D}/${bindir}/phosphor-softpoweroff
|
||||
install -m 0644 ${WORKDIR}/${AMPERE_SOFTPOWEROFF_TMPL} ${D}${systemd_unitdir}/system/xyz.openbmc_project.Ipmi.Internal.SoftPowerOff.service
|
||||
}
|
||||
Reference in New Issue
Block a user