1
0
mirror of https://git.yoctoproject.org/poky synced 2026-06-04 02:00:04 +00:00

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>
This commit is contained in:
Ross Burton
2013-12-17 10:55:06 +00:00
committed by Richard Purdie
parent 4186d78d99
commit 1ec04bb215
+2 -2
View File
@@ -531,7 +531,7 @@ rootfs_uninstall_unneeded () {
# All packages were successfully configured. # All packages were successfully configured.
# update-rc.d, base-passwd, run-postinsts are no further use, remove them now # update-rc.d, base-passwd, run-postinsts are no further use, remove them now
remove_run_postinsts=false 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 remove_run_postinsts=true
fi fi
@@ -555,7 +555,7 @@ rootfs_uninstall_unneeded () {
# Some packages were not successfully configured, save them only # Some packages were not successfully configured, save them only
# if we have run-postinsts script present. Otherwise, they're # if we have run-postinsts script present. Otherwise, they're
# useless # useless
if [ -e ${IMAGE_ROOTFS}${sysconfdir}/init.d/run-postinsts ]; then if [ -e ${IMAGE_ROOTFS}${sbindir}/run-postinsts ]; then
save_postinsts save_postinsts
fi fi
fi fi