generic-poky/meta
Robert Yang c4f51a048f image.bbclass: image_types.bbclass is a must
The image_types.bbclass is a must since we use this in image.bbclass:

[snip]
python () {
    deps = " " + imagetypes_getdepends(d)
    d.appendVarFlag('do_rootfs', 'depends', deps)
[snip]

The imagetypes_getdepends() is defined in image_types.bbclass. Use "+="
to replace "?=" since it is a must, so that the user can use
"IMAGE_CLASSES = foo.bbclass" in local.conf to add their own image
class.

NOTE: the IMAGE_CLASSES_append = " foo" doesn't work since we use this
in image.bbclass:
 IMAGE_CLASSES += "image_types"
 inherit ${IMAGE_CLASSES}

I think that it is because inherit takes effect before append?

Another way to fix the problem is:
IMAGE_CLASSES ?= ""
inherit image_types ${IMAGE_CLASSES}

But it seems that we need another name for IMAGE_CLASSES, for example
IMAGE_CLASSES_EXTRA, and also need update the doc, which would make it
complicated.

(From OE-Core rev: c225613d997ef40dedf64b880b5ca4ae89adfded)

Signed-off-by: Robert Yang <liezhi.yang@windriver.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2014-08-15 18:21:51 +01:00
..
classes image.bbclass: image_types.bbclass is a must 2014-08-15 18:21:51 +01:00
conf tcmode-default.inc: Add eglibc-scripts and eglibc-mtrace 2014-08-15 18:21:49 +01:00
files populate_sdk_base: Move toolchain installation script to a separate file 2014-08-15 18:21:46 +01:00
lib oe.package_manager: fix use of PACKAGE_EXCLUDE for dpkg 2014-08-11 17:43:44 +01:00
recipes-bsp v86d: fix for systemd to load uvesafb module correctly 2014-08-11 10:53:06 +01:00
recipes-connectivity openssl: upgrade to 1.0.1i 2014-08-11 11:27:34 +01:00
recipes-core udev-extraconf: Unmount SD card after ejection 2014-08-15 18:21:50 +01:00
recipes-devtools squashfs-tools: Add support for LZO and LZ4 compression 2014-08-15 18:21:51 +01:00
recipes-extended libarchive: add PACKAGECONFIG for nettle 2014-08-11 11:27:33 +01:00
recipes-gnome gdk-pixbuf: upgrade to 2.30.8 2014-07-23 21:59:16 +01:00
recipes-graphics tslib: Delete unnecessary "SRC_URI_OVERRIDES_PACKAGE_ARCH = 0" 2014-08-11 11:27:34 +01:00
recipes-kernel trace-cmd: fix recompile error 2014-08-11 11:27:34 +01:00
recipes-lsb4 libpod-plainer-perl: Upgrade to 1.04 2014-07-17 12:28:52 +01:00
recipes-multimedia gstreamer1.0-rtsp-server: Upgrade to 1.4.0 2014-08-15 18:21:49 +01:00
recipes-qt qt4: Avoid duplicate flags in the g++-unix.conf 2014-08-11 12:12:34 +01:00
recipes-rt hwlatdetect: fix PV 2014-06-17 10:23:53 +01:00
recipes-sato midori: add dependency on libxscrnsaver 2014-08-11 11:27:33 +01:00
recipes-support gmp: uprev it to 6.0.0 2014-08-15 18:21:51 +01:00
site site: Add common-darwin 2014-08-15 18:21:47 +01:00
COPYING.GPLv2 Fix license notices for OE-Core 2014-01-02 12:58:54 +00:00
COPYING.MIT
recipes.txt meta/recipes.txt: add recipes-lsb4 2013-04-10 09:23:17 +01:00