summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-kernel/minicoredumper
diff options
context:
space:
mode:
authorMingli Yu <mingli.yu@windriver.com>2023-05-16 10:30:55 +0800
committerKhem Raj <raj.khem@gmail.com>2023-05-15 19:44:46 -0700
commitd477cbb5267f39846d129f27d0f6a7f2b001db7b (patch)
tree8bf621d77dfaab29acdcc3dfff4a214fefad8ee5 /meta-oe/recipes-kernel/minicoredumper
parent2efc81182abf4448bf28b27c493e5f3ab5b75eef (diff)
downloadmeta-openembedded-d477cbb5267f39846d129f27d0f6a7f2b001db7b.tar.gz
minicoredumper: correct the sysvinit service file attribute
Add the execute attribute for sysvinit service file to fix the below error: $ service minicoredumper status minicoredumper: unrecognized service Signed-off-by: Mingli Yu <mingli.yu@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
Diffstat (limited to 'meta-oe/recipes-kernel/minicoredumper')
-rw-r--r--meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.3.bb2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.3.bb b/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.3.bb
index 2c4111bc3..1e8ce7e69 100644
--- a/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.3.bb
+++ b/meta-oe/recipes-kernel/minicoredumper/minicoredumper_2.0.3.bb
@@ -37,7 +37,7 @@ do_install:append() {
37 install -d ${D}${systemd_system_unitdir} 37 install -d ${D}${systemd_system_unitdir}
38 install -m 0644 ${WORKDIR}/minicoredumper.service ${D}${systemd_system_unitdir} 38 install -m 0644 ${WORKDIR}/minicoredumper.service ${D}${systemd_system_unitdir}
39 install -d ${D}${sysconfdir}/init.d 39 install -d ${D}${sysconfdir}/init.d
40 install -m 0644 ${WORKDIR}/minicoredumper.init ${D}${sysconfdir}/init.d/minicoredumper 40 install -m 0755 ${WORKDIR}/minicoredumper.init ${D}${sysconfdir}/init.d/minicoredumper
41 41
42 # correct path of minicoredumper 42 # correct path of minicoredumper
43 sed -i -e s:/usr/bin/minicoredumper:${sbindir}/minicoredumper:g ${D}${sysconfdir}/init.d/minicoredumper 43 sed -i -e s:/usr/bin/minicoredumper:${sbindir}/minicoredumper:g ${D}${sysconfdir}/init.d/minicoredumper