/srv/irclogs.ubuntu.com/2011/11/04/#ubuntu-kernel.txt

pvaHi guys. I'm trying to build custom flavored kernel based on lucid Ubuntu-2.6.32-35.78 kernel. Now, no matter what I do (git clean -xdf, debian/rules editconfigs/updateconfigs), whenever I try to build kernel with `AUTOBUILD=1 fakeroot debian/rules binary-debs` it stops requesting to configure kernel: http://pastebin.com/r7hS66dp 10:39
pvaAlthough I can enter answers and build will continue I think something is missed in my understanding since build should be fully automated. Isn't it?10:40
pvaIs there any way to update debian.flavor/config/... in a way to make build automatic again?10:41
TeTeTpva: did you do debian/rules clean before?11:00
pvaTeTeT: sure11:01
TeTeTpva: hmm, I usually follow https://help.ubuntu.com/community/Kernel/Compile and it more or less works, but for some abi hiccups11:02
pvaTeTeT: yup I did that too for some time. But now I've decided to maintain my own flavor since it looks more sane approach.11:04
pvaI'm puzzled now with config generation. I thought debian build system should somehow update .config to make build `make oldconfig` happy.11:06
TeTeTpva: the wiki says 'debian/rules updateconfigs' but I admit to have never done this ...11:06
pvaI did that also... It calls make menuconfig for me. And whenever I build kernel manually `make oldconfig` never asks for anything after `make menuconfig`... While here with some magic some bits from .config get lost.11:11
pvaYup, generated during debian/rules editconfigs config (/tmp/tmp.va9R6KI5Kt/CONFIGS/amd64-config.flavour.btv) has CONFIG_RCU_FANOUT=64 while .config in build directory has this option lost. Now I need to find why it was dropped. 11:14
pvaIs there any way to debug what splitconfig.pl does?11:15
pvaAha, now I'm getting closer. There is "debian.<flavor>/config/config.common." file. Note there is nothing in name after dot. And this file build system does not pick up during build.11:23
pvaYup, I found it: I dropped family='ubuntu' from debian.<flavor>/etc/kernelconfig and thus splitconfig.pl generated wrong config. Now build goes ahead!11:29
pvaAnd sorry for disturbing you guys. Actually it pity that there are lot's of how-to's in the internet about building custom kernel that provide users with wrong guidance, like suggesting to modify generated files (e.g. debian/control) and no documentation about how things should work. If I had enough time I'd better documented that but ... looks like everybody around struggle lack of time :)11:31
pvaThat said I really like how debian kernel build is organized :) Probably I'll borrow some of its bits into Gentoo :)11:33
TeTeTpva: you can always update the ubuntu wiki page or expand it, I guess11:36
pvaTeTeT: yup, probably I'll add some bits there. In any way thank you11:40
pvaGood bye!11:40
=== yofel_ is now known as yofel
komputesI know it's the end of UDS and all, but can some kern devs please triage the following intel wireless case: https://bugs.launchpad.net/linux/+bug/87614722:18
ubot2Launchpad bug 876147 in linux "Intel Corporation Centrino Wireless-N + WiMAX 6150 (rev 67) not working after upgrade to 11.10" [Critical,Confirmed]22:18

Generated by irclog2html.py 2.7 by Marius Gedminas - find it at mg.pov.lt!