LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 04-14-2005, 02:51 AM   #1
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Rep: Reputation: 45
making 2.6 kernel packages


When i compile my kernel, i usually compile it with

Code:
make
make modules_install
make install
Is it possible to just use checkinstall to create packages and save me the trouble of recompiling later?

kind of like

Code:
make
checkinstall make modules_install
checkinstall
 
Old 04-14-2005, 03:15 AM   #2
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Don't use checkinstall for your kernels, and if you're on 2.6.x you only need:
make xconfig (or your choice)
make
make modules_install

Build it somewhere under ~/ as Linus says in the ./linux-x.x.x/README
 
Old 04-14-2005, 03:20 AM   #3
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
xushi, your question was asked before. Have a look at this thread.
 
Old 04-14-2005, 04:46 AM   #4
xushi
Senior Member
 
Registered: Jun 2003
Location: UK
Distribution: Gentoo
Posts: 1,288

Original Poster
Rep: Reputation: 45
Quote:
Don't use checkinstall for your kernels, and if you're on 2.6.x
How, then, can i make a kernel package, similar to Pat's 2.4.29 tgz packages? I have 2 slow machines i need to compile 2.6 on them, and it would literally take days to set it up properly.

I'd rather make a package of my 2.6, install it there, and just enable/disable the differences.

Quote:
xushi, your question was asked before.
Sorry about that, didn't see it.

I think i'll give checkinstall a try, and post the results. I don't see any real reason for it not to work.

Thanks again
 
Old 04-14-2005, 05:26 AM   #5
KMcD
Member
 
Registered: Jun 2003
Location: Dublin, Ireland
Distribution: Slack -- current
Posts: 354

Rep: Reputation: 30
Quote:
Originally posted by xushi
I have 2 slow machines i need to compile 2.6 on them, and it would literally take days to set it up properly.
are this machines networked together by any chance. if so you could use distcc to reduce compile time. Type
Code:
man distcc
for instructions on how to do this.
 
Old 04-14-2005, 05:28 PM   #6
shilo
Senior Member
 
Registered: Nov 2002
Location: Stockton, CA
Distribution: Slackware 11 - kernel 2.6.19.1 - Dropline Gnome 2.16.2
Posts: 1,132

Rep: Reputation: 50
There is a README that PV provides on all the mirrors. It contains stuff for 2.4 and 2.6 kernels. I'll try and post with the 2.4 stuff hacked out.

Quote:
Since I should document this somewhere, here's the procedure
for building the Slackware kernel package. I do not patch the official
kernel sources, but it's not exactly a virgin either.

=============================================================
Version specific notes (if any):
=============================================================
For a 2.6.x kernel (much easier):

Untar Linus' source in /usr/src.
Make all files owned by root:root with reasonable perms.
Install a suitable .config, or use make menuconfig, etc.
make oldconfig > /dev/null
make bzImage
make clean
rm .version

OK, that's it. Now just pack up /usr/src/linux-2.x.x, the
/usr/src/linux symlink, and /install/slack-desc.
You can find the method for making a Slackware package in the other SlackBuild scripts.
 
Old 04-14-2005, 06:18 PM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
SlackBuild is the way to go to make your own Slackpacks.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Intalling own software? Self making packages? Svip Linux - Software 3 05-12-2005 08:08 AM
Making synaptic ignore broken packages ???? UsualTuxpect Linux - Software 5 09-05-2004 10:29 PM
making .tgz packages from sources r_jensen11 Slackware 3 02-03-2004 05:57 PM
Making Slackware Packages tjm Slackware 5 07-31-2003 11:46 AM
Having trouble with making Slack packages lostboy Slackware 4 05-18-2003 10:15 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 02:36 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