LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   SUSE / openSUSE (https://www.linuxquestions.org/questions/suse-opensuse-60/)
-   -   need a bit of help (https://www.linuxquestions.org/questions/suse-opensuse-60/need-a-bit-of-help-386505/)

NetBlaster 11-25-2005 03:39 PM

need a bit of help
 
i have SUSE Linux 10.0 GM, and im trying to upgrade to kernel 2.6.14.3

then apply the Con Kovilas patch onto it, complete newbie at the kernel, wanted to have a shot at it,

i ve the following files,
linux-2.6.14.3.tar.bz2
patch-2.6.14.3.tar.bz2
patch-2.6.14-ck5.bz2

im in the /usr/src directory, and everthing ive tried aint working :(

bigrigdriver 11-25-2005 07:10 PM

SuSE is a rpm-based distro. You have downloaded compressed tar files.

You have three options:
1) download the equivalent rpm files and install those.
2) use archiver to view the contents of the compressed archives. Look for README and INSTALL files to read. They should contain installation instructions.
3) use archiver to view the contents of the compressed archives. Look for a file called .spec. If it exists in the archive, it is an rpm .spec file, which tells rpm what to do in order to compile and build rpm .src.rpm and .rpm files (source and binary installable files). If the .spec file is there, cd to the directory in which the tarball resides, and use the rpm -tb <filename>.tar.bz2 command to build a installable binary rpm, or rpm -ta <filename>.tar.bz2 to build both a .src.rpm and .rpm. Install the .rpm as you would any other in SuSE; either manually or via YaST. Archive the .src.rpm somewhere on removable media. Should you need it again, as in hardware upgrade, you can recompile quickly and easily.

bulliver 11-25-2005 08:17 PM

bigrigdriver: he mentioned he wanted to have a shot at building the kernel manually...

NetBlaster:
You don't need patch-2.6.14.3.tar.bz2, as this patch is intended to patch an old source tree to 2.6.14.3. As you have already downloaded the complete source, it is not necessary.

So: first unpack the source:
Code:

# tar xjf linux-2.6.14.3.tar.bz2
Now cd into the source tree:
Code:

# cd linux-2.6.14.3
Now copy the patch into the source tree:
Code:

# cp ../patch-2.6.14-ck5.bz2 .
Uncompress the patch:
Code:

# bunzip2 patch-2.6.14-ck5.bz2
Now apply the patch:
Code:

# patch -p0 < patch-2.6.14-ck5
See this page for more info:
http://www.linuxhq.com/patch-howto.html

After the source is patched, have a look at README for instructions on building and installing the kernel.

NetBlaster 11-27-2005 08:21 AM

ahh, thank you alot, lol all of a sudden it all becomes much more simple thank you bulliver


All times are GMT -5. The time now is 02:38 PM.