generic-poky/documentation/ref-manual/eclipse/html/poky-ref-manual/migration-1.3-task-recipes....

40 lines
2.4 KiB
HTML
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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