aboutsummaryrefslogtreecommitdiffstats
path: root/meta/classes/image-vm.bbclass
diff options
context:
space:
mode:
authorDengke Du <dengke.du@windriver.com>2017-01-08 18:59:48 +0800
committerDengke Du <dengke.du@windriver.com>2017-01-10 20:35:51 -0500
commitd4f993e17790a2ed2a1c15b4e549eb33393bfaa9 (patch)
tree58290fdab53eeaeb39f34b63860d74203bdf4c6f /meta/classes/image-vm.bbclass
parente016eb10b075e280b4e78a04e47b59a173386421 (diff)
downloadopenembedded-core-contrib-dengke/fix-yocto-bug-7984.tar.gz
Fix RPM backend does not honor package overrides for PACKAGE_ARCHdengke/fix-yocto-bug-7984
If we use a package overrides as part of PACKAGE_ARCH when using the rpm backend, The override is not honored. For example, we use the Randy Witt's attachment, we can get it from: https://bugzilla.yoctoproject.org/show_bug.cgi?id=7984 Using the attached recipe, the package "package-b" would be have architecture of "all" in the rpm metadata, but for the subpackages rpm program only support "noarch" , so at this time we set it to "noarch", after we build it, however it ends up being equal to the default. i.e. TUNE_PKGARCH, but it does not occur when using ipk and deb. This is because when using ipk and deb, the packages were builded one by one, but when using rpm, the packages were builded form only one spec file, that is to say the building only occur once, and all the packages' arch was set to the default: TUNE_PKGARCH. The solution is that we need to check the extra arch of packages, and build them individually. [YOCTO #7984] Signed-off-by: Dengke Du <dengke.du@windriver.com>
Diffstat (limited to 'meta/classes/image-vm.bbclass')
0 files changed, 0 insertions, 0 deletions