diff options
-rw-r--r-- | meta/classes/package_rpm.bbclass | 10 | ||||
-rw-r--r-- | meta/recipes-extended/sat-solver/sat-solver_git.bb | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass index 742f292307..43cdd572c3 100644 --- a/meta/classes/package_rpm.bbclass +++ b/meta/classes/package_rpm.bbclass | |||
@@ -27,12 +27,12 @@ package_update_index_rpm () { | |||
27 | fi | 27 | fi |
28 | 28 | ||
29 | # Update target packages | 29 | # Update target packages |
30 | base_archs="${PACKAGE_ARCHS}" | 30 | base_archs="`echo ${PACKAGE_ARCHS} | sed 's/-/_/g'`" |
31 | ml_archs="${MULTILIB_PACKAGE_ARCHS}" | 31 | ml_archs="`echo ${MULTILIB_PACKAGE_ARCHS} | sed 's/-/_/g'`" |
32 | package_update_index_rpm_common "${RPMCONF_TARGET_BASE}" base_archs ml_archs | 32 | package_update_index_rpm_common "${RPMCONF_TARGET_BASE}" base_archs ml_archs |
33 | 33 | ||
34 | # Update SDK packages | 34 | # Update SDK packages |
35 | base_archs="${SDK_PACKAGE_ARCHS}" | 35 | base_archs="`echo ${SDK_PACKAGE_ARCHS} | sed 's/-/_/g'`" |
36 | package_update_index_rpm_common "${RPMCONF_HOST_BASE}" base_archs | 36 | package_update_index_rpm_common "${RPMCONF_HOST_BASE}" base_archs |
37 | } | 37 | } |
38 | 38 | ||
@@ -1113,8 +1113,8 @@ python do_package_rpm () { | |||
1113 | rpmbuild = d.getVar('RPMBUILD', True) | 1113 | rpmbuild = d.getVar('RPMBUILD', True) |
1114 | targetsys = d.getVar('TARGET_SYS', True) | 1114 | targetsys = d.getVar('TARGET_SYS', True) |
1115 | targetvendor = d.getVar('TARGET_VENDOR', True) | 1115 | targetvendor = d.getVar('TARGET_VENDOR', True) |
1116 | package_arch = d.getVar('PACKAGE_ARCH', True) or "" | 1116 | package_arch = (d.getVar('PACKAGE_ARCH', True) or "").replace("-", "_") |
1117 | if package_arch not in "all any noarch".split() and not package_arch.endswith("-nativesdk"): | 1117 | if package_arch not in "all any noarch".split() and not package_arch.endswith("_nativesdk"): |
1118 | ml_prefix = (d.getVar('MLPREFIX', True) or "").replace("-", "_") | 1118 | ml_prefix = (d.getVar('MLPREFIX', True) or "").replace("-", "_") |
1119 | d.setVar('PACKAGE_ARCH_EXTEND', ml_prefix + package_arch) | 1119 | d.setVar('PACKAGE_ARCH_EXTEND', ml_prefix + package_arch) |
1120 | else: | 1120 | else: |
diff --git a/meta/recipes-extended/sat-solver/sat-solver_git.bb b/meta/recipes-extended/sat-solver/sat-solver_git.bb index e1054e9e22..67503b7278 100644 --- a/meta/recipes-extended/sat-solver/sat-solver_git.bb +++ b/meta/recipes-extended/sat-solver/sat-solver_git.bb | |||
@@ -47,7 +47,7 @@ do_archgen () { | |||
47 | all | any | noarch) | 47 | all | any | noarch) |
48 | continue;; | 48 | continue;; |
49 | esac | 49 | esac |
50 | INSTALL_PLATFORM_ARCHS="$each_arch $INSTALL_PLATFORM_ARCHS" | 50 | INSTALL_PLATFORM_ARCHS="`echo $each_arch | sed 's/-/_/g'` $INSTALL_PLATFORM_ARCHS" |
51 | done | 51 | done |
52 | 52 | ||
53 | echo "/* Automatically generated by the sat-solver recipe */" > src/core-arch.h | 53 | echo "/* Automatically generated by the sat-solver recipe */" > src/core-arch.h |