Patchwork [1/1] populate_sdk_rpm: add python to nativesdk INSTALL_PROVIDESNAME_RPM list

login
register
mail settings
Submitter wenzong.fan@windriver.com
Date Oct. 11, 2013, 10:06 a.m.
Message ID <cb2e86b8c5378e37cf8dd3166fff92e15341fd7e.1381485178.git.wenzong.fan@windriver.com>
Download mbox | patch
Permalink /patch/59651/
State New
Headers show

Comments

wenzong.fan@windriver.com - Oct. 11, 2013, 10:06 a.m.
From: Wenzong Fan <wenzong.fan@windriver.com>

Add '/usr/bin/python' to rpm ignore list for fixing native SDK packages
installation error:

* error: Can't install nativesdk-xxx-$ver@x86_64_nativesdk: \
    no package provides /usr/bin/python

Signed-off-by: Wenzong Fan <wenzong.fan@windriver.com>
---
 meta/classes/populate_sdk_rpm.bbclass |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Patch

diff --git a/meta/classes/populate_sdk_rpm.bbclass b/meta/classes/populate_sdk_rpm.bbclass
index b010593..1e64552 100644
--- a/meta/classes/populate_sdk_rpm.bbclass
+++ b/meta/classes/populate_sdk_rpm.bbclass
@@ -100,7 +100,7 @@  populate_sdk_rpm () {
 	export INSTALL_PACKAGES_RPM="${TOOLCHAIN_HOST_TASK}"
 	export INSTALL_PACKAGES_ATTEMPTONLY_RPM="$(echo '${TOOLCHAIN_HOST_TASK_ATTEMPTONLY}' | sed 's/ *$//g')"
 	export INSTALL_PACKAGES_LINGUAS_RPM=""
-	export INSTALL_PROVIDENAME_RPM="/bin/sh /bin/bash /usr/bin/env /usr/bin/perl pkgconfig libGL.so()(64bit) libGL.so"
+	export INSTALL_PROVIDENAME_RPM="/bin/sh /bin/bash /usr/bin/env /usr/bin/perl /usr/bin/python pkgconfig libGL.so()(64bit) libGL.so"
 	export INSTALL_TASK_RPM="populate_sdk_rpm-nativesdk"
 	export INSTALL_COMPLEMENTARY_RPM=""