package_rpm.bbclass: change the arch's "-" to "_" for platform
The platform and platform_extra will be written to /etc/rpm/platform, the rpm's arch has changed the "-" to "_", so the value in platform should also be updated. [YOCTO #3159] (From OE-Core rev: 9880a5261ca509c69efbafa27cddd9b2b8ca08f0) Signed-off-by: Robert Yang <liezhi.yang@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
This commit is contained in:
parent
598528484c
commit
0c7ef5214d
|
@ -276,8 +276,8 @@ process_pkg_list_rpm() {
|
||||||
package_install_internal_rpm () {
|
package_install_internal_rpm () {
|
||||||
|
|
||||||
local target_rootfs="${INSTALL_ROOTFS_RPM}"
|
local target_rootfs="${INSTALL_ROOTFS_RPM}"
|
||||||
local platform="${INSTALL_PLATFORM_RPM}"
|
local platform="`echo ${INSTALL_PLATFORM_RPM} | sed 's#-#_#g'`"
|
||||||
local platform_extra="${INSTALL_PLATFORM_EXTRA_RPM}"
|
local platform_extra="`echo ${INSTALL_PLATFORM_EXTRA_RPM} | sed 's#-#_#g'`"
|
||||||
local confbase="${INSTALL_CONFBASE_RPM}"
|
local confbase="${INSTALL_CONFBASE_RPM}"
|
||||||
local package_to_install="${INSTALL_PACKAGES_RPM}"
|
local package_to_install="${INSTALL_PACKAGES_RPM}"
|
||||||
local package_attemptonly="${INSTALL_PACKAGES_ATTEMPTONLY_RPM}"
|
local package_attemptonly="${INSTALL_PACKAGES_ATTEMPTONLY_RPM}"
|
||||||
|
|
Loading…
Reference in New Issue