]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm: Ensure alternatives links are reflected in rpm package dependencies
authorRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Aug 2011 15:32:03 +0000 (16:32 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Wed, 3 Aug 2011 16:40:54 +0000 (17:40 +0100)
commit102fc29b9c9eae8435b29edb41b5090ace2373c5
tree3e10d8403df7752a0a32a213206afd353424be4d
parent6a4778e21341f031569f561e7699d2c616b60af0
package_rpm: Ensure alternatives links are reflected in rpm package dependencies

Currently, if a file is provided as an alternative link within the package, rpm
doesn't see the dependency. This works out badly for dependencies such as /bin/sh
which scripts might require.

Since rpm detects and adds these dependencies we do need to ensure the dependency
information in the packages is correct. This patch does so for the rpm backend
ensuring internal consistency whilst the approach for addressing this problem in
the other package backends is considered.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/package_rpm.bbclass