[oe-issues] [Bug 2614] MACHINE_EXTRA_RRECOMMENDS doesn't work

bugzilla-daemon at tinman.treke.net bugzilla-daemon at tinman.treke.net
Sun Jul 8 01:32:23 UTC 2007


http://bugs.openembedded.org/show_bug.cgi?id=2614


Paul Sokolovsky <pmiscml at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |pmiscml at gmail.com




--- Comment #2 from Paul Sokolovsky <pmiscml at gmail.com>  2007-07-07 18:32:23 ---
Such stuff is not for a faint of heart. It's worth to get to know how it all
works, there's not magic, but pure bitbake technology. In couple of words:
MACHINE_EXTRA_RRECOMMENDS is handled by task-base, which essentially captures
some state into a "virtual" ipk. When you change that setting in machine conf,
that doesn't lead to immediate changes, as changes would require rebuilt of
task-base-*.ipk, and it is being rebuilt only in 2 cases: it's PR is bumped, or
-c rebuild.

This is of course misfeature of bitbake, but it's unclear how to get it solved.

What's most boring however is that everyone loves to hit this rake, and of
course, on his own. Then comes another dummy, and it all repeats. So, consider
taking advantage of your maintainer status and stop vicious cycle of wasted
effort and killed kittens. Do it right, based on painful experience of people
who did it before you:

1. Start with providing complete machine config coverage for you target machine
base. This neans palmz71, palmte, and palmtt, right.
2. Then you need means of kernel configuration control across devices, because
it simply doesn't scale (or even work) to maintain each device separately. Use
defconfigman. With it, you will easily ensure, that if device needs PXA I2C
support, it will be there, and consistently as module.
3. Then you just have standard template of modules for every machine's
MACHINE_EXTRA_RRECOMMENDS. If some machine doesn't have some module, it's not a
prob, because it's RRECOMMENDS. If you need to update it, you just update all
machines, and all stays consistent and working.
4. Peace and rock'n'roll.


-- 
Configure bugmail: http://bugs.openembedded.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.




More information about the Openembedded-issues mailing list