migration-1.3-task-recipes.html 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <html>
  2. <head>
  3. <meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
  4. <title>4.1.2.4. Task Recipes</title>
  5. <link rel="stylesheet" type="text/css" href="../book.css">
  6. <meta name="generator" content="DocBook XSL Stylesheets V1.76.1">
  7. <link rel="home" href="index.html" title="The Yocto Project Reference Manual">
  8. <link rel="up" href="1.3-recipes.html" title="4.1.2. Recipes">
  9. <link rel="prev" href="migration-1.3-nativesdk.html" title="4.1.2.3. nativesdk">
  10. <link rel="next" href="migration-1.3-image-features.html" title="4.1.2.5. IMAGE_FEATURES">
  11. </head>
  12. <body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="section" title="4.1.2.4. Task Recipes">
  13. <div class="titlepage"><div><div><h4 class="title">
  14. <a name="migration-1.3-task-recipes"></a>4.1.2.4. Task Recipes</h4></div></div></div>
  15. <p>
  16. "Task" recipes are now known as "Package groups" and have
  17. been renamed from <code class="filename">task-*.bb</code> to
  18. <code class="filename">packagegroup-*.bb</code>.
  19. Existing references to the previous <code class="filename">task-*</code>
  20. names should work in most cases as there is an automatic
  21. upgrade path for most packages.
  22. However, you should update references in your own recipes and
  23. configurations as they could be removed in future releases.
  24. You should also rename any custom <code class="filename">task-*</code>
  25. recipes to <code class="filename">packagegroup-*</code>, and change
  26. them to inherit <code class="filename">packagegroup</code> instead of
  27. <code class="filename">task</code>, as well as taking the opportunity
  28. to remove anything now handled by
  29. <code class="filename">packagegroup.bbclass</code>, such as providing
  30. <code class="filename">-dev</code> and <code class="filename">-dbg</code>
  31. packages, setting
  32. <a class="link" href="ref-variables-glos.html#var-LIC_FILES_CHKSUM" title="LIC_FILES_CHKSUM"><code class="filename">LIC_FILES_CHKSUM</code></a>,
  33. and so forth.
  34. See the
  35. "<a class="link" href="ref-classes-packagegroup.html" title="7.12. Package Groups - packagegroup.bbclass">Package Groups - packagegroup.bbclass</a>"
  36. section for further details.
  37. </p>
  38. </div></body>
  39. </html>