summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorYu Ke <ke.yu@intel.com>2011-08-01 19:54:25 +0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2011-08-01 14:17:21 +0100
commita10fb4f72a3a072baf8d50f5a9c1dff93320a5ed (patch)
tree669977afb4769d7e4050cade7eb3a77679fc392f
parent6243fb500406cf0ec758acb158dffcdb9a6aa027 (diff)
downloadpoky-a10fb4f72a3a072baf8d50f5a9c1dff93320a5ed.tar.gz
poky-a10fb4f72a3a072baf8d50f5a9c1dff93320a5ed.tar.bz2
poky-a10fb4f72a3a072baf8d50f5a9c1dff93320a5ed.zip
package_rpm.bbclass: fix one typo
fix the MLPREFIX referrence typo which cause multilib rpm do_rootfs failure CC: Mark Hatle <mark.hatle@windriver.com> (From OE-Core rev: 9653089620ad5aef7876b582708561c3a315a064) Signed-off-by: Yu Ke <ke.yu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/classes/package_rpm.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/meta/classes/package_rpm.bbclass b/meta/classes/package_rpm.bbclass
index 2cc0584b59..950f665db5 100644
--- a/meta/classes/package_rpm.bbclass
+++ b/meta/classes/package_rpm.bbclass
@@ -248,7 +248,7 @@ package_install_internal_rpm () {
echo "Processing $pkg..."
archvar=base_package_archs
- ml_pkg=$(echo ${pkg} | sed "s,$^{MLPREFIX}\(.*\),\1,")
+ ml_pkg=$(echo ${pkg} | sed "s,^${MLPREFIX}\(.*\),\1,")
if [ "${ml_pkg}" != "${pkg}" ]; then
archvar=ml_package_archs
fi