Skip to contentSkip to conversation

quilt: add ac_cv_path_BASH to CACHED_CONFIGUREVARS also for native

PATCH Superseded Ming Liu 1 participant 2 messages Jan 23, 2014

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Ming Liu

author
#0 lore raw

PATCH 1/1 quilt: add ac_cv_path_BASH to CACHED_CONFIGUREVARS also for native

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]

]

But it's also impacting native package in the case that the sstate is used between Fedora 17(or later) and other hosts.

---
 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(-)
meta/recipes-devtools/quilt/quilt-0.61.inc +2 -0
index f751ac8..7c8136f 100644
@@ -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=${base_bindir}/bash"
+
 # quilt ignores DESTDIR
 do_install () {
 	oe_runmake ${EXTRA_OE_MAKE_ARGS} install
meta/recipes-devtools/quilt/quilt_0.61.bb +0 -2
index 565e46a..3a08d13 100644
@@ -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
Signature · 1 line
1.8.3.3
author
#1 lore raw

Please ignore this patch, it's not a proper fix, I will send a V2 soon.

//Ming Liu

Quoted 48 lines · Ming Liu

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]

]

But it's also impacting native package in the case that the sstate is used between Fedora 17(or later) and other hosts.

---
  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(-)
meta/recipes-devtools/quilt/quilt-0.61.inc +2 -0
index f751ac8..7c8136f 100644
@@ -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=${base_bindir}/bash"
+
  # quilt ignores DESTDIR
  do_install () {
  	oe_runmake ${EXTRA_OE_MAKE_ARGS} install
meta/recipes-devtools/quilt/quilt_0.61.bb +0 -2
index 565e46a..3a08d13 100644
@@ -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