[oe] openmoko-merges

Koen Kooi k.kooi at student.utwente.nl
Thu Dec 18 09:02:53 UTC 2008


On 18-12-08 08:19, John Lee wrote:
> Hi,
>
> Please review john_lee/openmoko-merges.  I started from
> holger/openmoko-merges then rebased it to oe.dev.

> Not sure how long it's going to take.  My plan is to merge it this
> Monday if it's okay...

No. There's just too much in there too review in a week. Also, the stuff 
I did review is just waaaaay to ugly to go in.
Saying stuff will get fixed after the merge..... I've heard that before, 
no-one actually fixes things after a merge.

Most of these commits have two problems:

* They can be done in a much better, but still OM specific way (e.g. 
FILESPATH)
* They can be done in a generic way (e.g. alsa-states)


To give some small examples:

* 
http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&h=john_lee/openmoko-merges&id=c0041ba98c41b320a36cbc5a66d0c8762e52ac62

--- a/packages/alsa/alsa-state.bb
+++ b/packages/alsa/alsa-state.bb
@@ -20,6 +20,7 @@ inherit update-rc.d

INITSCRIPT_PARAMS = "defaults 10"
+INITSCRIPT_PARAMS_openmoko = "start 39 S ."

Distro overrides are strongly discouraged and in this case not needed, 
since it's using 'defaults', so an optimization is welcomed. In a 
similar vein, the change to the initscript can be done to the regular 
one, no need to add a special openmoko version.

* 
http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&h=john_lee/openmoko-merges&id=64b844ec5cc0c1a6acb1a97d1ea745f15eadb38d
this it what the device table feature is for, see org.oe/dev/files/ for 
the device tables, machines can have multiple ones if needed.

* 
http://cgit.openembedded.net/cgit.cgi?url=openembedded/commit/&h=john_lee/openmoko-merges&id=db77b062d51be86b946a11efcadaf8e41fd41727

If you modify FILESPATH you can reuse the initscripts from the 
initscripts packages so you don't need to copy over unchanged ones. 
Having said that, I think this should all be merged into the initscripts 
recipe so everyone can benefit from it.

I suspect review and merging would be easier if you 'collapse' the 
patches per recipe or per directory. Reviewing all the seperate commits 
will take too much time :(

Koen





More information about the Openembedded-devel mailing list