LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 12-08-2003, 04:22 PM   #1
mllq
LQ Newbie
 
Registered: Dec 2003
Posts: 1

Rep: Reputation: 0
How to patch SuSE 9 kernel source?


I'm a Linux newbie. I have SuSE 9 installed and found patch on SuSE's website kernel-source-2.4.21-144.src.rpm.
<This stupid forum doesn't allow first post to include http link>

I also found this instructions to patch SuSE 9 2.4.21-99 kernel source to -144. I'm trying to recompile 144 kernel myself.
www <dot> suse <dot> de / ~agruen / kernel-doc

PATCH SELECTION MECHANISM

$ tar xvfz linux-2.4.21.tar.gz
$ for p in $(./guards $(./arch-symbols) < series.conf) ; do
patch -d linux-2.4.21 -p1 < $p || break
done

My question is, how do I issue this "$ for p in..." command? When I type them out in bash prompt, it always says:
bash: syntax error near unexpected token 'patch'.

What do I do wrong here? Please help.
Thanks.
 
Old 12-11-2003, 01:10 AM   #2
Caeda
Senior Member
 
Registered: Jul 2003
Location: Indiana
Distribution: Suse 6.0+, Mandrake 5.0-10.0, Redhat 6.0-9.0, Gentoo 1.2+, Gnoppix, Knoppix, Sabayon, Ubuntu 5.04+
Posts: 1,811

Rep: Reputation: 45
Um...
Don't you just download the -144 kernel and the kernel source.. install them both with yast...

Then cd /usr/src/linux and compile whatever you want, cause it'll be 144 in your /usr/src directory
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Suse Pro 9.2 Won't boot after kernel patch !Help! distortedstar SUSE / openSUSE 2 08-05-2005 12:37 PM
patch of kernel source ? picticpic Mandriva 2 06-15-2005 03:17 PM
update to patch kernel source lmmix Linux - General 5 02-24-2005 03:33 PM
Kernel question: difference between Patch and "regular" kernel source kopikat Linux - Software 1 01-26-2005 05:24 PM
Patch VS Full Source for kernel demmylls Linux - General 4 10-25-2003 10:16 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 10:47 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration