Ttyrpld: Difference between revisions

From Halfface
Jump to navigation Jump to search
No edit summary
No edit summary
Line 4: Line 4:
  EXTRAVERSION = -custom-1.2868.fc6xen
  EXTRAVERSION = -custom-1.2868.fc6xen
  cd /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64/
  cd /usr/src/redhat/BUILD/kernel-2.6.18/linux-2.6.18.x86_64/
mv configs/kernel-2.6.18-x86_64-xen.config .config
  patch -p1 -i /install/program/linux/ttyrpld/ttyrpld-2.18/kpatch/linux-2.6.17.diff
  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
  [root@www linux-2.6.18.x86_64]# pwd

Revision as of 06:02, 26 December 2006

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/
mv configs/kernel-2.6.18-x86_64-xen.config .config
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 
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