LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE
User Name
Password
SUSE / openSUSE This Forum is for the discussion of Suse Linux.

Notices


Reply
  Search this Thread
Old 01-19-2005, 10:35 PM   #1
tchurch
LQ Newbie
 
Registered: Jan 2005
Posts: 1

Rep: Reputation: 0
Unhappy How to install patches.


I need some instruction on how to install patches for the suse/novell kernel
 
Old 01-20-2005, 03:06 AM   #2
abisko00
Senior Member
 
Registered: Mar 2004
Location: Munich
Distribution: Ubuntu
Posts: 3,517

Rep: Reputation: 58
You ahve to install the sources of your current kernel first. That you can do simply with Yast. Be aware that you need to run YOU in case you did a kernel update previously to match the version numbers of source and binary.

Apply the patch to the sources with

patch -p1 /path/to/patch

in the source directory

And now configure, compile and install the kernel. There are many different ways of doing that and also many HowTo's that cover those ways. On SuSE kernels >2.6 I prefer the following way:

delete .config in the sources directory
create new .config with zcat /proc/config.gz > .config
run make oldconfig
configure your kernel with e.g. make xconfig
run make prepare
run make
run make modules_install
copy bzImage and system.map to /boot
make changes in /boot/grub/menu.lst to match the new kernel
reboot

As I said before, there are other ways to do it, but this method has always worked for me. Before you start, read a good howto, so you know what you are doing.

In case I misunderstood you and you wanted to install security updates and patches, simply use Yast Online Update (YOU), which will also install kernel patches if available from SuSE.
 
  


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
Cannot install certain patches on yast SUSE 9.1 izquierdista Linux - Software 5 04-01-2005 11:19 AM
RedHat patches vs open source patches paulsh2k4 Linux - Software 1 10-14-2004 03:18 AM
How can install patches in linux Red hat 6.2 osaavedra Linux - Software 0 08-31-2004 03:52 PM
-mm patches alekoos Linux - Newbie 1 04-27-2004 03:21 PM
Which Security Patches to install Karen61 Linux - Security 2 11-12-2003 03:20 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > SUSE / openSUSE

All times are GMT -5. The time now is 05:34 AM.

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