Patchwork [1/2] populate_sdk_rpm: Re-add a few system provides to the SDK

login
register
mail settings
Submitter Mark Hatle
Date Jan. 18, 2013, 11:13 p.m.
Message ID <1cabb636ae1640c7d59a9932141fae973ad17985.1358550581.git.mark.hatle@windriver.com>
Download mbox | patch
Permalink /patch/42905/
State Accepted
Commit 1edd44bed9e9829f7c2466928bc3f45be102b84b
Headers show

Comments

Mark Hatle - Jan. 18, 2013, 11:13 p.m.
When building the target SDK portion, we can safely ignore various
package rdepends.  These dependencies are not required on a build
only environment like an SDK.

[YOCTO #3691]

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
Tested-by: Khem Raj <raj.khem@gmail.com>
---
 meta/classes/populate_sdk_rpm.bbclass |    4 +++-
 1 files changed, 3 insertions(+), 1 deletions(-)

Patch

diff --git a/meta/classes/populate_sdk_rpm.bbclass b/meta/classes/populate_sdk_rpm.bbclass
index eb80e1d..00a3ab4 100644
--- a/meta/classes/populate_sdk_rpm.bbclass
+++ b/meta/classes/populate_sdk_rpm.bbclass
@@ -43,7 +43,9 @@  populate_sdk_rpm () {
 	export INSTALL_PACKAGES_RPM="${TOOLCHAIN_TARGET_TASK}"
 	export INSTALL_PACKAGES_ATTEMPTONLY_RPM="${TOOLCHAIN_TARGET_TASK_ATTEMPTONLY}"
 	export INSTALL_PACKAGES_LINGUAS_RPM=""
-	export INSTALL_PROVIDENAME_RPM=""
+	# We don't need any of these runtime items for the SDK, so
+	# just make the system assume they exist.
+	export INSTALL_PROVIDENAME_RPM="/bin/sh /bin/bash /usr/bin/env /usr/bin/perl pkgconfig"
 	export INSTALL_TASK_RPM="populate_sdk-target"
 	export INSTALL_COMPLEMENTARY_RPM=""
 	export INTERCEPT_DIR=${WORKDIR}/intercept_scripts