[oe-commits] org.oe.dev cpan.bbclass: Stop the cpan modules which ask you to confirm the

lenehan commit openembedded-commits at lists.openembedded.org
Wed May 2 02:31:46 UTC 2007


cpan.bbclass: Stop the cpan modules which ask you to confirm the
configuration from hanging bitbake. They expect you to press y to indicate
that you are ok with the configuration. For some reason there was no problem
in bitbake 1.6 but this caused hangs in do_configure with bitbake 1.8.

Author: lenehan at openembedded.org
Branch: org.openembedded.dev
Revision: 253548a9fef0f4eda716e6b0611bae50c0fc4eb3
ViewMTN: http://monotone.openembedded.org/revision.psp?id=253548a9fef0f4eda716e6b0611bae50c0fc4eb3
Files:
1
classes/cpan.bbclass
Diffs:

#
# mt diff -r493ecbe0a27fda176cef32e7906f1ee6bfc099ff -r253548a9fef0f4eda716e6b0611bae50c0fc4eb3
#
# 
# 
# patch "classes/cpan.bbclass"
#  from [44b0cb6bbf5799760f4358bdc915ce3c8b6d7fb9]
#    to [58b67184bb576d8aa98116c055c92326ae8a8138]
# 
============================================================
--- classes/cpan.bbclass	44b0cb6bbf5799760f4358bdc915ce3c8b6d7fb9
+++ classes/cpan.bbclass	58b67184bb576d8aa98116c055c92326ae8a8138
@@ -54,7 +54,7 @@ cpan_do_configure () {
 export PERLCONFIGTARGET = "${@is_target(d)}"
 
 cpan_do_configure () {
-	perl Makefile.PL ${EXTRA_CPANFLAGS}
+	yes '' | perl Makefile.PL ${EXTRA_CPANFLAGS}
 	if [ "${BUILD_SYS}" != "${HOST_SYS}" ]; then
 		. ${STAGING_DIR}/${TARGET_SYS}/perl/config.sh
 		if [ "${IS_NEW_PERL}" = "yes" ]; then






More information about the Openembedded-commits mailing list