From: Jamie Lenehan Date: Wed, 2 May 2007 02:14:14 +0000 (+0000) Subject: cpan.bbclass: Stop the cpan modules which ask you to confirm the X-Git-Tag: Release-2010-05/1~8868^2~644^2~24 X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e4804a842235fe27e5bac51d9908933cdb3dd40e;p=openembedded.git 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. --- 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