aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristophe PRIOUZEAU <christophe.priouzeau@st.com>2018-05-17 08:18:28 +0000
committerKhem Raj <raj.khem@gmail.com>2018-05-18 12:31:20 -0700
commit3e31595851b2d28a406456b26ee2669ff6dd85ac (patch)
tree9d06581ac804c76c84f1abe981f05f967b134f6d
parent1d0c93b320389e44d82299a39b03d06ceda04741 (diff)
downloadmeta-openembedded-contrib-3e31595851b2d28a406456b26ee2669ff6dd85ac.tar.gz
meta-openembedded-contrib-3e31595851b2d28a406456b26ee2669ff6dd85ac.tar.bz2
meta-openembedded-contrib-3e31595851b2d28a406456b26ee2669ff6dd85ac.zip
minicoredumper: relocate admin-binaries to sbin
Change path of minicoredumper on init/service script to /usr/sbin. Since the commit "relocate admin-binaries to sbin" on minicoredumper, minicoredumper binaries are installed on /usr/sbin directory instead of /usr/bin. src/minicoredumper/Makefile.am: sbin_PROGRAMS = minicoredumper Signed-off-by: Christophe Priouzeau <christophe.priouzeau@st.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
-rw-r--r--meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb b/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb
index 1858e102d8..0d3c66b07a 100644
--- a/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb
+++ b/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.0.bb
@@ -38,4 +38,8 @@ do_install_append() {
install -m 0644 ${WORKDIR}/minicoredumper.service ${D}${systemd_system_unitdir}
install -d ${D}${sysconfdir}/init.d
install -m 0644 ${WORKDIR}/minicoredumper.init ${D}${sysconfdir}/init.d/minicoredumper
+
+ # correct path of minicoredumper
+ sed -i -e s:/usr/bin/minicoredumper:${sbindir}/minicoredumper:g ${D}${sysconfdir}/init.d/minicoredumper
+ sed -i -e s:/usr/bin/minicoredumper:${sbindir}/minicoredumper:g ${D}${systemd_system_unitdir}/minicoredumper.service
}