<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.yoctoproject.org/wiki/index.php?action=history&amp;feed=atom&amp;title=TipsAndTricks%2FPatching_the_source_for_a_recipe</id>
	<title>TipsAndTricks/Patching the source for a recipe - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.yoctoproject.org/wiki/index.php?action=history&amp;feed=atom&amp;title=TipsAndTricks%2FPatching_the_source_for_a_recipe"/>
	<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=TipsAndTricks/Patching_the_source_for_a_recipe&amp;action=history"/>
	<updated>2026-04-18T08:21:04Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.39.5</generator>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=TipsAndTricks/Patching_the_source_for_a_recipe&amp;diff=86259&amp;oldid=prev</id>
		<title>Marco Cavallini: Chenged &quot;bitbake&quot; to &quot;devtool build&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=TipsAndTricks/Patching_the_source_for_a_recipe&amp;diff=86259&amp;oldid=prev"/>
		<updated>2024-03-05T16:47:16Z</updated>

		<summary type="html">&lt;p&gt;Chenged &amp;quot;bitbake&amp;quot; to &amp;quot;devtool build&amp;quot;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 16:47, 5 March 2024&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l12&quot;&gt;Line 12:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 12:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Run &amp;lt;code&amp;gt;devtool modify &amp;amp;lt;recipename&amp;amp;gt;&amp;lt;/code&amp;gt;. This will fetch the sources for the recipe and unpack them to a workspace/sources/&amp;lt;recipename&amp;gt; directory and initialise it as a git repository if it isn&amp;#039;t already one. If you prefer you can specify your own path, or if you already have your own existing source tree you can specify the path along with the -n option to use that instead of unpacking a new one.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Run &amp;lt;code&amp;gt;devtool modify &amp;amp;lt;recipename&amp;amp;gt;&amp;lt;/code&amp;gt;. This will fetch the sources for the recipe and unpack them to a workspace/sources/&amp;lt;recipename&amp;gt; directory and initialise it as a git repository if it isn&amp;#039;t already one. If you prefer you can specify your own path, or if you already have your own existing source tree you can specify the path along with the -n option to use that instead of unpacking a new one.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Make the changes you want to make to the source&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Make the changes you want to make to the source&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Run a build to test your changes - you can just &amp;lt;code&amp;gt;&lt;del style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;bitbake &lt;/del&gt;&amp;amp;lt;recipename&amp;amp;gt;&amp;lt;/code&amp;gt; or even build an entire image incorporating the changes assuming a package produced by the recipe is part of an image. There&amp;#039;s no need to force anything - the build system will detect changes to the source and recompile as necessary.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Run a build to test your changes - you can just &amp;lt;code&amp;gt;&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;devtool build &lt;/ins&gt;&amp;amp;lt;recipename&amp;amp;gt;&amp;lt;/code&amp;gt; or even build an entire image incorporating the changes assuming a package produced by the recipe is part of an image. There&amp;#039;s no need to force anything - the build system will detect changes to the source and recompile as necessary.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# If you wish, test your changes on the target. There&amp;#039;s a &amp;quot;devtool deploy-target&amp;quot; command which will copy the files installed at do_install over to the target machine assuming it has network access, and any dependencies are already present in the image.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# If you wish, test your changes on the target. There&amp;#039;s a &amp;quot;devtool deploy-target&amp;quot; command which will copy the files installed at do_install over to the target machine assuming it has network access, and any dependencies are already present in the image.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Repeat from step 2 as needed until you&amp;#039;re happy with the results.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Repeat from step 2 as needed until you&amp;#039;re happy with the results.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Marco Cavallini</name></author>
	</entry>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=TipsAndTricks/Patching_the_source_for_a_recipe&amp;diff=61374&amp;oldid=prev</id>
		<title>Cengiz Can: /* Patching the source for a recipe */</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=TipsAndTricks/Patching_the_source_for_a_recipe&amp;diff=61374&amp;oldid=prev"/>
		<updated>2019-10-09T15:50:50Z</updated>

		<summary type="html">&lt;p&gt;&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Patching the source for a recipe&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 15:50, 9 October 2019&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot; id=&quot;mw-diff-left-l16&quot;&gt;Line 16:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 16:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Repeat from step 2 as needed until you&amp;#039;re happy with the results.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# Repeat from step 2 as needed until you&amp;#039;re happy with the results.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# At this point you will almost certainly want to place your changes in the form of a patch to be applied from the metadata - devtool provides help with this as well. Commit your changes using &amp;quot;git commit&amp;quot; (as many or as few commits as you&amp;#039;d like) and then run either:&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# At this point you will almost certainly want to place your changes in the form of a patch to be applied from the metadata - devtool provides help with this as well. Commit your changes using &amp;quot;git commit&amp;quot; (as many or as few commits as you&amp;#039;d like) and then run either:&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* &amp;lt;code&amp;gt;devtool update-recipe&amp;lt;/code&amp;gt; to update the original recipe - usually appropriate if it&amp;#039;s your own recipe or you&amp;#039;re submitting the changes back to the upstream layer&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* &amp;lt;code&amp;gt;devtool update-recipe &lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;lt;recipename&amp;amp;gt;&lt;/ins&gt;&amp;lt;/code&amp;gt; to update the original recipe - usually appropriate if it&amp;#039;s your own recipe or you&amp;#039;re submitting the changes back to the upstream layer&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;−&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #ffe49c; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* &amp;lt;code&amp;gt;devtool update recipe -a &amp;amp;lt;layerpath&amp;amp;gt;&amp;lt;/code&amp;gt; to put your changes in the form of a bbappend to be applied by a different layer. This is usually the desired method if your changes are customisations rather than bugfixes.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot; data-marker=&quot;+&quot;&gt;&lt;/td&gt;&lt;td style=&quot;color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #a3d3ff; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;#* &amp;lt;code&amp;gt;devtool update&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;-&lt;/ins&gt;recipe -a &amp;amp;lt;layerpath&lt;ins style=&quot;font-weight: bold; text-decoration: none;&quot;&gt;&amp;amp;gt; &amp;amp;lt;recipename&lt;/ins&gt;&amp;amp;gt;&amp;lt;/code&amp;gt; to put your changes in the form of a bbappend to be applied by a different layer. This is usually the desired method if your changes are customisations rather than bugfixes.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# If you&amp;#039;re finished working on the recipe, run &amp;lt;code&amp;gt;devtool reset &amp;amp;lt;recipename&amp;amp;gt;&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;# If you&amp;#039;re finished working on the recipe, run &amp;lt;code&amp;gt;devtool reset &amp;amp;lt;recipename&amp;amp;gt;&amp;lt;/code&amp;gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;br/&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is just one of the things that devtool can do - it provides some powerful tools to help you maintain recipes and make changes to source code.&lt;/div&gt;&lt;/td&gt;&lt;td class=&quot;diff-marker&quot;&gt;&lt;/td&gt;&lt;td style=&quot;background-color: #f8f9fa; color: #202122; font-size: 88%; border-style: solid; border-width: 1px 1px 1px 4px; border-radius: 0.33em; border-color: #eaecf0; vertical-align: top; white-space: pre-wrap;&quot;&gt;&lt;div&gt;This is just one of the things that devtool can do - it provides some powerful tools to help you maintain recipes and make changes to source code.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>Cengiz Can</name></author>
	</entry>
	<entry>
		<id>https://wiki.yoctoproject.org/wiki/index.php?title=TipsAndTricks/Patching_the_source_for_a_recipe&amp;diff=19313&amp;oldid=prev</id>
		<title>PaulEggleton: Created page with &quot;= Patching the source for a recipe =  One of the useful things about OpenEmbedded building everything from source is that it&#039;s fairly easy to make changes to anything that get...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.yoctoproject.org/wiki/index.php?title=TipsAndTricks/Patching_the_source_for_a_recipe&amp;diff=19313&amp;oldid=prev"/>
		<updated>2016-07-03T22:20:35Z</updated>

		<summary type="html">&lt;p&gt;Created page with &amp;quot;= Patching the source for a recipe =  One of the useful things about OpenEmbedded building everything from source is that it&amp;#039;s fairly easy to make changes to anything that get...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;= Patching the source for a recipe =&lt;br /&gt;
&lt;br /&gt;
One of the useful things about OpenEmbedded building everything from source is that it&amp;#039;s fairly easy to make changes to anything that gets built, but doing so for the first time can be a bit daunting.&lt;br /&gt;
&lt;br /&gt;
As part of building a recipe, OE creates a tmp/work/&amp;lt;architecture&amp;gt;/&amp;lt;recipe&amp;gt;/&amp;lt;version&amp;gt; directory, known as the &amp;quot;work directory&amp;quot;. This is where all of the work done to build a recipe takes place. One of the things you&amp;#039;ll find in this directory is the source, usually under a subdirectory named &amp;lt;recipename&amp;gt;-&amp;lt;version&amp;gt; or &amp;quot;git&amp;quot; (depending on how the fetched source is provided). The temptation (and what people used to do in the past) is to simply make changes here and then recompile, but there are several reasons why that&amp;#039;s not a good idea:&lt;br /&gt;
&lt;br /&gt;
* It&amp;#039;s awkward - you have to use &amp;lt;code&amp;gt;bitbake -c compile -f&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;bitbake -C compile&amp;lt;/code&amp;gt; to force recompilation, since the build system doesn&amp;#039;t know that you&amp;#039;ve made any changes&lt;br /&gt;
* You can easily lose your changes if you&amp;#039;re not careful e.g. running &amp;lt;code&amp;gt;bitbake -c clean&amp;lt;/code&amp;gt; will wipe the directory out&lt;br /&gt;
&lt;br /&gt;
Luckily if you&amp;#039;re using the fido (1.8) or later release, there&amp;#039;s a much better method using the &amp;lt;code&amp;gt;devtool&amp;lt;/code&amp;gt; command:&lt;br /&gt;
&lt;br /&gt;
# Run &amp;lt;code&amp;gt;devtool modify &amp;amp;lt;recipename&amp;amp;gt;&amp;lt;/code&amp;gt;. This will fetch the sources for the recipe and unpack them to a workspace/sources/&amp;lt;recipename&amp;gt; directory and initialise it as a git repository if it isn&amp;#039;t already one. If you prefer you can specify your own path, or if you already have your own existing source tree you can specify the path along with the -n option to use that instead of unpacking a new one.&lt;br /&gt;
# Make the changes you want to make to the source&lt;br /&gt;
# Run a build to test your changes - you can just &amp;lt;code&amp;gt;bitbake &amp;amp;lt;recipename&amp;amp;gt;&amp;lt;/code&amp;gt; or even build an entire image incorporating the changes assuming a package produced by the recipe is part of an image. There&amp;#039;s no need to force anything - the build system will detect changes to the source and recompile as necessary.&lt;br /&gt;
# If you wish, test your changes on the target. There&amp;#039;s a &amp;quot;devtool deploy-target&amp;quot; command which will copy the files installed at do_install over to the target machine assuming it has network access, and any dependencies are already present in the image.&lt;br /&gt;
# Repeat from step 2 as needed until you&amp;#039;re happy with the results.&lt;br /&gt;
# At this point you will almost certainly want to place your changes in the form of a patch to be applied from the metadata - devtool provides help with this as well. Commit your changes using &amp;quot;git commit&amp;quot; (as many or as few commits as you&amp;#039;d like) and then run either:&lt;br /&gt;
#* &amp;lt;code&amp;gt;devtool update-recipe&amp;lt;/code&amp;gt; to update the original recipe - usually appropriate if it&amp;#039;s your own recipe or you&amp;#039;re submitting the changes back to the upstream layer&lt;br /&gt;
#* &amp;lt;code&amp;gt;devtool update recipe -a &amp;amp;lt;layerpath&amp;amp;gt;&amp;lt;/code&amp;gt; to put your changes in the form of a bbappend to be applied by a different layer. This is usually the desired method if your changes are customisations rather than bugfixes.&lt;br /&gt;
# If you&amp;#039;re finished working on the recipe, run &amp;lt;code&amp;gt;devtool reset &amp;amp;lt;recipename&amp;amp;gt;&amp;lt;/code&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
This is just one of the things that devtool can do - it provides some powerful tools to help you maintain recipes and make changes to source code.&lt;/div&gt;</summary>
		<author><name>PaulEggleton</name></author>
	</entry>
</feed>