From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail1.windriver.com (mail1.windriver.com [147.11.146.13]) by mail.openembedded.org (Postfix) with ESMTP id F105C6B05F for ; Thu, 23 Jan 2014 06:45:51 +0000 (UTC) Received: from ALA-HCA.corp.ad.wrs.com (ala-hca.corp.ad.wrs.com [147.11.189.40]) by mail1.windriver.com (8.14.5/8.14.5) with ESMTP id s0N6jrZt024856 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=FAIL) for ; Wed, 22 Jan 2014 22:45:53 -0800 (PST) Received: from pek-lpgbuild1.wrs.com (128.224.153.21) by ALA-HCA.corp.ad.wrs.com (147.11.189.50) with Microsoft SMTP Server id 14.2.347.0; Wed, 22 Jan 2014 22:45:51 -0800 From: Ming Liu To: Date: Thu, 23 Jan 2014 14:45:48 +0800 Message-ID: <1390459548-21038-1-git-send-email-ming.liu@windriver.com> X-Mailer: git-send-email 1.8.3.3 MIME-Version: 1.0 Subject: [PATCH V2] quilt: add ac_cv_path_BASH to CACHED_CONFIGUREVARS also for native X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 23 Jan 2014 06:45:53 -0000 Content-Type: text/plain A issue was fixed in target recipe with commit: 95893404 [ quilt: added ac_cv_path_BASH to CACHED_CONFIGUREVARS On Fedora 17, bash has moved to /usr/bin/bash and the configure process finds it on the host machine there, this ensures that it is set correctly for the target. [YOCTO #2363] Signed-off-by: Saul Wold ] But it's also impacting native package in the case that the sstate is used between Fedora 17(or later) and other hosts. Signed-off-by: Ming Liu --- meta/recipes-devtools/quilt/quilt-0.61.inc | 2 ++ meta/recipes-devtools/quilt/quilt_0.61.bb | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/meta/recipes-devtools/quilt/quilt-0.61.inc b/meta/recipes-devtools/quilt/quilt-0.61.inc index f751ac8..19966c8 100644 --- a/meta/recipes-devtools/quilt/quilt-0.61.inc +++ b/meta/recipes-devtools/quilt/quilt-0.61.inc @@ -31,6 +31,8 @@ RDEPENDS_${PN} = "bash" EXTRA_OE_MAKE_ARGS_darwin ?= "" EXTRA_OE_MAKE_ARGS ?= "BUILD_ROOT=${D}" +CACHED_CONFIGUREVARS += "ac_cv_path_BASH=/bin/bash" + # quilt ignores DESTDIR do_install () { oe_runmake ${EXTRA_OE_MAKE_ARGS} install diff --git a/meta/recipes-devtools/quilt/quilt_0.61.bb b/meta/recipes-devtools/quilt/quilt_0.61.bb index 565e46a..3a08d13 100644 --- a/meta/recipes-devtools/quilt/quilt_0.61.bb +++ b/meta/recipes-devtools/quilt/quilt_0.61.bb @@ -5,8 +5,6 @@ SRC_URI += "file://aclocal.patch \ file://gnu_patch_test_fix_target.patch \ " -CACHED_CONFIGUREVARS += "ac_cv_path_BASH=${base_bindir}/bash" - # fix build-distro specific perl path in the target perl scripts do_install_append() { for perlscript in ${D}${datadir}/quilt/scripts/remove-trailing-ws ${D}${datadir}/quilt/scripts/dependency-graph ${D}${datadir}/quilt/scripts/edmail ${D}${bindir}/guards -- 1.8.3.3