summaryrefslogtreecommitdiffstats
path: root/meta/recipes-extended/xinetd
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@dowhile0.org>2012-08-05 21:48:29 +0200
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-08-06 15:18:47 +0100
commitbfa808e3b601a4b76631f4097bbaf09162b4247d (patch)
tree032e77655117026794456f4e65e641171d603fec /meta/recipes-extended/xinetd
parent77625e728b3199b659bda622446687dfb39b7926 (diff)
downloadpoky-bfa808e3b601a4b76631f4097bbaf09162b4247d.tar.gz
xinetd: use ${sbindir} and ${sysconfdir} instead of /usr/sbin and /etc
It is considered good practice to use the build system provided variables instead of directly specify hardcoded paths. (From OE-Core rev: 6f0eebbd12d79a86dd4a79f87b6be4758439a3f5) Signed-off-by: Javier Martinez Canillas <javier@dowhile0.org> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-extended/xinetd')
-rw-r--r--meta/recipes-extended/xinetd/xinetd_2.3.15.bb20
1 files changed, 10 insertions, 10 deletions
diff --git a/meta/recipes-extended/xinetd/xinetd_2.3.15.bb b/meta/recipes-extended/xinetd/xinetd_2.3.15.bb
index a1421436c6..2139e7493b 100644
--- a/meta/recipes-extended/xinetd/xinetd_2.3.15.bb
+++ b/meta/recipes-extended/xinetd/xinetd_2.3.15.bb
@@ -7,7 +7,7 @@ LICENSE = "BSD"
7LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8" 7LIC_FILES_CHKSUM = "file://COPYRIGHT;md5=8ad8615198542444f84d28a6cf226dd8"
8 8
9DEPENDS = "" 9DEPENDS = ""
10PR = "r0" 10PR = "r1"
11 11
12SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \ 12SRC_URI = "http://www.xinetd.org/xinetd-${PV}.tar.gz \
13 file://xinetd.init \ 13 file://xinetd.init \
@@ -38,15 +38,15 @@ do_install() {
38 # Same here, the Makefile does some really stupid things, 38 # Same here, the Makefile does some really stupid things,
39 # but since we only want two files why not override 39 # but since we only want two files why not override
40 # do_install from autotools and doing it ourselfs? 40 # do_install from autotools and doing it ourselfs?
41 install -d "${D}/usr/sbin" 41 install -d "${D}${sbindir}"
42 install -d "${D}/etc/init.d" 42 install -d "${D}${sysconfdir}/init.d"
43 install -d "${D}/etc/xinetd.d" 43 install -d "${D}${sysconfdir}/xinetd.d"
44 install -d "${D}/etc/default" 44 install -d "${D}${sysconfdir}/default"
45 install -m 644 "${WORKDIR}/xinetd.conf" "${D}/etc" 45 install -m 644 "${WORKDIR}/xinetd.conf" "${D}${sysconfdir}"
46 install -m 755 "${WORKDIR}/xinetd.init" "${D}/etc/init.d/xinetd" 46 install -m 755 "${WORKDIR}/xinetd.init" "${D}${sysconfdir}/init.d/xinetd"
47 install -m 644 "${WORKDIR}/xinetd.default" "${D}/etc/default/xinetd" 47 install -m 644 "${WORKDIR}/xinetd.default" "${D}${sysconfdir}/default/xinetd"
48 install -m 755 "${S}/xinetd/xinetd" "${D}/usr/sbin" 48 install -m 755 "${S}/xinetd/xinetd" "${D}${sbindir}"
49 install -m 755 "${S}/xinetd/itox" "${D}/usr/sbin" 49 install -m 755 "${S}/xinetd/itox" "${D}${sbindir}"
50} 50}
51 51
52CONFFILES_${PN} = "${sysconfdir}/xinetd.conf" 52CONFFILES_${PN} = "${sysconfdir}/xinetd.conf"