From c029a905c8c4cc50e911c3c5e67ebb97ca816d58 Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Wed, 7 Nov 2018 16:48:29 -0800 Subject: ref-manual: Added several new sections to the 2.6 migration section. (From yocto-docs rev: 54703fbde3f7808b9257da883fe8e4769a65fc44) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/migration.xml | 286 ++++++++++++++++++++++++++++++++- 1 file changed, 284 insertions(+), 2 deletions(-) (limited to 'documentation') diff --git a/documentation/ref-manual/migration.xml b/documentation/ref-manual/migration.xml index 466081d526..9b6711558e 100644 --- a/documentation/ref-manual/migration.xml +++ b/documentation/ref-manual/migration.xml @@ -3619,7 +3619,7 @@ $ runqemu qemux86-64 tmp/deploy/images/qemux86-64/core-image-minimal-qemux86-64. The - KERNEL_IMAGE_BASE_NAME + KERNEL_IMAGE_BASE_NAME variable no longer uses the KERNEL_IMAGETYPE variable to create the image's base name. @@ -5687,7 +5687,289 @@ id=f4d4f99cfbc2396e49c1613a7d237b9e57f06f81'>commit message. Yocto Project 2.6 Release from the prior release. -
+
+ GCC 8.2 is Now Used by Default + + + The GNU Compiler Collection version 8.2 is now used by default + for compilation. + For more information on what has changed in the GCC 8.x release, + see + . + + + + If you still need to compile with version 7.x, GCC 7.3 is + also provided. + You can select this version by setting the + and can be selected by setting the + GCCVERSION + variable to "7.%" in your configuration. + +
+ +
+ Removed Recipes + + + The following recipes have been removed: + + beecrypt: No longer needed since moving to rpm4. + bigreqsproto: Replaced by xorgproto. + calibrateproto: Removed in favor of xinput. + compositeproto: Replaced by xorgproto. + damageproto: Replaced by xorgproto. + dmxproto: Replaced by xorgproto. + dri2proto: Replaced by xorgproto. + dri3proto: Replaced by xorgproto. + eee-acpi-scripts: Became obsolete. + fixesproto: Replaced by xorgproto. + fontsproto: Replaced by xorgproto. + fstests: Became obsolete. + gccmakedep: No longer used. + glproto: Replaced by xorgproto. + gnome-desktop3: No longer needed. This recipe has moved to meta-oe. + icon-naming-utils: No longer used since the Sato theme was removed in 2016. + inputproto: Replaced by xorgproto. + kbproto: Replaced by xorgproto. + libusb-compat: Became obsolete. + libuser: Became obsolete. + libnfsidmap: No longer an external requirement since nfs-utils 2.2.1. libnfsidmap is now integrated. + libxcalibrate: No longer needed with xinput + mktemp: Became obsolete. The mktemp command is provided by both busybox and coreutils. + ossp-uuid: Is not being maintained and has mostly been replaced by uuid.h in util-linux. + pax-utils: No longer needed. Previous QA tests that did use this recipe are now done at build time. + pcmciautils: Became obsolete. + pixz: No longer needed. xz now supports multi-threaded compression. + presentproto: Replaced by xorgproto. + randrproto: Replaced by xorgproto. + recordproto: Replaced by xorgproto. + renderproto: Replaced by xorgproto. + resourceproto: Replaced by xorgproto. + scrnsaverproto: Replaced by xorgproto. + trace-cmd: Became obsolete. perf replaced this recipe's functionally. + videoproto: Replaced by xorgproto. + wireless-tools: Became obsolete. Superseded by iw. + xcmiscproto: Replaced by xorgproto. + xextproto: Replaced by xorgproto. + xf86dgaproto: Replaced by xorgproto. + xf86driproto: Replaced by xorgproto. + xf86miscproto: Replaced by xorgproto. + xf86-video-omapfb: Became obsolete. Use kernel modesetting driver instead. + xf86-video-omap: Became obsolete Use kernel modesetting driver instead. + xf86vidmodeproto: Replaced by xorgproto. + xineramaproto: Replaced by xorgproto. + xproto: Replaced by xorgproto. + yasm: No longer needed since previous usages are now satisfied by nasm. + + +
+ +
+ Packaging Changes + + + The following packaging changes have been made: + + + cmake: + cmake.m4 and + toolchain files have been moved to the + main package. + + + iptables: + The iptables modules have been split + into separate packages. + + + alsa-lib: + libasound is now in the main + alsa-lib package instead of + libasound. + + + glibc: + libnss-db is now in its own package + along with a /var/db/makedbs.sh + script to update databases. + + + python and python3: + These have been removed from the main package entirely. + You must install specific packages or + python-modules for everything. + + + systemtap: + Moved systemtap-exporter into its own + package. + + + +
+ +
+ XOrg Protocol dependencies + + + The "*proto" upstream repositories have been combined into one + "xorgproto" repository. + Thus, the corresponding recipes have also been combined into a + single xorgproto recipe. + Any recipes that depend upon the older *proto + recipes need to be changed to depend on the newer + xorgproto recipe instead. + + + + For names of recipes removed because of this repository change, + see the + Removed Recipes + section. + +
+ +
+ <filename>distutils</filename> and <filename>distutils3</filename> Now Prevent Fetching Dependencies During the <filename>do_configure</filename> Task + + + Previously, it was possible for Python recipes that inherited + the + distutils + and + distutils3 + classes to fetch code during the + do_configure + task to satisfy dependencies mentioned in + setup.py if those dependencies were not + provided in the sysroot (i.e. recipes providing the dependencies + were missing from + DEPENDS). + + This dependency affects classes beyond just the two mentioned + (i.e. distutils and + distutils3). + Any recipe that inherits distutils* + classes are affected. + For example, the setuptools and + setuptools3 recipes are affected since + they inherit the distutils* classes. + + + + + Fetching these types of dependencies that are not provided in the + sysroot negatively affects the ability to reproduce builds. + This type of fetching is now explicitly disabled. + Consequently, any missing dependencies in Python recipes that + use these classes now result in an error during the + do_configure task. + +
+ +
+ <filename>linux-yocto</filename> Configuration Audit Issues Now Correctly Reported + + + Due to a bug, the kernel configuration audit functionality was + not writing out any resulting warnings during the build. + This issue is now corrected. + You might notice these warnings now if you have a custom kernel + configuration with a linux-yocto style + kernel recipe. + +
+ +
+ Image/Kernel Artifact Naming Changes + + + The following changes have been made: + + + Name variables (e.g. + IMAGE_NAME) + use a new IMAGE_VERSION_SUFFIX + variable instead of + DATETIME. + Using IMAGE_VERSION_SUFFIX allows + easier and more direct changes. + + The IMAGE_VERSION_SUFFIX + variable is set in the + bitbake.conf configuration file as + follows: + + IMAGE_VERSION_SUFFIX = "-${DATETIME}" + + + + Several variables have changed names for consistency: + + Old Variable Name New Variable Name + ======================================================== + KERNEL_IMAGE_BASE_NAME KERNEL_IMAGE_NAME + KERNEL_IMAGE_SYMLINK_NAME KERNEL_IMAGE_LINK_NAME + MODULE_TARBALL_BASE_NAME MODULE_TARBALL_NAME + MODULE_TARBALL_SYMLINK_NAME MODULE_TARBALL_LINK_NAME + INITRAMFS_BASE_NAME INITRAMFS_NAME + + + + The MODULE_IMAGE_BASE_NAME variable + has been removed. + The module tarball name is now controlled directly with the + MODULE_TARBALL_NAME + variable. + + + The + KERNEL_DTB_NAME + and + KERNEL_DTB_LINK_NAME + variables have been introduced to control kernel Device + Tree Binary (DTB) artifact names instead of mangling + KERNEL_IMAGE_* variables. + + + The + KERNEL_FIT_NAME + and + KERNEL_FIT_LINK_NAME + variables have been introduced to specify the name of + flattened image tree (FIT) kernel images similar to other + deployed artifacts. + + + The + MODULE_TARBALL_NAME + and + MODULE_TARBALL_LINK_NAME + variable values no longer include the "module-" prefix or + ".tgz" suffix. + These parts are now hardcoded so that the values are + consistent with other artifact naming variables. + + + Added the + INITRAMFS_LINK_NAME + variable so that the symlink can be controlled similarly + to other artifact types. + + + INITRAMFS_NAME + now uses + "${PKGE}-${PKGV}-${PKGR}-${MACHINE}${IMAGE_VERSION_SUFFIX}" + instead of + "${PV}-${PR}-${MACHINE}-${DATETIME}", which + makes it consistent with other variables. + + + +
+ +
Automatic Testing Changes -- cgit v1.2.3-54-g00ecf