packaging question
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?
Signature · 2 lines
With best wishes Dmitry
Hello,
Quoted 5 lines · On Sat, 29 Nov 2008 00:17:37 +0000 (UTC) Dmitry Baryshkov…
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.
Quoted 4 lines
Signature · 3 lines
-- With best wishes Dmitry
[]
Signature · 2 lines
Best regards, Paul mailto:[email protected]
2008/11/29 Paul Sokolovsky <[email protected]>:
Quoted 19 lines
Hello,
Quoted 5 lines · On Sat, 29 Nov 2008 00:17:37 +0000 (UTC) Dmitry Baryshkov…
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.
Quoted 6 lines
If such a package is machine specific, it's obvious where it should go
- intoMACHINE_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.
Should I also bump PR of task-base after changing MACHINE_EXTRA_RRECOMMENDS?
Quoted 12 lines
Quoted 5 lines
--
With best wishes
Dmitry[]
--
Best regards,
Paul mailto:[email protected]
Signature · 2 lines
With best wishes Dmitry
Quoted 19 lines · Dmitry
2008/11/29 Paul Sokolovsky<[email protected]>:
Quoted 18 lines
Hello,
Quoted 5 lines · On Sat, 29 Nov 2008 00:17:37 +0000 (UTC) Dmitry…
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.
Quoted 8 lines
Quoted 6 lines
If such a package is machine specific, it's obvious where it should go
- intoMACHINE_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.Should I also bump PR of task-base after changing
MACHINE_EXTRA_RRECOMMENDS?
and task-boot where appropriate.
regards,
Koen
Quoted 13 lines
Quoted 10 lines
Quoted 4 lines
--
With best wishes
Dmitry[]
--
Best regards,
Paul mailto:[email protected]