diff options
| author | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-24 17:01:20 +0100 |
|---|---|---|
| committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-08-26 11:29:45 +0100 |
| commit | 93ec1e347cbba47cb35137047ac2ef8875a1c5d1 (patch) | |
| tree | 4a677d414583daf49f8d029bea7a320bb3856751 /meta/classes/image.bbclass | |
| parent | 388318706699250b7f48c5692ba81f0595b176bd (diff) | |
| download | poky-93ec1e347cbba47cb35137047ac2ef8875a1c5d1.tar.gz | |
classes: Remove references to _remove in function names since this may become a bitbake keyword
There is a good chance we might want to support a bitbake operator
"_remove" which works in a similar way to _append and _prepend. As
such, we can't use those keywords in function or variable names.
(From OE-Core rev: 491fde8cd3fd493f9fec2fd434fe1be547f66148)
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Saul Wold <sgw@linux.intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/image.bbclass')
| -rw-r--r-- | meta/classes/image.bbclass | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/meta/classes/image.bbclass b/meta/classes/image.bbclass index 909702ac23..ea59c36441 100644 --- a/meta/classes/image.bbclass +++ b/meta/classes/image.bbclass | |||
| @@ -335,7 +335,7 @@ fakeroot do_rootfs () { | |||
| 335 | fi | 335 | fi |
| 336 | 336 | ||
| 337 | # remove unneeded packages/files from the final image | 337 | # remove unneeded packages/files from the final image |
| 338 | rootfs_remove_unneeded | 338 | rootfs_uninstall_unneeded |
| 339 | 339 | ||
| 340 | insert_feed_uris | 340 | insert_feed_uris |
| 341 | 341 | ||
| @@ -497,7 +497,7 @@ rootfs_install_complementary() { | |||
| 497 | fi | 497 | fi |
| 498 | } | 498 | } |
| 499 | 499 | ||
| 500 | rootfs_remove_unneeded () { | 500 | rootfs_uninstall_unneeded () { |
| 501 | if ${@base_contains("IMAGE_FEATURES", "package-management", "false", "true", d)}; then | 501 | if ${@base_contains("IMAGE_FEATURES", "package-management", "false", "true", d)}; then |
| 502 | if [ -z "$(delayed_postinsts)" ]; then | 502 | if [ -z "$(delayed_postinsts)" ]; then |
| 503 | # All packages were successfully configured. | 503 | # All packages were successfully configured. |
| @@ -506,7 +506,7 @@ rootfs_remove_unneeded () { | |||
| 506 | if [ -e ${IMAGE_ROOTFS}${sysconfdir}/init.d/run-postinsts ]; then | 506 | if [ -e ${IMAGE_ROOTFS}${sysconfdir}/init.d/run-postinsts ]; then |
| 507 | remove_run_postinsts=true | 507 | remove_run_postinsts=true |
| 508 | fi | 508 | fi |
| 509 | rootfs_remove_packages update-rc.d base-passwd ${ROOTFS_BOOTSTRAP_INSTALL} | 509 | rootfs_uninstall_packages update-rc.d base-passwd ${ROOTFS_BOOTSTRAP_INSTALL} |
| 510 | 510 | ||
| 511 | # Need to remove rc.d files for run-postinsts by hand since opkg won't | 511 | # Need to remove rc.d files for run-postinsts by hand since opkg won't |
| 512 | # call postrm scripts in offline root mode. | 512 | # call postrm scripts in offline root mode. |
