summaryrefslogtreecommitdiffstats
path: root/meta
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:52:35 +0000
commit1ec04bb2154cbaf5ff335c873a666f8bb9c0807e (patch)
tree2cdc98a46459df4a084b7fa8c3b8854627107d52 /meta
parent4186d78d999b79571c884467f7dec1a0d96b4509 (diff)
downloadpoky-1ec04bb2154cbaf5ff335c873a666f8bb9c0807e.tar.gz
image.bbclass: fix paths to run-postinsts
The run-postinsts script has been moved to ${sbindir}. [YOCTO #5719] (From OE-Core rev: 2c8dc1b00c0cf83da106ef9544cd11cde7ce43a1) Signed-off-by: Chen Qi <Qi.Chen@windriver.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-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 () {
531 # All packages were successfully configured. 531 # All packages were successfully configured.
532 # update-rc.d, base-passwd, run-postinsts are no further use, remove them now 532 # update-rc.d, base-passwd, run-postinsts are no further use, remove them now
533 remove_run_postinsts=false 533 remove_run_postinsts=false
534 if [ -e ${IMAGE_ROOTFS}${sysconfdir}/init.d/run-postinsts ]; then 534 if [ -e ${IMAGE_ROOTFS}${sbindir}/run-postinsts ]; then
535 remove_run_postinsts=true 535 remove_run_postinsts=true
536 fi 536 fi
537 537
@@ -555,7 +555,7 @@ rootfs_uninstall_unneeded () {
555 # Some packages were not successfully configured, save them only 555 # Some packages were not successfully configured, save them only
556 # if we have run-postinsts script present. Otherwise, they're 556 # if we have run-postinsts script present. Otherwise, they're
557 # useless 557 # useless
558 if [ -e ${IMAGE_ROOTFS}${sysconfdir}/init.d/run-postinsts ]; then 558 if [ -e ${IMAGE_ROOTFS}${sbindir}/run-postinsts ]; then
559 save_postinsts 559 save_postinsts
560 fi 560 fi
561 fi 561 fi