From 8acf96c767e5d452f8f723e4b0d8d8656286b4ea Mon Sep 17 00:00:00 2001 From: Scott Rifenbark Date: Thu, 4 Apr 2013 15:12:07 -0700 Subject: ref-manual: New 1.4 Migration section added. Paul Eggleton sourced this information. (From yocto-docs rev: 61ab295071718c4fedd258a0545c17cb43c8c093) Signed-off-by: Scott Rifenbark Signed-off-by: Richard Purdie --- documentation/ref-manual/migration.xml | 304 +++++++++++++++++++++++++++------ 1 file changed, 254 insertions(+), 50 deletions(-) (limited to 'documentation/ref-manual/migration.xml') diff --git a/documentation/ref-manual/migration.xml b/documentation/ref-manual/migration.xml index f0a03d2e78..7ebc10a76d 100644 --- a/documentation/ref-manual/migration.xml +++ b/documentation/ref-manual/migration.xml @@ -240,56 +240,260 @@ Yocto Project 1.4 Release from the prior release. - - Here is the raw text from Paul: - -* BitBake - Fix continuation on last line of a comment: if a comment ends in a line continuation (\) then the next line must also be a comment; any instance where this is not the case will now trigger a warning. Either remove the continuation character or make the next line a comment as well. - -* BitBake - The runtime package specific variables (RDEPENDS, RRECOMMENDS, RSUGGESTS, RPROVIDES, RCONFLICTS, RREPLACES, FILES, ALLOW_EMPTY, and the pre/post install/uninstall script functions pkg_preinst, pkg_postinst, pkg_prerm, and pkg_postrm) should always have a package name override, for example RDEPENDS_${PN} for the main package instead of RDEPENDS; there are now stricter checks at parse time to ensure this is done in all recipes. - -* Build Behavior - Shared state code has been optimised to avoid running tasks that are not really needed; for example, bitbake -c rootfs some-image from shared state will no longer populate the target sysroot since that is not necessary - the system just needs to extract the output package contents, re-create the packages and construct the root filesystem. This is unlikely to cause any problems unless you have missing declared dependencies. - -* Proxies and Fetching Source - A new oe-git-proxy script has been added to replace previous methods of handling proxies and fetching source from Git. See meta-yocto/conf/site.conf.sample for information on how to use this script. - -* Build Behavior - When scanning for files in SRC_URI, the system now uses FILESOVERRIDES instead of OVERRIDES for the directory names. All of the sensible values previously in OVERRIDES are now in FILESOVERRIDES as well, however if you relied upon an additional value you added to OVERRIDES you may now need to add it to FILESOVERRIDES (unless you are already adding it via the MACHINEOVERRIDES or DISTROOVERRIDES variables, where this is appropriate). - -* Remote Debugging - Support for remote debugging with the Eclipse IDE has been split out into a separate image feature (eclipse-debug) corresponding to the packagegroup-core-eclipse-debug package group. (Previously this was included in the tools-debug image feature which corresponds to the packagegroup-core-tools-debug package group.) - -* Variables - SANITY_TESTED_DISTROS now uses a distro ID composed of the host distributor ID followed by the release, rather than the description field being used previously (so "Ubuntu 12.10" becomes "Ubuntu-12.10"). If you aren't setting this variable (or are setting it to "") you don't need to worry about this. - -* Items Removed -- mesa-dri renamed to mesa -- Gtk+ DirectFB support has been removed since it is no longer supported in upstream Gtk+ as of version 2.18 -- linux-yocto 3.0 kernel has been removed and a version 3.8 has been added -- mesa-xlib removed - no longer useful -- polkit removed - now in the meta-oe layer -- libmusicbrainz removed - now in the meta-multimedia layer -- zeroconf removed - now in the meta-networking layer -- web removed - unmaintained and superseded by web-webkit -- gtkhtml2 removed - now in the meta-oe layer -- clutter-box2d removed - now in the meta-oe layer -- orinoco-conf removed - obsolete -- matchbox-stroke removed - was never more than a proof-of-concept -- update-modules removed - no longer used (kernel module postinstall/postrm scripts can now do the same task without the use of this script) -- zypper / libzypp / sat-solver removed - these have been functionally replaced with Smart (python-smartpm) when RPM packaging is used and package management is enabled on the target. -- libcanberra removed - now in the meta-gnome layer -- metacity removed - now in the meta-gnome layer -- gupnp removed - now in the meta-multimedia layer -- libgdata removed - now in the meta-gnome layer -- gthumb removed - now in the meta-gnome layer -- mutter removed - never used by anything else and recipe was very old -- gypsy removed - now in the meta-oe layer -- matchbox-wm-2 / matchbox-theme-sato-2 removed - unmaintained (matchbox-wm / matchbox-theme-sato still provided) -- lsbsetup removed - functionality now provided by lsbtest -- evolution-data-server removed - now in the meta-gnome layer -- xf86bigfontproto removed - disabled by default upstream since 2007, nothing uses it -- evieext removed - removed from xserver in 2008 -- xf86rushproto removed - dependency in xserver was spurious and was removed in 2005 -- libxfontcache / xfontcacheproto removed - removed from the Xorg server in 2008 -- libxp / libxprintapputil / libxprintutil / printproto removed - the XPrint server was removed from Xorg in 2008 -- libxtrap / xtrapproto removed - functionality was broken upstream so it was removed - - +
+ BitBake + + + Differences include the following: + + Comment Continuation: + If a comment ends with a line continuation (\) character, + then the next line must also be a comment. + Any instance where this is not the case, now triggers + a warning. + You must either remove the continuation character, or be + sure the next line is a comment. + + Package Name Overrides: + The runtime package specific variables + RDEPENDS, + RRECOMMENDS, + RSUGGESTS, + RPROVIDES, + RCONFLICTS, + RREPLACES, + FILES, + ALLOW_EMPTY, + and the pre, post, install, and uninstall script functions + pkg_preinst, + pkg_postinst, + pkg_prerm, and + pkg_postrm should always have a + package name override. + For example, use RDEPENDS_${PN} for + the main package instead of RDEPENDS. + BitBake uses more strict checks when it parses recipes. + + + +
+ +
+ Build Behavior + + + Differences include the following: + + Shared State Code: + The shared state code has been optimized to avoid running + unnecessary tasks. + For example, + bitbake -c rootfs some-image from + shared state no longer populates the target sysroot + since that is not necessary. + Instead, the system just needs to extract the output + package contents, re-create the packages, and construct + the root filesystem. + This change is unlikely to cause any problems unless + you have missing declared dependencies. + + Scanning Directory Names: + When scanning for files in + SRC_URI, + the build system now uses FILESOVERRIDES + instead of OVERRIDES for the directory + names. + In general, the values previously in + OVERRIDES are now in + FILESOVERRIDES as well. + However, if you relied upon an additional value + you previously added to OVERRIDES, + you might now need to add it to + FILESOVERRIDES unless you are already + adding it through the MACHINEOVERRIDES + or DISTROOVERRIDES variables, + as appropriate. + + + +
+ + +
+ Proxies and Fetching Source + + + A new oe-git-proxy script has been added to + replace previous methods of handling proxies and fetching source + from Git. + See the meta-yocto/conf/site.conf.sample file + for information on how to use this script. + +
+ +
+ Remote Debugging + + + Support for remote debugging with the Eclipse IDE is now + separated into an image feature + (eclipse-debug) that corresponds to the + packagegroup-core-eclipse-debug package group. + Previously, the debugging feature was included through the + tools-debug image feature, which corresponds + to the packagegroup-core-tools-debug + package group. + +
+ +
+ Variables + + + The SANITY_TESTED_DISTROS variable now uses a + distribution ID, which is composed of the host distributor ID + followed by the release. + Previously, it was composed of the description field. + For example, "Ubuntu 12.10" becomes "Ubuntu-12.10". + You do not need to worry about this change if you are not + specifically setting this variable, or if you are + specifically setting it to "". + +
+ +
+ Removals and Renames + + + The following list shows what has been removed or renamed: + + mesa-dri: + Renamed to mesa. + + Gtk+ DirectFB: + Removed support because upstream Gtk+ no longer supports it + as of version 2.18. + + linux-yocto 3.0 kernel: + Removed with linux-yocto 3.8 kernel being added. + + mesa-xlib: + Removed because it was no longer useful. + + polkit: + Removed from its previous location and now resides in the + meta-oe layer. + + libmusicbrainz: + Removed from its previous location and now resides in the + meta-multimedia layer. + + zeroconf: + Removed from its previous location and now resides in the + meta-networking layer. + + web: + Removed because it is not maintained. Superseded by + web-webkit. + + gtkhtml2: + Removed from its previous location and now resides in the + meta-oe layer. + + gtkhtml2: + Removed from its previous location and now resides in the + meta-oe layer. + + clutter-box2d: + Removed from its previous location and now resides in the + meta-oe layer. + + orinoco-conf: + Removed because it has become obsolete. + + omatchbox-stroke: + Removed because it was never more than a proof-of-concept. + + update-modules: + Removed because it is no longer used. + The kernel module postinstall and + postrm scripts can now do the same + task without the use of this script. + + zypper / libzypp / sat-solver: + Removed and been functionally replaced with Smart + (python-smartpm) when RPM packaging + is used and package management is enabled on the target. + + libcanberra: + Removed from its previous location and now resides in the + meta-gnome layer. + + metacity: + Removed from its previous location and now resides in the + meta-gnome layer. + + gupnp: + Removed from its previous location and now resides in the + meta-multimedia layer. + + libgdata: + Removed from its previous location and now resides in the + meta-gnome layer. + + gthumb: + Removed from its previous location and now resides in the + meta-gnome layer. + + mutter: + Removed because nothing ever uses it and the recipe is + very old. + + gypsy: + Removed from its previous location and now resides in the + meta-oe layer. + + matchbox-wm-2 / matchbox-theme-sato-2: + Removed because they are not maintained. + However, matchbox-wm and + matchbox-theme-sato are still + provided. + + lsbsetup: + Removed with functionality now provided by + lsbtest. + + evolution-data-server: + Removed from its previous location and now resides in the + meta-gnome layer. + + xf86bigfontproto: + Removed because upstream it has been disabled by default + since 2007. + Nothing uses xf86bigfontproto. + + evieext: + Removed because it has been removed from + xserver since 2008. + + xf86rushproto: + Removed because its dependency in + xserver was spurious and it was + removed in 2005. + + libxfontcache / xfontcacheproto: + Removed because they were removed from the Xorg server in 2008. + + libxp / libxprintapputil / libxprintutil / printproto: + Removed because the XPrint server was removed from + Xorg in 2008. + + libxtrap / xtrapproto: + Removed because their functionality was broken upstream. + + + +