aboutsummaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/busybox/busybox.inc
diff options
context:
space:
mode:
authorTing Liu <b28495@freescale.com>2013-04-15 04:50:52 -0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-04-15 15:47:47 +0100
commit929c738787b6f513ce235ed5f7753408a570d632 (patch)
tree16ceaa49780cffd1e64bbde1011870a41b6a3d30 /meta/recipes-core/busybox/busybox.inc
parent5c088c2d3b23026752649d077ee44fe3dbe26aa4 (diff)
downloadopenembedded-core-contrib-929c738787b6f513ce235ed5f7753408a570d632.tar.gz
busybox: Add inetd related files
Add back inetd and inetd.conf files which are needed if CONFIG_INETD is enabled in the defconfig. Grabbed these files from oe-classic This patch is based on the previous patch for denzil: http://patches.openembedded.org/patch/33235/ Signed-off-by: Ting Liu <b28495@freescale.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-core/busybox/busybox.inc')
-rw-r--r--meta/recipes-core/busybox/busybox.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-core/busybox/busybox.inc b/meta/recipes-core/busybox/busybox.inc
index a2e83ec92d..0a235b98fe 100644
--- a/meta/recipes-core/busybox/busybox.inc
+++ b/meta/recipes-core/busybox/busybox.inc
@@ -208,6 +208,7 @@ do_install () {
fi
if grep "CONFIG_INETD=y" ${B}/.config; then
install -m 0755 ${WORKDIR}/inetd ${D}${sysconfdir}/init.d/inetd.${BPN}
+ sed -i "s:/usr/sbin/:${sbindir}/:" ${D}${sysconfdir}/init.d/inetd.${BPN}
install -m 0644 ${WORKDIR}/inetd.conf ${D}${sysconfdir}/
fi
if grep "CONFIG_MDEV=y" ${B}/.config; then