FutureMigrationGuide: Difference between revisions

From Yocto Project
Jump to navigationJump to search
No edit summary
No edit summary
Line 6: Line 6:


=2.4 Migration Guide items=
=2.4 Migration Guide items=
* Bitbake's memory resident mode has been replaced by a persistent mode which is available in bitbake's default operation.
* ROOTFS_PKGMANAGE_BOOTSTRAP is gone, and any references to it should be removed.
* ROOTFS_PKGMANAGE_BOOTSTRAP is gone, and any references to it should be removed.
== Memory resident mode ==
Bitbake's previous "memory resident mode" has been replaced by a persistent mode which is available in bitbake's default operation. As such, you only need to set BB_SERVER_TIMEOUT to a timeout (in seconds) and BitBake's server will stay resident for that amount of time between bitbake invocations. The oe-init-build-env-memres script has been removed as a separate environment setup script is no longer needed.
== Removed recipes ==
The following recipes have been removed in the 2.4 release:
* acpitests: recipe not being maintained
* autogen-native: with grub no longer requiring it, there's nothing else in oe-core or meta-oe that does.
* bdwgc: moved to meta-oe as nothing in OpenEmbedded-Core needs it in any longer.
* byacc - was only needed by rpm 5.x and has been moved to meta-oe
* gcc (5.4): drop 5.4 series in favour of 6.3 / 7.2
* gnome-common: deprecated upstream and no longer needed
* go-bootstrap-native: remove recipe as go 1.9 can do its own bootstrapping
* guile: was only needed by autogen-native and remake, so no longer needed
* libclass-isa-perl: was previously needed for LSB 4, no longer needed
* libdumpvalue-perl: was previously needed for LSB 4, no longer needed
* libenv-perl: was previously needed for LSB 4, no longer needed
* libfile-checktree-perl: was previously needed for LSB 4, no longer needed
* libi18n-collate-perl: was previously needed for LSB 4, no longer needed
* libiconv: this was only needed for uclibc which was removed in the previous release - glibc and musl have their own implementations. meta-mingw still needs it so it has been moved there.
* libpng12: only previously needed for LSB; current libpng is 1.6.x.
* libpod-plainer-perl: was previously needed for LSB 4, no longer needed
* linux-yocto (4.1): removed in favour of 4.4, 4.9, 4.10 and 4.12
* mailx: only previously needed for LSB compatibility, with upstream being defunct now for a long time.
* mesa (git version only) - has gone stale with respect to the release version
* ofono (git version only) - has gone stale with respect to the release version
* portmap: obsolete - superseded by rpcbind.
* python3-pygpgme: old and unmaintained; was previously required only by dnf but that has now switched to official gpgme python bindings.
* python-async: removed in favour of python 3 version
* python-gitdb: removed in favour of python 3 version
* python-git: removed in favour of python 3 version
* python-mako: removed in favour of python 3 version
* python-pexpect: removed in favour of python 3 version
* python-ptyprocess: removed in favour of python 3 version
* python-pycurl: nothing is using this in OpenEmbedded-Core (or meta-oe)
* python-six: removed in favour of python 3 version
* python-smmap: removed in favour of python 3 version
* remake: using remake as the provider of virtual/make has been broken for some time. No longer needed in OpenEmbedded-Core.
== Other changes (yet to be categorised / completed) ==
* python3: add python3 metapackage
* binutils: package libbfd seperately
* classes/buildhistory: make a single commit per build
* python-3.5: Move bz2.py, lzma.py and _compression.py from python3-misc to python3-compression
* x86-base.inc: Don't add live to IMAGE_FSTYPES, default instead
* image_types.bbclass: get rid of IMAGE_DEPENDS
* bitbake: cooker: Use multiple BuildStarted events for multiconfig
* security_flags.inc: Delete pinnings for SECURITY_NO_PIE_CFLAGS
* util-linux: fix "su -" and package su separately
* bitbake: tinfoil: add a parse_recipes() function
* bsp/help: include a warning showing deprecation of create-layer plugin
* image: Convert vmdk/vdi/qcow2 to strict CONVERSION_CMD types
* insane: remove unsafe-references-in-scripts check
* openssl10: rename back to openssl and make it the default via PREFERRED_VERSION
* initscripts: split sushell into sub package
* bitbake: cooker: Change to consistent prefile/postfile handling
* insane.bbclass: Warn if ${COREBASE}/LICENSE is used
* util-linux: split out ionice into its own package
* glib-2.0: recommend shared-mime-info
* go: split out go-runtime into separate recipe
* kernel: Move Device Tree support to kernel.bbclass
* README.qemu: Add from meta-yocto as it belongs in core
* meta-yocto: Drop meta-yocto directory
* meta-yocto: Restructure and tidy up READMEs
* conf: add maintainers.inc from meta-poky
* conf: remove maintainers.inc, now in oe-core
* util-linux: package switch_root separately

Revision as of 04:20, 12 October 2017

This page should be used to keep track of items which should be added to the migration guide in the YP Reference Manual. It's a living document for the life of a development cycle and by M4 should represent a significant proportion of items that are worthy of note in the migration guide.

Once the migration guide for a release has been completed the contents of this page should be cleared out.

2.4 Migration Guide items

  • ROOTFS_PKGMANAGE_BOOTSTRAP is gone, and any references to it should be removed.

Memory resident mode

Bitbake's previous "memory resident mode" has been replaced by a persistent mode which is available in bitbake's default operation. As such, you only need to set BB_SERVER_TIMEOUT to a timeout (in seconds) and BitBake's server will stay resident for that amount of time between bitbake invocations. The oe-init-build-env-memres script has been removed as a separate environment setup script is no longer needed.

Removed recipes

The following recipes have been removed in the 2.4 release:

  • acpitests: recipe not being maintained
  • autogen-native: with grub no longer requiring it, there's nothing else in oe-core or meta-oe that does.
  • bdwgc: moved to meta-oe as nothing in OpenEmbedded-Core needs it in any longer.
  • byacc - was only needed by rpm 5.x and has been moved to meta-oe
  • gcc (5.4): drop 5.4 series in favour of 6.3 / 7.2
  • gnome-common: deprecated upstream and no longer needed
  • go-bootstrap-native: remove recipe as go 1.9 can do its own bootstrapping
  • guile: was only needed by autogen-native and remake, so no longer needed
  • libclass-isa-perl: was previously needed for LSB 4, no longer needed
  • libdumpvalue-perl: was previously needed for LSB 4, no longer needed
  • libenv-perl: was previously needed for LSB 4, no longer needed
  • libfile-checktree-perl: was previously needed for LSB 4, no longer needed
  • libi18n-collate-perl: was previously needed for LSB 4, no longer needed
  • libiconv: this was only needed for uclibc which was removed in the previous release - glibc and musl have their own implementations. meta-mingw still needs it so it has been moved there.
  • libpng12: only previously needed for LSB; current libpng is 1.6.x.
  • libpod-plainer-perl: was previously needed for LSB 4, no longer needed
  • linux-yocto (4.1): removed in favour of 4.4, 4.9, 4.10 and 4.12
  • mailx: only previously needed for LSB compatibility, with upstream being defunct now for a long time.
  • mesa (git version only) - has gone stale with respect to the release version
  • ofono (git version only) - has gone stale with respect to the release version
  • portmap: obsolete - superseded by rpcbind.
  • python3-pygpgme: old and unmaintained; was previously required only by dnf but that has now switched to official gpgme python bindings.
  • python-async: removed in favour of python 3 version
  • python-gitdb: removed in favour of python 3 version
  • python-git: removed in favour of python 3 version
  • python-mako: removed in favour of python 3 version
  • python-pexpect: removed in favour of python 3 version
  • python-ptyprocess: removed in favour of python 3 version
  • python-pycurl: nothing is using this in OpenEmbedded-Core (or meta-oe)
  • python-six: removed in favour of python 3 version
  • python-smmap: removed in favour of python 3 version
  • remake: using remake as the provider of virtual/make has been broken for some time. No longer needed in OpenEmbedded-Core.

Other changes (yet to be categorised / completed)

  • python3: add python3 metapackage
  • binutils: package libbfd seperately
  • classes/buildhistory: make a single commit per build
  • python-3.5: Move bz2.py, lzma.py and _compression.py from python3-misc to python3-compression
  • x86-base.inc: Don't add live to IMAGE_FSTYPES, default instead
  • image_types.bbclass: get rid of IMAGE_DEPENDS
  • bitbake: cooker: Use multiple BuildStarted events for multiconfig
  • security_flags.inc: Delete pinnings for SECURITY_NO_PIE_CFLAGS
  • util-linux: fix "su -" and package su separately
  • bitbake: tinfoil: add a parse_recipes() function
  • bsp/help: include a warning showing deprecation of create-layer plugin
  • image: Convert vmdk/vdi/qcow2 to strict CONVERSION_CMD types
  • insane: remove unsafe-references-in-scripts check
  • openssl10: rename back to openssl and make it the default via PREFERRED_VERSION
  • initscripts: split sushell into sub package
  • bitbake: cooker: Change to consistent prefile/postfile handling
  • insane.bbclass: Warn if ${COREBASE}/LICENSE is used
  • util-linux: split out ionice into its own package
  • glib-2.0: recommend shared-mime-info
  • go: split out go-runtime into separate recipe
  • kernel: Move Device Tree support to kernel.bbclass
  • README.qemu: Add from meta-yocto as it belongs in core
  • meta-yocto: Drop meta-yocto directory
  • meta-yocto: Restructure and tidy up READMEs
  • conf: add maintainers.inc from meta-poky
  • conf: remove maintainers.inc, now in oe-core
  • util-linux: package switch_root separately