Unix Technical Forum

How I make a Kernel 2.6 package (.tgz) from source?

This is a discussion on How I make a Kernel 2.6 package (.tgz) from source? within the Slackware Linux Support forums, part of the Unix Operating Systems category; --> Hi! I like to build a kernel 2.6 from source, but how i can make packages like the Slackware ...


Go Back   Unix Technical Forum > Unix Operating Systems > Slackware Linux Support

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-19-2008, 10:44 AM
Kazuo
 
Posts: n/a
Default How I make a Kernel 2.6 package (.tgz) from source?

Hi!

I like to build a kernel 2.6 from source, but how i can make packages
like the Slackware official release (kernel-headers-*.tgz,
kernel-modules-*.tgz, etc..)? When a make my packages from source a use
the "make install DESTDIR=/ -> makepkg" way...i can use this?

This is the first time i compile my own kernel, so i like to do the
right things in a organized way and learn what each stage do.

And one more thing...any tip on building a kernel for a old pc like mine
(amd k6-200 w/ 64mb ram)?

Thanks.

ps. sorry for my english ^_^'
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-19-2008, 10:44 AM
William Park
 
Posts: n/a
Default Re: How I make a Kernel 2.6 package (.tgz) from source?

Kazuo <kz_rag@hotmail.com> wrote:
> Hi!
>
> I like to build a kernel 2.6 from source, but how i can make packages
> like the Slackware official release (kernel-headers-*.tgz,
> kernel-modules-*.tgz, etc..)? When a make my packages from source a use
> the "make install DESTDIR=/ -> makepkg" way...i can use this?
>
> This is the first time i compile my own kernel, so i like to do the
> right things in a organized way and learn what each stage do.
>
> And one more thing...any tip on building a kernel for a old pc like mine
> (amd k6-200 w/ 64mb ram)?
>
> Thanks.
>
> ps. sorry for my english ^_^'


1. put everything under a directory, so that if you did 'cp -a * /',
then everything will be in correct places.
2. man makepkg

--
William Park, Open Geometry Consulting, <opengeometry@yahoo.ca>
Linux solution/training/migration, Thin-client
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-19-2008, 10:44 AM
Kazuo
 
Posts: n/a
Default Re: How I make a Kernel 2.6 package (.tgz) from source?

On Sun, 18 Apr 2004 02:22:35 +0000, William Park wrote:
>
> 1. put everything under a directory, so that if you did 'cp -a * /',
> then everything will be in correct places.
> 2. man makepkg

is a know how to do a package from a normal source...but how a can split
the files like de Slackare kernel packages (modules headers)?...when i
compile where a use the DESTDIR(if a can use this...)?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 02-19-2008, 10:51 AM
garbagedisposal
 
Posts: n/a
Default Re: How I make a Kernel 2.6 package (.tgz) from source?

On Sat, 17 Apr 2004 23:38:29 -0300, Kazuo wrote:

> On Sun, 18 Apr 2004 02:22:35 +0000, William Park wrote:
>>
>> 1. put everything under a directory, so that if you did 'cp -a * /',
>> then everything will be in correct places.
>> 2. man makepkg

> is a know how to do a package from a normal source...but how a can split
> the files like de Slackare kernel packages (modules headers)?...when i
> compile where a use the DESTDIR(if a can use this...)?


I have not tried it with a kernel yet but I believe you can do this with
a command line tool called 'checkinstall'.

see : http://asic-linux.com.mx/~izto/checkinstall/

--
Regards
garbage
garbagedisposal@despammed.com

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 02-19-2008, 10:51 AM
Neo
 
Posts: n/a
Default Re: How I make a Kernel 2.6 package (.tgz) from source?


"Kazuo" <kz_rag@hotmail.com> wrote in message
newsan.2004.04.18.02.38.27.351584@hotmail.com...
> On Sun, 18 Apr 2004 02:22:35 +0000, William Park wrote:
> >
> > 1. put everything under a directory, so that if you did 'cp -a * /',
> > then everything will be in correct places.
> > 2. man makepkg

> is a know how to do a package from a normal source...but how a can split
> the files like de Slackare kernel packages (modules headers)?...when i
> compile where a use the DESTDIR(if a can use this...)?


why would u need to make it into a package? (Unless of course u plan to
distribute it). Just compile and install it and it will work fine.


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 07:48 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com