Rebuilt kernel => no consoles?

Luis lemsx1 at gmail.com
Wed Aug 30 04:04:19 UTC 2006


On 8/28/06, David Abrahams <dave at boost-consulting.com> wrote:
> Derek Broughton <news at pointerstop.ca> writes:
>
> > David Abrahams wrote:
> >
> >> Oh, and now I remember what made me so reluctant to do this.  The last
> >> time I tried to rebuild the stack, the very first thing it wanted to
> >> do was blow away all of the relevant existing files in
> >> /lib/modules/..., which means that undoing the install if something
> >> goes wrong is tricky at best.  How do you deal with that issue?
> >>
> > Create a kernel with a custom version number.
>
> I have done that.  But the ieee80211 Makefile uses whatever the
> current kernel is.  Are you saying I need to build the kernel, reboot
> into it, then rebuild ieee80211, or...
>
> am I expected to read INSTALL, realize I need to set IEEE80211_INC,
> realize that doesn't cover the /lib/modules/... stuff, grep the
> Makefile for uname, and discover I need to set KVER and KERNELRELEASE
> too? ;-)
>
> Seriously, does that work?  How do _you_ do it?

apt-get source linux-source
cd /usr/src/
tar xjf linux-source*.tar.bz2
cd linux-source<TAB>
cp /boot/config-`uname -r` .config
make oldconfig
# download my interactive make-kpkg.sh
# http://lems.kiskeyix.org/toolbox/?f=make-kpkg.sh
make-kpkg.sh
# answer a few questions
# and your .deb packages are now in /usr/src/*.deb

Enjoy

-- 
----)(-----
Luis Mondesi
*NIX Guru

Kiskeyix.org

"We think basically you watch television to turn your brain off, and
you work on your computer when you want to turn your brain on" --
Steve Jobs in an interview for MacWorld Magazine 2004-Feb

No .doc: http://www.gnu.org/philosophy/no-word-attachments.es.html




More information about the ubuntu-users mailing list