You are viewing outdated content for BUG. If you have a BUG Y.T. edition or 2.0 series device, please visit our updated wiki: http://wiki.buglabs.net



Submitting a patch to Openembedded

From BUG Wiki

(Redirected from Submitting a patch to oe)
Jump to: navigation, search

Overview

We use openembedded's angstrom distribution as the basis for BUG20's software. While we build against oe-stable/2009, you may come across an occasional defect in the meta-data. If you're certain that you've found a defect, you'd be kind to notify the developers at openembedded about it. Here's the process.

Example

vi conf/machine/bug20.conf 

make changes

git commit conf/machine/bug20.conf

add commit message

[master 251a373] conf/machine/bug20.conf, add xf86-input-tslib for BUG2.0 touchscreen
 1 files changed, 1 insertions(+), 0 deletions(-)

format the patch:

git format-patch <origin>

to figure out what origin is, do git log, look at the rev before your commit, in my case, 3593ff2a4de50cabf974d945b3d2b3e7158ef4ec

git format-patch 3593ff2a4de50cabf974d945b3d2b3e7158ef4ec
0001-conf-machine-bug20.conf-add-xf86-input-tslib-for-BUG.patch

Send the patch to oe ML (this part still needs work), it's a dialog:

git send-email 0001-conf-machine-bug20.conf-add-xf86-input-tslib-for-BUG.patch
Who should the emails appear to be from? [My Name <myemail@mydomain.net>] 
Emails will be sent from: My Name <myemail@mydomain.net>
Who should the emails be sent to? <oe mailing list email>
Message-ID to be used as In-Reply-To for the first email? myemail@mydomain.net
0001-conf-machine-bug20.conf-add-xf86-input-tslib-for-BUG.patch
(mbox) Adding cc: My Name <myemail@mydomain.net> from line 'From: My Name <myemail@mydomain.net>'
OK. Log says:
Date: Tue, 11 May 2010 18:10:56 -0400
Sendmail: /usr/sbin/sendmail -i myemail@mydomain.net
From: My Name <myemail@mydomain.net>
Subject: [PATCH] conf/machine/bug20.conf, add xf86-input-tslib for BUG2.0 touchscreen
Cc: My Name <myemail@mydomain.net>
To: <oe mailing list email>

Result: OK

See Also

http://wiki.openembedded.org/index.php/GitPhraseBook#Making_your_changes_.28better_way.29