diff options
-rw-r--r-- | meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb b/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb index ca9130db14..14cc3d879d 100644 --- a/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb +++ b/meta-networking/recipes-daemons/openhpi/openhpi_3.8.0.bb | |||
@@ -70,10 +70,10 @@ export DISTRO | |||
70 | 70 | ||
71 | do_install_append () { | 71 | do_install_append () { |
72 | install -m 0755 -d ${D}${sysconfdir}/${BPN} | 72 | install -m 0755 -d ${D}${sysconfdir}/${BPN} |
73 | install -m 0755 ${S}/openhpiclient.conf.example ${D}${sysconfdir}/${BPN}/openhpiclient.conf | 73 | install -m 0644 ${S}/openhpiclient.conf.example ${D}${sysconfdir}/${BPN}/openhpiclient.conf |
74 | install -m 0700 ${S}/openhpi.conf.example ${D}${sysconfdir}/${BPN}/openhpi.conf | 74 | install -m 0600 ${S}/openhpi.conf.example ${D}${sysconfdir}/${BPN}/openhpi.conf |
75 | install -m 0755 ${S}/simulation.data.example ${D}${sysconfdir}/${BPN}/simulation.data | 75 | install -m 0644 ${S}/simulation.data.example ${D}${sysconfdir}/${BPN}/simulation.data |
76 | install -m 0755 ${S}/test_agent.data.example ${D}${sysconfdir}/${BPN}/test_agent.data | 76 | install -m 0644 ${S}/test_agent.data.example ${D}${sysconfdir}/${BPN}/test_agent.data |
77 | install -m 0755 ${WORKDIR}/openhpi.init ${D}${sysconfdir}/init.d/openhpid | 77 | install -m 0755 ${WORKDIR}/openhpi.init ${D}${sysconfdir}/init.d/openhpid |
78 | 78 | ||
79 | install -d ${D}${systemd_unitdir}/system | 79 | install -d ${D}${systemd_unitdir}/system |
@@ -105,6 +105,9 @@ do_install_ptest () { | |||
105 | sed -i "s/^Makefile:/MM:/g" ${x}; | 105 | sed -i "s/^Makefile:/MM:/g" ${x}; |
106 | done; | 106 | done; |
107 | 107 | ||
108 | install -m 644 ${S}/openhpid/t/ohpi/openhpi.conf ${D}${PTEST_PATH}/openhpid/t/ohpi/ | ||
109 | sed -i "s:OPENHPI_CONF=[^ ]*:OPENHPI_CONF=./openhpi.conf:g" ${D}${PTEST_PATH}/openhpid/t/ohpi/Makefile | ||
110 | |||
108 | mkdir -p ${D}${PTEST_PATH}/plugins/watchdog/ | 111 | mkdir -p ${D}${PTEST_PATH}/plugins/watchdog/ |
109 | cp -L ${D}/${libdir}/${BPN}/libwatchdog.so ${D}${PTEST_PATH}/plugins/watchdog/ | 112 | cp -L ${D}/${libdir}/${BPN}/libwatchdog.so ${D}${PTEST_PATH}/plugins/watchdog/ |
110 | cp -L ${D}/${libdir}/${BPN}/libsimulator.so ${D}${PTEST_PATH}/plugins/watchdog/ | 113 | cp -L ${D}/${libdir}/${BPN}/libsimulator.so ${D}${PTEST_PATH}/plugins/watchdog/ |