<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://wiki.openmoko.org/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://wiki.openmoko.org/index.php?title=User:CesarB/Using_a_local_overlay&amp;feed=atom&amp;action=history</id>
		<title>User:CesarB/Using a local overlay - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://wiki.openmoko.org/index.php?title=User:CesarB/Using_a_local_overlay&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/index.php?title=User:CesarB/Using_a_local_overlay&amp;action=history"/>
		<updated>2013-05-25T09:56:47Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.19.6</generator>

	<entry>
		<id>http://wiki.openmoko.org/index.php?title=User:CesarB/Using_a_local_overlay&amp;diff=17801&amp;oldid=prev</id>
		<title>CesarB: /* Using a local overlay */ add explanation for the FAQ on changing the contents of the rootfs; see also http://blog.haerwu.biz/2007/08/23/why-using-of-distromachine-variables-in-localconf-is-wrong/</title>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/index.php?title=User:CesarB/Using_a_local_overlay&amp;diff=17801&amp;oldid=prev"/>
				<updated>2007-08-26T05:08:42Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Using a local overlay: &lt;/span&gt; add explanation for the FAQ on changing the contents of the rootfs; see also http://blog.haerwu.biz/2007/08/23/why-using-of-distromachine-variables-in-localconf-is-wrong/&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 05:08, 26 August 2007&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 49:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;You can add a new package (or a recipe for a new version of a package) to the overlay tree simply by creating it on the overlay tree.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;You can add a new package (or a recipe for a new version of a package) to the overlay tree simply by creating it on the overlay tree.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;=== Changing what's included on the build ===&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins style=&quot;color: red; font-weight: bold; text-decoration: none;&quot;&gt;This is a special case of [[#Changing packages|Changing packages]] above. The recipe to copy and modify is &amp;lt;code&amp;gt;packages/images/openmoko-image.bb&amp;lt;/code&amp;gt;, and you should also symlink &amp;lt;code&amp;gt;packages/images/openmoko-devel-image.bb&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;packages/images/openmoko-sdk-image.bb&amp;lt;/code&amp;gt;. To add a new package, add it to &amp;lt;code&amp;gt;PACKAGE_INSTALL&amp;lt;/code&amp;gt;.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>CesarB</name></author>	</entry>

	<entry>
		<id>http://wiki.openmoko.org/index.php?title=User:CesarB/Using_a_local_overlay&amp;diff=17800&amp;oldid=prev</id>
		<title>CesarB: /* Creating a local overlay */ typo</title>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/index.php?title=User:CesarB/Using_a_local_overlay&amp;diff=17800&amp;oldid=prev"/>
				<updated>2007-08-26T04:53:18Z</updated>
		
		<summary type="html">&lt;p&gt;‎&lt;span dir=&quot;auto&quot;&gt;&lt;span class=&quot;autocomment&quot;&gt;Creating a local overlay: &lt;/span&gt; typo&lt;/span&gt;&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 04:53, 26 August 2007&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 20:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; BBFILE_PATTERN_local = &amp;quot;^${OMDIR}/local/packages/&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; BBFILE_PATTERN_local = &amp;quot;^${OMDIR}/local/packages/&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; BBFILE_PRIORITY_upstream = &amp;quot;5&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; BBFILE_PRIORITY_upstream = &amp;quot;5&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;BBFILE_PRIORIRY_local &lt;/del&gt;= &amp;quot;10&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;BBFILE_PRIORITY_local &lt;/ins&gt;= &amp;quot;10&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The &amp;lt;code&amp;gt;BBFILE_PRIORITY_local&amp;lt;/code&amp;gt; value should be greater than the &amp;lt;code&amp;gt;BBFILE_PRIORITY_upstream&amp;lt;/code&amp;gt; value.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The &amp;lt;code&amp;gt;BBFILE_PRIORITY_local&amp;lt;/code&amp;gt; value should be greater than the &amp;lt;code&amp;gt;BBFILE_PRIORITY_upstream&amp;lt;/code&amp;gt; value.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>CesarB</name></author>	</entry>

	<entry>
		<id>http://wiki.openmoko.org/index.php?title=User:CesarB/Using_a_local_overlay&amp;diff=17798&amp;oldid=prev</id>
		<title>CesarB: Updated for 2007.2; not tested yet</title>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/index.php?title=User:CesarB/Using_a_local_overlay&amp;diff=17798&amp;oldid=prev"/>
				<updated>2007-08-26T04:52:12Z</updated>
		
		<summary type="html">&lt;p&gt;Updated for 2007.2; not tested yet&lt;/p&gt;
&lt;table class='diff diff-contentalign-left'&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
				&lt;col class='diff-marker' /&gt;
				&lt;col class='diff-content' /&gt;
			&lt;tr valign='top'&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;← Older revision&lt;/td&gt;
			&lt;td colspan='2' style=&quot;background-color: white; color:black;&quot;&gt;Revision as of 04:52, 26 August 2007&lt;/td&gt;
			&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 1:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;A local overlay is a way to add your own bitbake recipes (or override the ones from openembedded &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;and openmoko&lt;/del&gt;) without having them clobbered when you update these trees.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;A local overlay is a way to add your own bitbake recipes (or override the ones from openembedded) without having them clobbered when you update these trees.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Creating a local overlay ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Creating a local overlay ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;
&lt;td colspan=&quot;2&quot; class=&quot;diff-lineno&quot;&gt;Line 11:&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Copy &amp;lt;code&amp;gt;site.conf&amp;lt;/code&amp;gt; from the openmoko tree to &amp;lt;code&amp;gt;local/conf&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Copy &amp;lt;code&amp;gt;site.conf&amp;lt;/code&amp;gt; from the openmoko tree to &amp;lt;code&amp;gt;local/conf&amp;lt;/code&amp;gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; cp &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;oe&lt;/del&gt;/conf/site.conf local/conf/site.conf&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; cp &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;build&lt;/ins&gt;/conf/site.conf local/conf/site.conf&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Edit the local.conf you copied to add the new tree as a source for bitbake recipes. You must change the &amp;lt;code&amp;gt;BBFILES&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;BBFILE_COLLECTIONS&amp;lt;/code&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;variables and add new &lt;/del&gt;&amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;BBFILE_PATTERN&lt;/del&gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;BBFILE_PRIORITY&lt;/del&gt;&amp;lt;/code&amp;gt; variables&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;.&lt;/del&gt;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Edit the local.conf you copied to add the new tree as a source for bitbake recipes. You must change the &amp;lt;code&amp;gt;BBFILES&amp;lt;/code&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;variable, &lt;/ins&gt;and &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;add the &lt;/ins&gt;&amp;lt;code&amp;gt;BBFILE_COLLECTIONS&amp;lt;/code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;, &lt;/ins&gt;&amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;BBFILE_PATTERN_*&lt;/ins&gt;&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;BBFILE_PRIORITY_*&lt;/ins&gt;&amp;lt;/code&amp;gt; variables&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;:&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; BBFILES := &amp;quot;${OMDIR}/openembedded&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;/packages/*/*.bb ${OMDIR}/oe&lt;/del&gt;/packages/*/*.bb ${OMDIR}/local/packages/*/*.bb&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; BBFILES := &amp;quot;${OMDIR}/openembedded/packages/*/*.bb ${OMDIR}/local/packages/*/*.bb&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; BBFILE_COLLECTIONS = &amp;quot;upstream local &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;overlay&lt;/del&gt;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; BBFILE_COLLECTIONS = &amp;quot;upstream local&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;BBFILE_PATTERN_overlay &lt;/del&gt;= &amp;quot;^${OMDIR}/local/&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;BBFILE_PATTERN_upstream = &amp;quot;^${OMDIR}/openembedded/packages/&amp;quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;BBFILE_PRIORITY_overlay &lt;/del&gt;= &amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;20&lt;/del&gt;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; BBFILE_PATTERN_local &lt;/ins&gt;= &amp;quot;^${OMDIR}/local/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;packages/&amp;quot;&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt; BBFILE_PRIORITY_upstream = &amp;quot;5&lt;/ins&gt;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;BBFILE_PRIORIRY_local &lt;/ins&gt;= &amp;quot;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;10&lt;/ins&gt;&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The &amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;BBFILE_PRIORITY&lt;/del&gt;&amp;lt;/code&amp;gt; should be greater than &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;all &lt;/del&gt;the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;other &lt;/del&gt;&amp;lt;code&amp;gt;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;BBFILE_PRIORITY&lt;/del&gt;&amp;lt;/code&amp;gt; &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;variables on &lt;/del&gt;the &lt;del class=&quot;diffchange diffchange-inline&quot;&gt;same file&lt;/del&gt;.&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;The &amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;BBFILE_PRIORITY_local&lt;/ins&gt;&amp;lt;/code&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;value &lt;/ins&gt;should be greater than the &amp;lt;code&amp;gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;BBFILE_PRIORITY_upstream&lt;/ins&gt;&amp;lt;/code&amp;gt; &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;value.&lt;/ins&gt;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td colspan=&quot;2&quot;&gt;&amp;#160;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;While you are at it, you could change &lt;/ins&gt;the &lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;&amp;lt;code&amp;gt;SOURCEFORGE_MIRROR&amp;lt;/code&amp;gt; variable to a nearby mirror&lt;/ins&gt;.&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Change your &amp;lt;code&amp;gt;BBPATH&amp;lt;/code&amp;gt; environment variable to add the new tree ''before'' the two others (for [[MokoMakefile]], the variable is on the &amp;lt;code&amp;gt;setup-env&amp;lt;/code&amp;gt; file).&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;* Change your &amp;lt;code&amp;gt;BBPATH&amp;lt;/code&amp;gt; environment variable to add the new tree ''before'' the two others (for [[MokoMakefile]], the variable is on the &amp;lt;code&amp;gt;setup-env&amp;lt;/code&amp;gt; file).&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;−&lt;/td&gt;&lt;td style=&quot;background: #ffa; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; export BBPATH=&amp;quot;&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;${OMDIR}/build:&lt;/del&gt;${OMDIR}/local:${OMDIR}/&lt;del class=&quot;diffchange diffchange-inline&quot;&gt;oe&lt;/del&gt;:${OMDIR}/openembedded&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;+&lt;/td&gt;&lt;td style=&quot;background: #cfc; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;&amp;#160; export BBPATH=&amp;quot;${OMDIR}/local:${OMDIR}/&lt;ins class=&quot;diffchange diffchange-inline&quot;&gt;build&lt;/ins&gt;:${OMDIR}/openembedded&amp;quot;&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;tr&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Using a local overlay ==&lt;/div&gt;&lt;/td&gt;&lt;td class='diff-marker'&gt;&amp;#160;&lt;/td&gt;&lt;td style=&quot;background: #eee; color:black; font-size: smaller;&quot;&gt;&lt;div&gt;== Using a local overlay ==&lt;/div&gt;&lt;/td&gt;&lt;/tr&gt;
&lt;/table&gt;</summary>
		<author><name>CesarB</name></author>	</entry>

	<entry>
		<id>http://wiki.openmoko.org/index.php?title=User:CesarB/Using_a_local_overlay&amp;diff=13652&amp;oldid=prev</id>
		<title>CesarB: New page on how to use a local overlay. Feel free to move to the main namespace if it's good enough.</title>
		<link rel="alternate" type="text/html" href="http://wiki.openmoko.org/index.php?title=User:CesarB/Using_a_local_overlay&amp;diff=13652&amp;oldid=prev"/>
				<updated>2007-07-22T16:57:13Z</updated>
		
		<summary type="html">&lt;p&gt;New page on how to use a local overlay. Feel free to move to the main namespace if it&amp;#039;s good enough.&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;A local overlay is a way to add your own bitbake recipes (or override the ones from openembedded and openmoko) without having them clobbered when you update these trees.&lt;br /&gt;
&lt;br /&gt;
== Creating a local overlay ==&lt;br /&gt;
&lt;br /&gt;
To create a local overlay:&lt;br /&gt;
&lt;br /&gt;
* Create a directory for it and its subdirectories&lt;br /&gt;
&lt;br /&gt;
 mkdir local local/conf local/classes local/packages&lt;br /&gt;
&lt;br /&gt;
* Copy &amp;lt;code&amp;gt;site.conf&amp;lt;/code&amp;gt; from the openmoko tree to &amp;lt;code&amp;gt;local/conf&amp;lt;/code&amp;gt;&lt;br /&gt;
&lt;br /&gt;
 cp oe/conf/site.conf local/conf/site.conf&lt;br /&gt;
&lt;br /&gt;
* Edit the local.conf you copied to add the new tree as a source for bitbake recipes. You must change the &amp;lt;code&amp;gt;BBFILES&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;BBFILE_COLLECTIONS&amp;lt;/code&amp;gt; variables and add new &amp;lt;code&amp;gt;BBFILE_PATTERN&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;BBFILE_PRIORITY&amp;lt;/code&amp;gt; variables.&lt;br /&gt;
&lt;br /&gt;
 BBFILES := &amp;quot;${OMDIR}/openembedded/packages/*/*.bb ${OMDIR}/oe/packages/*/*.bb ${OMDIR}/local/packages/*/*.bb&amp;quot;&lt;br /&gt;
 BBFILE_COLLECTIONS = &amp;quot;upstream local overlay&amp;quot;&lt;br /&gt;
 BBFILE_PATTERN_overlay = &amp;quot;^${OMDIR}/local/&amp;quot;&lt;br /&gt;
 BBFILE_PRIORITY_overlay = &amp;quot;20&amp;quot;&lt;br /&gt;
&lt;br /&gt;
The &amp;lt;code&amp;gt;BBFILE_PRIORITY&amp;lt;/code&amp;gt; should be greater than all the other &amp;lt;code&amp;gt;BBFILE_PRIORITY&amp;lt;/code&amp;gt; variables on the same file.&lt;br /&gt;
&lt;br /&gt;
* Change your &amp;lt;code&amp;gt;BBPATH&amp;lt;/code&amp;gt; environment variable to add the new tree ''before'' the two others (for [[MokoMakefile]], the variable is on the &amp;lt;code&amp;gt;setup-env&amp;lt;/code&amp;gt; file).&lt;br /&gt;
&lt;br /&gt;
 export BBPATH=&amp;quot;${OMDIR}/build:${OMDIR}/local:${OMDIR}/oe:${OMDIR}/openembedded&amp;quot;&lt;br /&gt;
&lt;br /&gt;
== Using a local overlay ==&lt;br /&gt;
&lt;br /&gt;
How you use the local overlay depends on which part of the tree you want to affect.&lt;br /&gt;
&lt;br /&gt;
=== Changing files in conf/ ===&lt;br /&gt;
&lt;br /&gt;
To change a file in conf/, just copy the file to the overlay tree (preserving the directory structure) and edit it.&lt;br /&gt;
&lt;br /&gt;
=== Changing files in classes/ ===&lt;br /&gt;
&lt;br /&gt;
To change a file in classes/, just copy the file to the overlay tree and edit it.&lt;br /&gt;
&lt;br /&gt;
=== Changing packages ===&lt;br /&gt;
&lt;br /&gt;
Changing a package's recipe is a bit more complex. You have to copy over (or symlink) not only the .bb file for the package, but also ''all'' the files it includes with &amp;lt;code&amp;gt;require&amp;lt;/code&amp;gt;, and the &amp;lt;code&amp;gt;FILESDIR&amp;lt;/code&amp;gt; directories (all directories referred to by &amp;lt;code&amp;gt;FILESDIR&amp;lt;/code&amp;gt;, usually named either ''package''-''version'' or &amp;lt;code&amp;gt;files&amp;lt;/code&amp;gt;). If you forget one of them, the build will give an error (either when parsing the recipe in the case of &amp;lt;code&amp;gt;require&amp;lt;/code&amp;gt;, or when trying to build in the case of the &amp;lt;code&amp;gt;FILESDIR&amp;lt;/code&amp;gt; directories).&lt;br /&gt;
&lt;br /&gt;
=== Adding a new package ===&lt;br /&gt;
&lt;br /&gt;
You can add a new package (or a recipe for a new version of a package) to the overlay tree simply by creating it on the overlay tree.&lt;/div&gt;</summary>
		<author><name>CesarB</name></author>	</entry>

	</feed>