aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/image.bbclass
diff options
context:
space:
mode:
authorRoss Burton <ross.burton@intel.com>2013-12-17 10:55:06 +0000
committerRichard Purdie <richard.purdie@linuxfoundation.org>2014-01-28 00:48:27 +0000
commit2c8dc1b00c0cf83da106ef9544cd11cde7ce43a1 (patch)
treebeb96f1de6d0bd3562e946e382ba5662da207b4d /meta/classes/image.bbclass
parent1e3ac15fcf502396f92c69788642a56064e22e35 (diff)
downloadopenembedded-core-contrib-2c8dc1b00c0cf83da106ef9544cd11cde7ce43a1.tar.gz
image.bbclass: fix paths to run-postinsts
The run-postinsts script has been moved to ${sbindir}. [YOCTO #5719] Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com>
Diffstat (limited to 'meta/classes/image.bbclass')
-rw-r--r--meta/classes/image.bbclass4
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass
index 4c63bc28fd..5049b3faa0 100644
--- a/meta/classes/image.bbclass
+++ b/meta/classes/image.bbclass
@@ -531,7 +531,7 @@ rootfs_uninstall_unneeded () {
# All packages were successfully configured.
# update-rc.d, base-passwd, run-postinsts are no further use, remove them now
remove_run_postinsts=false
- if [ -e ${IMAGE_ROOTFS}${sysconfdir}/init.d/run-postinsts ]; then
+ if [ -e ${IMAGE_ROOTFS}${sbindir}/run-postinsts ]; then
remove_run_postinsts=true
fi
@@ -555,7 +555,7 @@ rootfs_uninstall_unneeded () {
# Some packages were not successfully configured, save them only
# if we have run-postinsts script present. Otherwise, they're
# useless
- if [ -e ${IMAGE_ROOTFS}${sysconfdir}/init.d/run-postinsts ]; then
+ if [ -e ${IMAGE_ROOTFS}${sbindir}/run-postinsts ]; then
save_postinsts
fi
fi