[oe] RFC: kernel configure steps hang if make oldconfig goes interactive

Leon Woestenberg leon.woestenberg at gmail.com
Mon Apr 30 12:24:45 UTC 2007


Hello,

I have noticed some kernel builds use an outdated defconfig (because
they use that of another kernel), the one I'm now encountering is
linux-efika-2.6.18+2.6.19-rc6-r2.

During the bitbake configure task, such a package will hang the build
(with a part of the interactive oldconfig output, but no interactive
ways to influence it).

do_configure() {
                install -m 644 ${WORKDIR}/defconfig ${S}/.config
                make ARCH=${ARCH} oldconfig
}

This can be made more robust by doing:

do_configure() {
                install -m 644 ${WORKDIR}/defconfig ${S}/.config
                yes | make ARCH=${ARCH} oldconfig
}

Is this something we would bring in?

Regards,
-- 
Leon




More information about the Openembedded-devel mailing list