Skip to contentSkip to conversation

RFC: kernel configure steps hang if make oldconfig goes interactive

DISCUSSION Leon Woestenberg 2 participants 2 messages Apr 30, 2007

lore
Share & tools
lore
#0 lore raw

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,

Signature · 1 line
Leon
#1 lore raw

Hello Leon,

Quoted 5 lines · you

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.

[]

Quoted 1 line
                yes | make ARCH=${ARCH} oldconfig

[]

Quoted 1 line

Is this something we would bring in?

linux-handhelds-2.6 and some other kernel recipes have been
using that all the time.

Quoted 1 line

Regards,

Signature · 2 lines
Best regards,
 Paul                            mailto:[email protected]