summaryrefslogtreecommitdiffstats
path: root/meta/classes/bin_package.bbclass
diff options
context:
space:
mode:
authorRobert Yang <liezhi.yang@windriver.com>2012-09-10 15:58:52 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2012-09-10 12:02:23 +0100
commitfc985f511da86400e4fa7d17555216c12eb51666 (patch)
tree8711f77eba6a6de8228808bf07c240b5892f8f34 /meta/classes/bin_package.bbclass
parentadb241958f125cc4c74ac5fbfc00674e7cd7305d (diff)
downloadopenembedded-core-contrib-fc985f511da86400e4fa7d17555216c12eb51666.tar.gz
package_rpm.bbclass: fix the arch (replace "-" with "_")
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), but rpm only takes the i686 (or x86_64), this in incorrect since it is mixed with the arch i686 (or x86_64). Replace "-" with "_" when rpm package and the rootfs generation would fix the problem, I think this is fine since it doesn't change the tune's arch, the package manager doesn't care about the arch's name, but it needs a unify arch system to avoid confusing. This is similar to what we have done on the deb which fixed the arch i486, i586 and so on to i386. [YOCTO #2328] Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/classes/bin_package.bbclass')
0 files changed, 0 insertions, 0 deletions