summaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/netperf/netperf_git.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta-networking/recipes-support/netperf/netperf_git.bb')
-rw-r--r--meta-networking/recipes-support/netperf/netperf_git.bb6
1 files changed, 3 insertions, 3 deletions
diff --git a/meta-networking/recipes-support/netperf/netperf_git.bb b/meta-networking/recipes-support/netperf/netperf_git.bb
index 6e459eeeb..579a04b86 100644
--- a/meta-networking/recipes-support/netperf/netperf_git.bb
+++ b/meta-networking/recipes-support/netperf/netperf_git.bb
@@ -42,14 +42,14 @@ do_configure:prepend() {
42} 42}
43 43
44do_install() { 44do_install() {
45 sed -e 's#/usr/sbin/#${sbindir}/#g' -i ${WORKDIR}/init 45 sed -e 's#/usr/sbin/#${sbindir}/#g' -i ${UNPACKDIR}/init
46 install -d ${D}${sbindir} ${D}${bindir} ${D}${sysconfdir}/init.d ${D}${systemd_system_unitdir} 46 install -d ${D}${sbindir} ${D}${bindir} ${D}${sysconfdir}/init.d ${D}${systemd_system_unitdir}
47 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then 47 if ${@bb.utils.contains('DISTRO_FEATURES', 'systemd', 'true', 'false', d)}; then
48 sed -e 's#/usr/sbin/#${sbindir}/#g' ${WORKDIR}/netserver.service > ${D}${systemd_system_unitdir}/netserver.service 48 sed -e 's#/usr/sbin/#${sbindir}/#g' ${UNPACKDIR}/netserver.service > ${D}${systemd_system_unitdir}/netserver.service
49 fi 49 fi
50 install -m 4755 src/netperf ${D}${bindir} 50 install -m 4755 src/netperf ${D}${bindir}
51 install -m 4755 src/netserver ${D}${sbindir} 51 install -m 4755 src/netserver ${D}${sbindir}
52 install -m 0755 ${WORKDIR}/init ${D}${sysconfdir}/init.d/netperf 52 install -m 0755 ${UNPACKDIR}/init ${D}${sysconfdir}/init.d/netperf
53 53
54 # man 54 # man
55 install -d ${D}${mandir}/man1/ 55 install -d ${D}${mandir}/man1/