]> code.ossystems Code Review - openembedded-core.git/commit
package_rpm.bbclass: Update the platform config and --target
authorMark Hatle <mark.hatle@windriver.com>
Thu, 11 Aug 2011 15:38:30 +0000 (10:38 -0500)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Fri, 12 Aug 2011 16:11:23 +0000 (17:11 +0100)
commitc6bb9445de90cfb46db9c40842dbe1bfbb5b8ce8
treed4d8f33f6911cba65b8c16da052608d8aca39cc3
parent25904ad2bdeadda9189805bb7a210eafe5795024
package_rpm.bbclass: Update the platform config and --target

When constructing the /etc/rpm/platform file, we need to ensure that
the any, all, and noarch platforms will allow any "linux" variant to
be installable, not just matching variants.. i.e.

arm-oe-linux-gnueabi should be able to install noarch-oe-linux

Also ensure that we pass the full canonical arch via the --target=
parameter.  This allows us to define the proper platform settings
for all packages.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
meta/classes/package_rpm.bbclass