summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJackie Huang <jackie.huang@windriver.com>2015-01-30 10:03:55 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-02-03 14:53:43 +0000
commite1a3c6e218779e2237c494e58209c06b871c47c4 (patch)
treecac8c7cb5815b940efca7f74ca296d3c5de90f8c
parentf3da8570a977809fadb08315f384726b80f5ee01 (diff)
downloadopenembedded-core-contrib-e1a3c6e218779e2237c494e58209c06b871c47c4.tar.gz
openembedded-core-contrib-e1a3c6e218779e2237c494e58209c06b871c47c4.tar.bz2
openembedded-core-contrib-e1a3c6e218779e2237c494e58209c06b871c47c4.zip
lsbinitscripts: fix the path for mountpoint
mountpoint is installed in ${bindir} Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com>
-rw-r--r--meta/recipes-extended/lsb/lsbinitscripts_9.60.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta/recipes-extended/lsb/lsbinitscripts_9.60.bb b/meta/recipes-extended/lsb/lsbinitscripts_9.60.bb
index 1490582135..f67eff7271 100644
--- a/meta/recipes-extended/lsb/lsbinitscripts_9.60.bb
+++ b/meta/recipes-extended/lsb/lsbinitscripts_9.60.bb
@@ -27,4 +27,5 @@ do_compile[noexec] = "1"
do_install(){
install -d ${D}${sysconfdir}/init.d/
install -m 0644 ${S}/rc.d/init.d/functions ${D}${sysconfdir}/init.d/functions
+ sed -i 's,${base_bindir}/mountpoint,${bindir}/mountpoint,g' ${D}${sysconfdir}/init.d/functions
}