<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://www.openembedded.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gpw</id>
	<title>Openembedded.org - User contributions [en]</title>
	<link rel="self" type="application/atom+xml" href="https://www.openembedded.org/w/api.php?action=feedcontributions&amp;feedformat=atom&amp;user=Gpw"/>
	<link rel="alternate" type="text/html" href="https://www.openembedded.org/wiki/Special:Contributions/Gpw"/>
	<updated>2026-05-05T02:07:05Z</updated>
	<subtitle>User contributions</subtitle>
	<generator>MediaWiki 1.39.10</generator>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=How_to_submit_a_patch_to_OpenEmbedded&amp;diff=2727</id>
		<title>How to submit a patch to OpenEmbedded</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=How_to_submit_a_patch_to_OpenEmbedded&amp;diff=2727"/>
		<updated>2010-09-24T07:08:12Z</updated>

		<summary type="html">&lt;p&gt;Gpw: Add the task of subscribing to the mailing list, to be able to post a patch.&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== A task-oriented guide to creating a patch ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: More details are available on the policy pages, but this document is good enough for most beginners.&lt;br /&gt;
&lt;br /&gt;
* [[Patchwork]]&lt;br /&gt;
* [[Commit Policy]]&lt;br /&gt;
&lt;br /&gt;
Let&#039;s say you [[How to create a bitbake recipe for dummies|create a new bitbake recipe for OpenEmbedded]] and you&#039;d like to submit it for inclusion (and you&#039;ve already tested that it works, of course).&lt;br /&gt;
&lt;br /&gt;
=== Set up git ===&lt;br /&gt;
&lt;br /&gt;
Properly configuring git (using tekkub@gmail.com as an example user)&lt;br /&gt;
&lt;br /&gt;
On Debain / Ubuntu (Note: Fedora uses `yum` OpenSuse uses zypper or yast)&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install git-core git-email&lt;br /&gt;
&lt;br /&gt;
These are important to the commit meta-data&lt;br /&gt;
&lt;br /&gt;
 git config --global user.name &amp;quot;Tekkub&amp;quot;&lt;br /&gt;
 git config --global user.email &amp;quot;tekkub@gmail.com&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Any Google Apps account&lt;br /&gt;
&lt;br /&gt;
 git config --global sendemail.smtpserver smtp.gmail.com&lt;br /&gt;
 git config --global sendemail.smtpserverport 587&lt;br /&gt;
 git config --global sendemail.smtpencryption tls&lt;br /&gt;
 git config --global sendemail.smtpuser tekkupl@gmail.com&lt;br /&gt;
&lt;br /&gt;
=== Create and Commit your patch ===&lt;br /&gt;
&lt;br /&gt;
1. First you have to subscribe to the mailing-list &#039;&#039;&#039;openembedded-devel@lists.openembedded.org&#039;&#039;&#039; to be able to post your patch. See [[Mailing lists]]&lt;br /&gt;
&lt;br /&gt;
2. Commit with a concise and descriptive message - one that explains your changes in a way others get a short overview without&lt;br /&gt;
looking at the code.&lt;br /&gt;
&lt;br /&gt;
 cd org.openembedded.dev/ # or whereever you keep your clone of the repo&lt;br /&gt;
 git add recipes/nodejs/&lt;br /&gt;
 git commit -s # don&#039;t use the -m option but include my signature&lt;br /&gt;
&lt;br /&gt;
 nodejs: added recipe for v0.2.1&lt;br /&gt;
 &lt;br /&gt;
 * included libev-cross patch which prevents wscript from executing cross-compiled code&lt;br /&gt;
 * included node-cross patch which forwards DEST_CPU to v8&#039;s ARCH&lt;br /&gt;
&lt;br /&gt;
3. Create your patch. &#039;&#039;&#039;Use -N for N commits&#039;&#039;&#039; to be included in the patch. &#039;&#039;&#039;Use -s to add a signoff line&#039;&#039;&#039; like &amp;quot;Signed-off-by: Tekku B. &amp;lt;tekkub@gmail.com&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 git format-patch -1 # creating a patch for my only commit&lt;br /&gt;
&lt;br /&gt;
If you are submitting a second version also add &amp;quot;--subject-prefix [v2]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
4. Send your patch to patchwork&lt;br /&gt;
&lt;br /&gt;
 git send-email --to=openembedded-devel@lists.openembedded.org 001-nodejs-added-recipe-for-v0.2.1&lt;br /&gt;
&lt;br /&gt;
Your patch will be immediately visible on http://patchwork.openembedded.org/&lt;br /&gt;
 &lt;br /&gt;
5. Once your patch has been accepted or rejected, create an account and update the status to &amp;quot;accepted&amp;quot; or &amp;quot;rejected&amp;quot;&lt;br /&gt;
&lt;br /&gt;
5++. If you get &#039;&#039;&#039;soft-rejected (a lot of feedback)&#039;&#039;&#039;, you should make changes according to the feedback, submit the next version, and update the status of the previous patch to &amp;quot;superseded&amp;quot;. Remember to use `--subject-prefix` to mark the patch iteration.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== steps for people which don&#039;t have smtp access for git === &lt;br /&gt;
&lt;br /&gt;
Patches should not be set as attachment but inline.&lt;br /&gt;
&lt;br /&gt;
If you do not have smtp access to your email account you have two options:&lt;br /&gt;
&lt;br /&gt;
1. use a different account (e.g. gmail). you can make one especially&lt;br /&gt;
for this. Note that the account may differ from the one in signed-off&lt;br /&gt;
(although that is inconvenient)&lt;br /&gt;
&lt;br /&gt;
2. just include the patch in the body of your email. Make sure you use&lt;br /&gt;
an email client that does not touch the message (turn spaces in tabs,&lt;br /&gt;
wrap lines etc etc).&lt;br /&gt;
&lt;br /&gt;
A good mail client to do so is &#039;&#039;&#039;pine&#039;&#039;&#039; (or &#039;&#039;&#039;alpine&#039;&#039;&#039;) or mutt.&lt;br /&gt;
For more information refer to Documentation/email-clients.txt in linux&lt;br /&gt;
kernel sources.&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:User]]&lt;/div&gt;</summary>
		<author><name>Gpw</name></author>
	</entry>
	<entry>
		<id>https://www.openembedded.org/w/index.php?title=How_to_submit_a_patch_to_OpenEmbedded&amp;diff=2724</id>
		<title>How to submit a patch to OpenEmbedded</title>
		<link rel="alternate" type="text/html" href="https://www.openembedded.org/w/index.php?title=How_to_submit_a_patch_to_OpenEmbedded&amp;diff=2724"/>
		<updated>2010-09-24T06:43:14Z</updated>

		<summary type="html">&lt;p&gt;Gpw: Updated link to patchwork&lt;/p&gt;
&lt;hr /&gt;
&lt;div&gt;== A task-oriented guide to creating a patch ==&lt;br /&gt;
&lt;br /&gt;
&#039;&#039;&#039;Note&#039;&#039;&#039;: More details are available on the policy pages, but this document is good enough for most beginners.&lt;br /&gt;
&lt;br /&gt;
* [[Patchwork]]&lt;br /&gt;
* [[Commit Policy]]&lt;br /&gt;
&lt;br /&gt;
Let&#039;s say you [[How to create a bitbake recipe for dummies|create a new bitbake recipe for OpenEmbedded]] and you&#039;d like to submit it for inclusion (and you&#039;ve already tested that it works, of course).&lt;br /&gt;
&lt;br /&gt;
=== Set up git ===&lt;br /&gt;
&lt;br /&gt;
Properly configuring git (using tekkub@gmail.com as an example user)&lt;br /&gt;
&lt;br /&gt;
On Debain / Ubuntu (Note: Fedora uses `yum` OpenSuse uses zypper or yast)&lt;br /&gt;
&lt;br /&gt;
 sudo aptitude install git-core git-email&lt;br /&gt;
&lt;br /&gt;
These are important to the commit meta-data&lt;br /&gt;
&lt;br /&gt;
 git config --global user.name &amp;quot;Tekkub&amp;quot;&lt;br /&gt;
 git config --global user.email &amp;quot;tekkub@gmail.com&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Any Google Apps account&lt;br /&gt;
&lt;br /&gt;
 git config --global sendemail.smtpserver smtp.gmail.com&lt;br /&gt;
 git config --global sendemail.smtpserverport 587&lt;br /&gt;
 git config --global sendemail.smtpencryption tls&lt;br /&gt;
 git config --global sendemail.smtpuser tekkupl@gmail.com&lt;br /&gt;
&lt;br /&gt;
=== Create and Commit your patch ===&lt;br /&gt;
&lt;br /&gt;
1. Commit with a concise and descriptive message - one that explains your changes in a way others get a short overview without&lt;br /&gt;
looking at the code.&lt;br /&gt;
&lt;br /&gt;
 cd org.openembedded.dev/ # or whereever you keep your clone of the repo&lt;br /&gt;
 git add recipes/nodejs/&lt;br /&gt;
 git commit -s # don&#039;t use the -m option but include my signature&lt;br /&gt;
&lt;br /&gt;
 nodejs: added recipe for v0.2.1&lt;br /&gt;
 &lt;br /&gt;
 * included libev-cross patch which prevents wscript from executing cross-compiled code&lt;br /&gt;
 * included node-cross patch which forwards DEST_CPU to v8&#039;s ARCH&lt;br /&gt;
&lt;br /&gt;
2. Create your patch. &#039;&#039;&#039;Use -N for N commits&#039;&#039;&#039; to be included in the patch. &#039;&#039;&#039;Use -s to add a signoff line&#039;&#039;&#039; like &amp;quot;Signed-off-by: Tekku B. &amp;lt;tekkub@gmail.com&amp;gt;&amp;quot;&lt;br /&gt;
&lt;br /&gt;
 git format-patch -1 # creating a patch for my only commit&lt;br /&gt;
&lt;br /&gt;
If you are submitting a second version also add &amp;quot;--subject-prefix [v2]&amp;quot;&lt;br /&gt;
&lt;br /&gt;
3. Send your patch to patchwork&lt;br /&gt;
&lt;br /&gt;
 git send-email --to=openembedded-devel@lists.openembedded.org 001-nodejs-added-recipe-for-v0.2.1&lt;br /&gt;
&lt;br /&gt;
Your patch will be immediately visible on http://patchwork.openembedded.org/&lt;br /&gt;
 &lt;br /&gt;
4. Once your patch has been accepted or rejected, create an account and update the status to &amp;quot;accepted&amp;quot; or &amp;quot;rejected&amp;quot;&lt;br /&gt;
&lt;br /&gt;
4++. If you get &#039;&#039;&#039;soft-rejected (a lot of feedback)&#039;&#039;&#039;, you should make changes according to the feedback, submit the next version, and update the status of the previous patch to &amp;quot;superseded&amp;quot;. Remember to use `--subject-prefix` to mark the patch iteration.&lt;br /&gt;
&lt;br /&gt;
== Appendix ==&lt;br /&gt;
&lt;br /&gt;
=== steps for people which don&#039;t have smtp access for git === &lt;br /&gt;
&lt;br /&gt;
Patches should not be set as attachment but inline.&lt;br /&gt;
&lt;br /&gt;
If you do not have smtp access to your email account you have two options:&lt;br /&gt;
&lt;br /&gt;
1. use a different account (e.g. gmail). you can make one especially&lt;br /&gt;
for this. Note that the account may differ from the one in signed-off&lt;br /&gt;
(although that is inconvenient)&lt;br /&gt;
&lt;br /&gt;
2. just include the patch in the body of your email. Make sure you use&lt;br /&gt;
an email client that does not touch the message (turn spaces in tabs,&lt;br /&gt;
wrap lines etc etc).&lt;br /&gt;
&lt;br /&gt;
A good mail client to do so is &#039;&#039;&#039;pine&#039;&#039;&#039; (or &#039;&#039;&#039;alpine&#039;&#039;&#039;) or mutt.&lt;br /&gt;
For more information refer to Documentation/email-clients.txt in linux&lt;br /&gt;
kernel sources.&lt;br /&gt;
&lt;br /&gt;
[[Category:FAQ]]&lt;br /&gt;
[[Category:User]]&lt;/div&gt;</summary>
		<author><name>Gpw</name></author>
	</entry>
</feed>