Outils pour utilisateurs

Outils du site


gnu:kernelrt

script de compilation du noyau GNU/Linux rt

Sur ubuntu il existe le paquet linux-image-2.6.31-9-rt !!

Mais bon , au cas ou …

sudo -s
cd /usr/src

wget
http://www.kernel.org/pub/linux/kernel/v2.6/testing/linux-2.6.31.2.tar.bz2
wget
http://www.kernel.org/pub/linux/kernel/projects/rt/patch-2.6.31.2-rt13.bz2     
chmod 755 *

tar xjfv linux-2.6.31.2.tar.bz2

rm linux
ln -s linux-2.6.31.2 linux
cd linux

bzip2 -dc /usr/src/patch-2.6.31.2-rt13.bz2 | patch -p1 --dry-run
bzip2 -dc /usr/src/patch-2.6.31.2-rt13.bz2 | patch -p1

cp /boot/config-`uname -r` .config
make menuconfig

make-kpkg clean
make-kpkg modules_clean
make-kpkg --revision 1 --initrd kernel_image kernel_headers modules_image

cd ..
chmod 755 *
dpkg -i *31-rc4*.deb

apt-cache search 2.6.31
linux-image-2.6.31.2 - Linux kernel binary image for version 2.6.31.2
linux-headers-2.6.31.2 - Header files related to Linux kernel
gnu/kernelrt.txt · Dernière modification : 2024/02/09 17:10 de 127.0.0.1