macemoneta wrote
2. Build kernel
* cd /usr/src/redhat/BUILD/kernel-x.y.z/linux-x.y.z
* cp configs/kernel-2.6.xx-i686.config ./.config
* update Makefile kernel id to uniquely identify the build:
EXTRAVERSION = -x.yyy_FC3aa
thank you Pete M and Macemoneta,
I have downloaded the kernel src as you had said (2.6.10-1.770)
I am stuck at the Build kernel part; I can copy configs/kernel-2.6.10-i686.config; it asks whether it is allright to overwrite and i said yes
the next command
EXTRAVERSION = -x.yyy_FC3aa
excuse my ignorance: what shd be x.yyy and FC3aa?
After this I patched and tried make rpm and it said
[root@localhost linux-2.6.10]# make clean
CLEAN usr
[root@localhost linux-2.6.10]# cd drivers/ieee1394/
[root@localhost ieee1394]# patch < /usr/local/src/tosh-1394.patch
-bash: /usr/local/src/tosh-1394.patch: No such file or directory
[root@localhost ieee1394]# patch < /usr/local/src/tosh-1394.patch
-bash: /usr/local/src/tosh-1394.patch: No such file or directory
[root@localhost ieee1394]# cd /home/msuresh/Desktop
[root@localhost Desktop]# cp tosh-1394.patch /usr/local/src/
[root@localhost Desktop]# cd /usr/local/src/
[root@localhost src]# ls -a
. .. tosh-1394.patch
[root@localhost src]# cd drivers/ieee1394/
-bash: cd: drivers/ieee1394/: No such file or directory
[root@localhost src]# cd /usr/src/redhat/BUILD/kernel-2.6.10/linux-2.6.10
[root@localhost linux-2.6.10]# cd drivers/ieee1394
[root@localhost ieee1394]# patch < /usr/local/src/tosh-1394.patch
patching file ohci1394.c
[root@localhost ieee1394]# cd ../ ../
[root@localhost drivers]# make rpm
make: *** No rule to make target `rpm'. Stop.
[root@localhost drivers]# cd /usr/src/redhat/BUILD/kernel-2.6.10/linux-2.6.10
[root@localhost linux-2.6.10]# cp configs/kernel-2.6.10-i686.config ./ .config
cp: copying multiple files, but last argument `.config' is not a directory
Try `cp --help' for more information.
[root@localhost linux-2.6.10]# cp configs/kernel-2.6.10-i686.config ./.config
cp: overwrite `./.config'? y
[root@localhost linux-2.6.10]# update Makefile
-bash: update: command not found
[root@localhost linux-2.6.10]# Makefile
-bash: Makefile: command not found
[root@localhost linux-2.6.10]# Makefile kernel id
-bash: Makefile: command not found
[root@localhost linux-2.6.10]# update
-bash: update: command not found
[root@localhost linux-2.6.10]#
Help please