LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Debian or Fedora?

[ILUG] Debian or Fedora?

pbm pbm at autistici.org
Wed Jan 7 11:09:59 GMT 2004


Declan Grady, Wed, Jan 07, 2004 at 10:41:25AM +0000:
> Am now in process of changing over the other tow redhat boxes to debian boxes.
> (once I figure out the kernel package thingy !)

if the kernel package thingy is "how to recompile a kernel in the Debian
way", there are two simple answers:
1) You don't need to recompile the kernel
2) Unless you don't need some non-stock features, it's as easy as to

apt-get install kernel-source-2.4.xx
cd /usr/src
tar xvjf kernel-source-2.4.xx.tar.bz2
cd kernel-source-2.4.xx
cp /boot/config-2.4.xx-whatever .config  # just to have a starting point with default answers
make-kpkg --revision NN --append-to-version -whatever --initrd --us --uc kernel-image
 # where NN is a number of choice and "whatever" a string telling more
 # about your kernel features

et voila :)

Should you ever need pecuilar features that require patches, like, say,
preempt, you need to install the debian package of that patch:
apt-get install kernel-patch-2.4-preempt

and launch another make-kpkg command line:
PATCH_THE_KERNEL=YES make-kpkg --added-patches preempt --revision NN --append-to-version -whatever --initrd --us --uc kernel-image

Operate in a similar way for added-modules (like i2c or lm-sensors).

You'll end up with a nice .deb file ready for dpkg -i  :)
p.
-- 
pbm - "otto giorni di rancore e rabbia sorda da smaltire
       al cospetto del lento disfarsi dei miei sogni"



More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell