diff options
author | Ross Burton <ross.burton@intel.com> | 2013-12-17 10:55:06 +0000 |
---|---|---|
committer | Andreas Oberritter <obi@opendreambox.org> | 2015-02-23 17:15:22 +0100 |
commit | 67ac3e0e236c92703716b40fba34aedba38023fb (patch) | |
tree | 74c6e542b752f96e653f26a114e91f9696a384e0 /meta/classes | |
parent | 6fbc43dc58f299b07240ea42a15702f82c00452b (diff) | |
download | openembedded-core-contrib-67ac3e0e236c92703716b40fba34aedba38023fb.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>
(cherry picked from commit 2c8dc1b00c0cf83da106ef9544cd11cde7ce43a1)
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
Diffstat (limited to 'meta/classes')
-rw-r--r-- | meta/classes/image.bbclass | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 9c2ad10fc7..8be1892336 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass @@ -510,7 +510,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 @@ -534,7 +534,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 |