aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.init
diff options
context:
space:
mode:
authortexierp <texier.pj2@gmail.com>2018-05-15 20:05:11 +0200
committerArmin Kuster <akuster808@gmail.com>2018-06-14 20:11:13 -0700
commita4ec81345b525c4b978348d33110802c2e76264f (patch)
tree22aa2b390df6bfd8c14029b842ee3a69b70fe317 /meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.init
parent1e5368d0bf5335211e4dc6f91efc24c19864c585 (diff)
downloadmeta-openembedded-contrib-a4ec81345b525c4b978348d33110802c2e76264f.tar.gz
meta-openembedded-contrib-a4ec81345b525c4b978348d33110802c2e76264f.tar.bz2
meta-openembedded-contrib-a4ec81345b525c4b978348d33110802c2e76264f.zip
minicoredumper: fixes for sysvinit and systemd
The sysv initscript and systemd service assumes minicoredumper is installed in /usr/bin/. In our case minicoredumper is installed in /usr/sbin/ by default. Therefore, fix this path. Signed-off-by: Pierre-Jean TEXIER <texier.pj2@gmail.com> Signed-off-by: Armin Kuster <akuster808@gmail.com> (cherry picked from commit 26ba552614d21fb5aa8ecc3eb41ad3ca30f709ec) Signed-off-by: Armin Kuster <akuster808@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.init')
-rw-r--r--meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.init2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.init b/meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.init
index 90ef7fa373..9c96e3156a 100644
--- a/meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.init
+++ b/meta-oe/recipes-kernel/minicoredumper/files/minicoredumper.init
@@ -22,7 +22,7 @@
case "$1" in
start)
- echo "|/usr/bin/minicoredumper %p %u %g %s %t %h %e" > /proc/sys/kernel/core_pattern
+ echo "|/usr/sbin/minicoredumper %p %u %g %s %t %h %e" > /proc/sys/kernel/core_pattern
;;
stop)
echo "core" > /proc/sys/kernel/core_pattern