SRPMˤ륫ͥƹۼ

Ķ

  • CentOS5
  • Kernel 2.6.9

۸

ȤˤϺǿǤΥեΤݴɤƤ١ΥСɬפʾϰʲΥȤѤ롣

ƹۼ

ͥSRPM

wget http://mirrors.kernel.org/centos/4.5/updates/SRPMS/kernel-2.6.9-55.0.2.EL.src.rpm

SRPM򥤥󥹥ȡ뤷ӥɤ롣

rpm -ivh kernel-2.6.9-55.0.2.EL.src.rpm 
cd /usr/src/redhat/SPECS/
rpmbuild -bp --target i686 kernel-2.6.spec

Ѥ˥СɽԤ

cd /usr/src/redhat/BUILD/kernel-2.6.9/linux-2.6.9/
vi Makefile 
  • ѹ
    EXTRAVERSION = -prep
  • ѹ
    EXTRAVERSION = -2.6.9-NEW

ѥ

  • ɤ߹
make mrproper
cp configs/kernel-2.6.9-i686.config .config
make oldconfig
  • ѥ
    make
    make modules_install
    make install

Ƶư

ưΥǥեȥͥϸŤͥȤʤäƤ롣
ͥ뤬˵ư뤳Ȥǧ顢/boot/grub/grub.conf˿ͥ뤬ư褦Ԥ


ȥå   Խ ʬ ʎގ̎ ź ʣ ̾ѹ   ǽ   إ   ǽRSS
Last-modified: 2008-05-09 () 00:42:05 (4215d)