From: Denys Dmytriyenko <denis@denix.org>
To: openembedded-devel@lists.openembedded.org
Subject: update-rc.d: don't add runtime dependency if not doing online package management; only add it to ${PN} in any case.
Date: Wed, 17 Jun 2009 00:29:09 -0400 [thread overview]
Message-ID: <20090617042909.GA21132@denix.org> (raw)
Hi,
The commit ee690abcef0df80271729ca869f19164b1c15bbe[1] (update-rc.d: don't
add runtime dependency if not doing online package management; only add it to
${PN} in any case) breaks one important feature - additional runtime
dependencies for packages, inheriting update-rc.d class.
One of the examples is udev (udev-utils is no longer a dependency):
$ dpkg-deb -I old/udev_141-r10.2_armv5te.ipk |grep Depends
Depends: udev-utils, libc6, libvolume-id1 (>= 141)
$ dpkg-deb -I angstrom/udev_141-r10.2_armv5te.ipk |grep Depends
Depends: udev-utils, libc6 (>= 2.6.1), libvolume-id1 (>= 141)
$ dpkg-deb -I new/udev_141-r10.2_armv5te.ipk |grep Depends
Depends: update-rc.d, libc6, libvolume-id1 (>= 141)
The problem comes from the fact that either RDEPENDS_{PN}_append = "blah" or
RDEPENDS_{PN} += "blah" used in the class overwrite the value set in
inheriting recipe, instead of appending to it. The position of the inherit
command in the recipe relative to its own RDEPENDS does not matter. And I
don't think this issue only applies to RDEPENDS variable...
It used to "work" before, because update-rc.d.bbclass had the wrong
RDEPENDS_append and "update-rc.d" was never added to the runtime dependencies,
while more important udev-utils was.
I tried latest branches/bitbake-1.8 - no difference.
The short-term solution is to revert the commit in question. The correct
solution is to find the underlying problem. Any takers?
[1] http://cgit.openembedded.org/cgit.cgi/openembedded/commit/?id=ee690abcef0df80271729ca869f19164b1c15bbe
--
Denys
next reply other threads:[~2009-06-17 4:50 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-06-17 4:29 Denys Dmytriyenko [this message]
2009-06-17 7:40 ` update-rc.d: don't add runtime dependency if not doing online package management; only add it to ${PN} in any case Phil Blundell
2009-06-17 21:41 ` Denys Dmytriyenko
2009-06-19 7:36 ` Phil Blundell
2009-06-20 10:08 ` Phil Blundell
2009-06-20 15:21 ` Christopher Larson
2009-06-20 17:19 ` Koen Kooi
2009-06-20 17:32 ` Phil Blundell
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20090617042909.GA21132@denix.org \
--to=denis@denix.org \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.