<div dir="ltr"><div>Hi all,</div><div><br></div><div><div class="gmail-css-1dbjc4n gmail-r-1wbh5a2 gmail-r-dnmrzs"><a href="https://twitter.com/enzo_dancing" class="gmail-css-4rbku5 gmail-css-18t94o4 gmail-css-1dbjc4n gmail-r-1loqt21 gmail-r-1wbh5a2 gmail-r-dnmrzs gmail-r-1ny4l3l"><div class="gmail-css-1dbjc4n gmail-r-1wbh5a2 gmail-r-dnmrzs gmail-r-1ny4l3l"><div class="gmail-css-1dbjc4n gmail-r-18u37iz gmail-r-1wbh5a2"><div dir="ltr" class="gmail-css-901oao gmail-css-bfa6kz gmail-r-9ilb82 gmail-r-18u37iz gmail-r-1qd0xha gmail-r-ubezar gmail-r-16dba41 gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"></span></div></div></div></a></div><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0">I have just finished reading most of "The Linux Kernel in a Nutshell". <br></span></div><div><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0">1. I wish I knew about this book two weeks ago</span></div><div><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0">
2. I'm currently recompiling my kernel in a VM, by having copied the <span class="gmail-Lm gmail-ng">base .config</span> file from /boot<span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"> as it's been recompiling, for now, more than an hour, I started having questions and carried on reading the book hoping to find answers.</span></span></div><div><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"> Turns out I don't need every modules and driver that Ubuntu has in its initial .config file for my VM.<span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"> Having understood that and found all the modules I actually need (thanks find_all_modules.sh). I'm trying to devise a <span class="gmail-LI gmail-ng">strategy</span> to take the output of that script and make a brand new minimal .config file.
However, the only solution I've found <span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0">is doing it manually via make menuconfig.
This seems to be a rather long process, which I wouldn't mind doing if there aren't any other alternatives.<br></span></span></span></span></div><div><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0">Is there any other way?<br></span></span></span></span></div><div><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"><br></span></span></span></span></div><div><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0">Thanks,</span></span></span></span></div><div><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0"><span class="gmail-css-901oao gmail-css-16my406 gmail-r-1qd0xha gmail-r-ad9z0x gmail-r-bcqeeo gmail-r-qvutc0">Enzo<br></span></span></span></span></div></div>