summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJamie Lenehan <lenehan@twibble.org>2007-05-02 02:14:14 +0000
committerJamie Lenehan <lenehan@twibble.org>2007-05-02 02:14:14 +0000
commite4804a842235fe27e5bac51d9908933cdb3dd40e (patch)
tree62d8a2fdad359d6bb0a3cf7b3a2503fe435177b4
parente9d12e48f9c41ee5c0f9ddb82c387a5ce2a17c9a (diff)
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.
-rw-r--r--classes/cpan.bbclass2
1 files changed, 1 insertions, 1 deletions
diff --git a/classes/cpan.bbclass b/classes/cpan.bbclass
index 410a1c6502..be08c84379 100644
--- a/classes/cpan.bbclass
+++ b/classes/cpan.bbclass
@@ -54,7 +54,7 @@ PERLLIBDIRS = "${@perl_get_libdirs(d)}"
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