summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.17.25.bb6
1 files changed, 4 insertions, 2 deletions
diff --git a/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.17.25.bb b/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.17.25.bb
index 5ee4472cd9..cc2727b758 100644
--- a/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.17.25.bb
+++ b/meta-oe/recipes-support/start-stop-daemon/start-stop-daemon_1.17.25.bb
@@ -31,6 +31,8 @@ do_install_append () {
31 31
32 # support for buggy init.d scripts that refer to an alternative 32 # support for buggy init.d scripts that refer to an alternative
33 # explicit path to start-stop-daemon 33 # explicit path to start-stop-daemon
34 mkdir -p ${D}/sbin/ 34 if [ "${base_sbindir}" != "${sbindir}" ]; then
35 ln -sf /usr/sbin/start-stop-daemon ${D}/sbin/start-stop-daemon 35 mkdir -p ${D}${base_sbindir}
36 ln -sf ${sbindir}/start-stop-daemon ${D}${base_sbindir}/start-stop-daemon
37 fi
36} 38}