All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC] Issues with 'RDEPENDS kernel' in module.bbclass using .deb packages
@ 2009-08-04 18:58 Josh Mahonin
  0 siblings, 0 replies; only message in thread
From: Josh Mahonin @ 2009-08-04 18:58 UTC (permalink / raw)
  To: openembedded-devel

Hi all,

I'm working on an updated recipe for nvidia-display, but unfortunately
during the rootfs stage of building an image it errors out on :
---
The following packages have unmet dependencies:
  nvidia-display: Depends: kernel (= 2.6.30) but 2.6.30-r1 is to be
installed
---


Now I'm building debian style packages, so when I check /var/dpkg/status
under the rootfs (which classes/rootfs_deb.bbclass uses) , sure enough I
have an entry for the kernel, with both the PV and PR in the 'Version'
field:
---
Package: kernel
Status: install ok unpacked
...
Version: 2.6.30-r1
...
---


In classes/module.bbclass, however, we have the RDEPENDS which matches
only on PV, without the PR:
---
RDEPENDS += "kernel (${KERNEL_VERSION}) update-modules"
---

In the meantime I've worked around it by removing the KERNEL_VERSION
requirement in module.bbclass, although I don't think that's really the
right way to do it.

I suppose I could remove writing the PR to the status file, although
that might be useful to keep as a reference when upgrading packages
later.  It looks IPK-style packages also keep the PR in the version
field - is this an issue for those users as well, or is this DEB specific?

Are there any thoughts as to the right way to fix this issue?

Thanks in advance,

Josh



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2009-08-04 19:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-08-04 18:58 [RFC] Issues with 'RDEPENDS kernel' in module.bbclass using .deb packages Josh Mahonin

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.