Ttyrpld

From Halfface
Revision as of 14:16, 21 December 2006 by 192.168.2.124 (talk)
Jump to navigation Jump to search
rpm -i /temp/kernel-2.6.18-1.2868.fc6.src.rpm
rpmbuild -bp --target $(uname -m) /usr/src/redhat/SPECS/kernel-2.6.spec
vi /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64/Makefile
EXTRAVERSION = -custom-1.2868.fc6xen
cd /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64/
patch -p1 -i /install/program/linux/ttyrpld/ttyrpld-2.18/kpatch/linux-2.6.17.diff
[root@www linux-2.6.18.x86_64]# pwd
/usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64
make rpm
rpm -i /usr/src/redhat/RPMS/x86_64/kernel-2.6.18prep-2.x86_64.rpm
mkinitrd /boot/initrd-2.6.18-prep.img 2.6.18-prep
vi /boot/grub/grub.conf
reboot
pwd
/install/program/linux/ttyrpld/ttyrpld-2.18/k_linux-2.6
make
make install
rpm -i 
unpack sysvinit-2.86-32.i586.rpm
cp sbin/startproc /sbin
cp sbin/killproc /sbin
rpm -i /install/program/linux/ttyrpld/libHX-1.9.2-0.x86_64.rpm
rpm -i /install/program/linux/ttyrpld/ttyrpld-2.18-2.x86_64.rpm
mkdir /var/log/rpl/
chown daemon:daemon /var/log/rpl/
chmod 700 /var/log/rpl/
chkconfig --add rpld
service rpld start