summaryrefslogtreecommitdiffstats
path: root/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
diff options
context:
space:
mode:
authorAndré Draszik <git@andred.net>2015-07-24 13:48:47 +0100
committerRichard Purdie <richard.purdie@linuxfoundation.org>2015-07-31 10:32:38 +0100
commit0e9a9842a83a03cb06bfb49e899bee8c31e47ac4 (patch)
tree93055d5ade0302131fbecfd5bf6a6b2d3532adef /meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
parent1ce5d59f9ebc97b8a29022f600d4d071bca0133f (diff)
downloadpoky-0e9a9842a83a03cb06bfb49e899bee8c31e47ac4.tar.gz
run-postinsts: use ${localstatedir} instead of hardcoding /var/lib
(From OE-Core rev: 48d735a8938ec7c49754a57019182ebcd9a2d8b6) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
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.bb1
1 files changed, 1 insertions, 0 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 d126132a87..11c94e57d8 100644
--- a/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
+++ b/meta/recipes-devtools/run-postinsts/run-postinsts_1.0.bb
@@ -39,6 +39,7 @@ do_install() {
39 sed -i -e 's:#SYSCONFDIR#:${sysconfdir}:g' \ 39 sed -i -e 's:#SYSCONFDIR#:${sysconfdir}:g' \
40 -e 's:#SBINDIR#:${sbindir}:g' \ 40 -e 's:#SBINDIR#:${sbindir}:g' \
41 -e 's:#BASE_BINDIR#:${base_bindir}:g' \ 41 -e 's:#BASE_BINDIR#:${base_bindir}:g' \
42 -e 's:#LOCALSTATEDIR#:${localstatedir}:g' \
42 ${D}${sbindir}/run-postinsts \ 43 ${D}${sbindir}/run-postinsts \
43 ${D}${systemd_unitdir}/system/run-postinsts.service 44 ${D}${systemd_unitdir}/system/run-postinsts.service
44} 45}