17 lines
677 B
Plaintext
17 lines
677 B
Plaintext
FILESEXTRAPATHS:prepend:bletchley := "${THISDIR}/${PN}:"
|
|
|
|
FILES:${PN}:append:bletchley = " ${datadir}/swampd"
|
|
FILES:${PN}:append:bletchley = " ${systemd_system_unitdir}/phosphor-pid-control.service.d/*.conf"
|
|
|
|
do_install:append:bletchley() {
|
|
|
|
override_dir="${D}${systemd_system_unitdir}/phosphor-pid-control.service.d"
|
|
override_file="${override_dir}/10-bletchley.conf"
|
|
mkdir -p ${D}${systemd_system_unitdir}/phosphor-pid-control.service.d
|
|
echo "[Unit]" > ${override_file}
|
|
echo "After=xyz.openbmc_project.hwmontempsensor.service" >> ${override_file}
|
|
echo "After=phosphor-virtual-sensor.service" >> ${override_file}
|
|
|
|
install -d ${D}${datadir}/swampd
|
|
}
|