[oe] packaging question

Paul Sokolovsky pmiscml at gmail.com
Sat Nov 29 16:13:39 UTC 2008


Hello,

On Sat, 29 Nov 2008 00:17:37 +0000 (UTC)
Dmitry Baryshkov <dbaryshkov at gmail.com> wrote:

> Hi,
> 
> To make suspend work on tosa w/o problems, I have to put several
> files into apm hooks directories. The question is: into which OE
> package should I put them?

This was discussed well once - please put all machine- and device-
specific hacks and workarounds into separate package(s), to not
contaminate the main device-independent package with them, which would
either cast the main package machine-specific (QA nightmare), or affect
other devices unexpectedly (even bigger QA nightmare). There're few
examples of this idea already, see apm-wifi-suspendfix,
bluez-dtl1-workaround packages.

If such a package is machine specific, it's obvious where it should go
- into MACHINE_EXTRA_RDEPENDS. If it's however a workaround for
a particular device, especially pluggable, it makes sense to make it
more flexible and automagical and associate with the corresponding
kernel driver. See kernel.bbclass for how the packages above are
handled.

> 
> -- 
> With best wishes
> Dmitry

[]

-- 
Best regards,
 Paul                          mailto:pmiscml at gmail.com




More information about the Openembedded-devel mailing list