[OE-core] [PATCH 1/1] package_rpm.bbclass: fix the arch (replace "-" with "_")

2012-08-28 Thread Robert Yang
rpm can't use the "-" as the arch, which causes problem, e.g., when MACHINE = "beagleboard": * The arch should be armv7a-vfp-neon, but rpm only takes the armv7a, this is incorrect since it is mixed with real arch armv7a. * The nativesdk's arch should be i686-nativesdk (or x86_64-nativesdk), b

[OE-core] [PATCH 1/1] package_rpm.bbclass: fix the arch (replace "-" with "_")

2012-09-10 Thread Robert Yang
rpm can't use the "-" as the arch, which causes problem, e.g., when MACHINE = "beagleboard": * The arch should be armv7a-vfp-neon, but rpm only takes the armv7a, this is incorrect since it is mixed with real arch armv7a. * The nativesdk's arch should be i686-nativesdk (or x86_64-nativesdk), b

Re: [OE-core] [PATCH 1/1] package_rpm.bbclass: fix the arch (replace "-" with "_")

2012-09-06 Thread Mark Hatle
I've looked at the patch and it looks find to me. Acked-by: Mark Hatle One note, however.. Whatever arch fields we use need to also match the fields that get encoded into Zypper and the sat-solver stuff.. So there may be a second chunk of code that needs to be updated to match. --Mark O

Re: [OE-core] [PATCH 1/1] package_rpm.bbclass: fix the arch (replace "-" with "_")

2012-09-06 Thread Mark Hatle
On 9/6/12 11:52 AM, Mark Hatle wrote: I've looked at the patch and it looks find to me. Acked-by: Mark Hatle One note, however.. Whatever arch fields we use need to also match the fields that get encoded into Zypper and the sat-solver stuff.. So there may be a second chunk of code that need

Re: [OE-core] [PATCH 1/1] package_rpm.bbclass: fix the arch (replace "-" with "_")

2012-09-09 Thread Robert Yang
Hi Mark, Thanks, The libzypp_git.bb had already changed the "-" to "_", I will update sat-solver_git.bb and send a V2. // Robert On 09/07/2012 01:38 AM, Mark Hatle wrote: On 9/6/12 11:52 AM, Mark Hatle wrote: I've looked at the patch and it looks find to me. Acked-by: Mark Hatle One note