* Patches from opendreambox.org #2
@ 2010-10-13 22:09 Andreas Oberritter
2010-10-13 22:09 ` [PATCH v2] module.bbclass: fix dependency on specific kernel Andreas Oberritter
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Oberritter @ 2010-10-13 22:09 UTC (permalink / raw)
To: openembedded-devel
Hello developers,
I'm sending an updated patch to fix a conflict with today's
master branch.
It would be nice to receive some more comments on this patch
and on the patches I sent earlier. I've created a bundle in
patchwork which includes all pending patches by the opendreambox
project:
http://patchwork.openembedded.org/bundle/obi/opendreambox/
Those patches are also available from a git repository which
gets rebased from time to time:
http://git.opendreambox.org/?p=obi/openembedded.git;a=shortlog;h=refs/heads/for-upstream
All patches were ported from the opendreambox distribution to
OE's master. They were tested on 32-bit mipsel machines. However,
runtime tests were only done with a slightly older version of OE.
Ultimately, I'd like to merge our distribution into master. To
accomplish that, I'm submitting those patches first, that don't
depend on any distribution or machine.
Speaking of that, our distribution currently contains quite some
lines like this (from gst-plugins.inc)
EXTRA_OECONF_append_opendreambox = "--disable-x"
or patches like this (from dbus.inc):
-DEPENDS = "expat glib-2.0 virtual/libintl libsm libice virtual/libx11"
+DEPENDS = "expat glib-2.0 virtual/libintl"
+DEPENDS += "${@base_contains('DISTRO_FEATURES', 'no-x11', '', 'libsm libice virtual/libx11', d)}"
I believe that no-x11 doesn't sound like a nice feature, so it
should better be inversed to read x11. This, however, would
require to specify this feature in every distribution supporting
x11. Will such a change possibly get accepted? Can a feature get
enabled by default but disabled selectively by a distribution?
Does the majority of distributions run with or without support
for X11?
Regards,
Andreas
Andreas Oberritter (1):
module.bbclass: fix dependency on specific kernel
classes/module.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH v2] module.bbclass: fix dependency on specific kernel
2010-10-13 22:09 Patches from opendreambox.org #2 Andreas Oberritter
@ 2010-10-13 22:09 ` Andreas Oberritter
2010-10-13 22:30 ` Chris Larson
0 siblings, 1 reply; 4+ messages in thread
From: Andreas Oberritter @ 2010-10-13 22:09 UTC (permalink / raw)
To: openembedded-devel
* Previously, the kernel version did not show up in the
generated control file (debian ipk).
* Use the same format as in kernel.bbclass.
Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
---
classes/module.bbclass | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/classes/module.bbclass b/classes/module.bbclass
index 0e0018e..601a882 100644
--- a/classes/module.bbclass
+++ b/classes/module.bbclass
@@ -1,4 +1,4 @@
-RDEPENDS_${PN} += "kernel (${KERNEL_VERSION}) update-modules"
+RDEPENDS_${PN} += "kernel-${KERNEL_VERSION} update-modules"
DEPENDS += "virtual/kernel"
inherit module-base
--
1.7.1
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH v2] module.bbclass: fix dependency on specific kernel
2010-10-13 22:09 ` [PATCH v2] module.bbclass: fix dependency on specific kernel Andreas Oberritter
@ 2010-10-13 22:30 ` Chris Larson
2010-10-13 23:06 ` Andreas Oberritter
0 siblings, 1 reply; 4+ messages in thread
From: Chris Larson @ 2010-10-13 22:30 UTC (permalink / raw)
To: openembedded-devel
On Wed, Oct 13, 2010 at 3:09 PM, Andreas Oberritter <obi@opendreambox.org>wrote:
> * Previously, the kernel version did not show up in the
> generated control file (debian ipk).
> * Use the same format as in kernel.bbclass.
>
> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
> ---
> classes/module.bbclass | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/classes/module.bbclass b/classes/module.bbclass
> index 0e0018e..601a882 100644
> --- a/classes/module.bbclass
> +++ b/classes/module.bbclass
> @@ -1,4 +1,4 @@
> -RDEPENDS_${PN} += "kernel (${KERNEL_VERSION}) update-modules"
> +RDEPENDS_${PN} += "kernel-${KERNEL_VERSION} update-modules"
> DEPENDS += "virtual/kernel"
>
This looks just plain wrong to me. kernel-<version> is bitbake build time
syntax, kernel (<version>) is runtime syntax for dpkg/opkg.
--
Christopher Larson
clarson at kergoth dot com
Founder - BitBake, OpenEmbedded, OpenZaurus
Maintainer - Tslib
Senior Software Engineer, Mentor Graphics
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [PATCH v2] module.bbclass: fix dependency on specific kernel
2010-10-13 22:30 ` Chris Larson
@ 2010-10-13 23:06 ` Andreas Oberritter
0 siblings, 0 replies; 4+ messages in thread
From: Andreas Oberritter @ 2010-10-13 23:06 UTC (permalink / raw)
To: openembedded-devel
On 10/14/2010 12:30 AM, Chris Larson wrote:
> On Wed, Oct 13, 2010 at 3:09 PM, Andreas Oberritter <obi@opendreambox.org>wrote:
>
>> * Previously, the kernel version did not show up in the
>> generated control file (debian ipk).
>> * Use the same format as in kernel.bbclass.
>>
>> Signed-off-by: Andreas Oberritter <obi@opendreambox.org>
>> ---
>> classes/module.bbclass | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/classes/module.bbclass b/classes/module.bbclass
>> index 0e0018e..601a882 100644
>> --- a/classes/module.bbclass
>> +++ b/classes/module.bbclass
>> @@ -1,4 +1,4 @@
>> -RDEPENDS_${PN} += "kernel (${KERNEL_VERSION}) update-modules"
>> +RDEPENDS_${PN} += "kernel-${KERNEL_VERSION} update-modules"
>> DEPENDS += "virtual/kernel"
>>
>
> This looks just plain wrong to me. kernel-<version> is bitbake build time
> syntax, kernel (<version>) is runtime syntax for dpkg/opkg.
Does this mean that kernel.bbclass is wrong, too? Because kernel.bbclass
calls do_split_packages with extra_depends='update-modules
kernel-${KERNEL_VERSION}', which translates to
RDEPENDS_kernel-module-foo = "update-modules kernel-${KERNEL_VERSION}".
Regards,
Andreas
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2010-10-13 23:07 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-10-13 22:09 Patches from opendreambox.org #2 Andreas Oberritter
2010-10-13 22:09 ` [PATCH v2] module.bbclass: fix dependency on specific kernel Andreas Oberritter
2010-10-13 22:30 ` Chris Larson
2010-10-13 23:06 ` Andreas Oberritter
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.