summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
diff options
context:
space:
mode:
Diffstat (limited to 'meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb')
-rw-r--r--meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb8
1 files changed, 5 insertions, 3 deletions
diff --git a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
index 72ba8c0227..e3d63df852 100644
--- a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
@@ -12,6 +12,8 @@ S = "${WORKDIR}"
12 12
13inherit allarch systemd update-rc.d 13inherit allarch systemd update-rc.d
14 14
15RDEPENDS:${PN} = "util-linux-fcntl-lock"
16
15INITSCRIPT_NAME = "run-postinsts" 17INITSCRIPT_NAME = "run-postinsts"
16INITSCRIPT_PARAMS = "start 99 S ." 18INITSCRIPT_PARAMS = "start 99 S ."
17 19
@@ -27,13 +29,13 @@ do_compile () {
27 29
28do_install() { 30do_install() {
29 install -d ${D}${sbindir} 31 install -d ${D}${sbindir}
30 install -m 0755 ${WORKDIR}/run-postinsts ${D}${sbindir}/ 32 install -m 0755 ${S}/run-postinsts ${D}${sbindir}/
31 33
32 install -d ${D}${sysconfdir}/init.d/ 34 install -d ${D}${sysconfdir}/init.d/
33 install -m 0755 ${WORKDIR}/run-postinsts.init ${D}${sysconfdir}/init.d/run-postinsts 35 install -m 0755 ${S}/run-postinsts.init ${D}${sysconfdir}/init.d/run-postinsts
34 36
35 install -d ${D}${systemd_system_unitdir}/ 37 install -d ${D}${systemd_system_unitdir}/
36 install -m 0644 ${WORKDIR}/run-postinsts.service ${D}${systemd_system_unitdir}/ 38 install -m 0644 ${S}/run-postinsts.service ${D}${systemd_system_unitdir}/
37 39
38 sed -i -e 's:#SYSCONFDIR#:${sysconfdir}:g' \ 40 sed -i -e 's:#SYSCONFDIR#:${sysconfdir}:g' \
39 -e 's:#SBINDIR#:${sbindir}:g' \ 41 -e 's:#SBINDIR#:${sbindir}:g' \