Download meta.bbclass - Yocto Project

Transcript
Migrating to a Newer Yocto Project Release
order to have the package added to the image, which does not work. This change is intended to
catch those kinds of situations. Valid IMAGE_FEATURES are drawn from PACKAGE_GROUP definitions,
COMPLEMENTARY_GLOB and a new "validitems" varflag on IMAGE_FEATURES. The "validitems" varflag
change allows additional features to be added if they are not provided using the previous two
mechanisms.
• The previously deprecated "apps-console-core" IMAGE_FEATURES item is no longer supported. Add
"splash" to IMAGE_FEATURES if you wish to have the splash screen enabled, since this is all that
apps-console-core was doing.
5.4.8. /run
The /run directory from the Filesystem Hierarchy Standard 3.0 has been introduced. You can find
some of the implications for this change here [http://cgit.openembedded.org/openembedded-core/
commit/?id=0e326280a15b0f2c4ef2ef4ec441f63f55b75873]. The change also means that recipes
that install files to /var/run must be changed. You can find a guide on how to make these changes
here [http://permalink.gmane.org/gmane.comp.handhelds.openembedded/58530].
5.4.9. Removal of Package Manager Database Within
Image Recipes
The image core-image-minimal no longer adds remove_packaging_data_files to
ROOTFS_POSTPROCESS_COMMAND. This addition is now handled automatically when "packagemanagement" is not in IMAGE_FEATURES. If you have custom image recipes that make this addition,
you should remove the lines, as they are not needed and might interfere with correct operation of
postinstall scripts.
5.4.10. Images Now Rebuild Only on Changes Instead of
Every Time
The do_rootfs and other related image construction tasks are no longer marked as "nostamp".
Consequently, they will only be re-executed when their inputs have changed. Previous versions of
the OpenEmbedded build system always rebuilt the image when requested rather when necessary.
5.4.11. Task Recipes
The previously deprecated task.bbclass has now been dropped. For recipes that previously inherited
from this class, you should rename them from task-* to packagegroup-* and inherit packagegroup
instead.
For more information, see the "packagegroup.bbclass" section.
5.4.12. BusyBox
By default, we now split BusyBox into two binaries: one that is suid root for those components that
need it, and another for the rest of the components. Splitting BusyBox allows for optimization that
eliminates the tinylogin recipe as recommended by upstream. You can disable this split by setting
BUSYBOX_SPLIT_SUID to "0".
5.4.13. Automated Image Testing
A new automated image testing framework has been added through the testimage*.bbclass class.
This framework replaces the older imagetest-qemu framework.
You can learn more about performing automated image tests in the "Performing Automated
Runtime Testing [http://www.yoctoproject.org/docs/1.7/dev-manual/dev-manual.html#performingautomated-runtime-testing]" section.
5.4.14. Build History
Following are changes to Build History:
59