Wednesday, July 20, 2011

Compiling Linux 3.0

#!/bin/bash
kernel=linux-3.0.tar.bz2
patch=patch-3.0.bz2
download=http://www.kernel.org/pub/linux/kernel/v3.0/
wget $download/$kernel
wget $download/$patch
tar xvf $kernel
mv $patch.bz2 $kernel/
cd linux*
bunzip2 -d $patch.tar.bz2 | patch -p1
make clean
make menuconfig
make -j3 all
make -j3 modules_install
make install

No comments:

Post a Comment