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 ...
| |||||||
| FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| ||||
| 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 ^_^' |
| |||
| 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 |
| |||
| 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...)? |
| |||
| 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 |
| ||||
| "Kazuo" <kz_rag@hotmail.com> wrote in message news > 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. |
| Thread Tools | |
| Display Modes | |
|
|