1da988de7SYang ChenFILESEXTRAPATHS:prepend := "${THISDIR}/${PN}:" 2*422a8f68SYang ChenPACKAGECONFIG:append = " host-gpio" 3da988de7SYang Chen 4a2fb20c3SPatrick WilliamsCHASSIS_DEFAULT_TARGETS:remove = " \ 5da988de7SYang Chen obmc-chassis-powerreset@{}.target.requires/phosphor-reset-chassis-on@{}.service \ 6da988de7SYang Chen obmc-chassis-powerreset@{}.target.requires/phosphor-reset-chassis-running@{}.service \ 7da988de7SYang Chen obmc-chassis-poweroff@{}.target.requires/obmc-power-stop@{}.service \ 8da988de7SYang Chen obmc-chassis-poweron@{}.target.requires/obmc-power-start@{}.service \ 9da988de7SYang Chen" 109101a902SYang Chen 119101a902SYang ChenRDEPENDS:${PN}:append = " bash" 129101a902SYang Chen 139101a902SYang ChenSRC_URI:append:minerva = " \ 149101a902SYang Chen file://chassis-powercycle \ 159101a902SYang Chen file://chassis-powercycle@.service \ 169101a902SYang Chen " 179101a902SYang Chen 189101a902SYang Chendo_install:append:minerva() { 199101a902SYang Chen install -d ${D}${systemd_system_unitdir} 209101a902SYang Chen install -m 0644 ${WORKDIR}/*.service ${D}${systemd_system_unitdir}/ 219101a902SYang Chen 229101a902SYang Chen install -d ${D}${libexecdir}/${PN} 239101a902SYang Chen install -m 0755 ${WORKDIR}/chassis-powercycle ${D}${libexecdir}/${PN}/ 249101a902SYang Chen} 25