kernel package building

Ross Cameron ross.cameron at linuxpro.co.za
Tue Jul 10 07:32:16 PDT 2007


Hi all Ive hit a bit of a stumbling block and cant seem to BASH script
my way out of it :(

As most of you will know when building binary packages for UNIX-like
systems the output of
         make install
is usually re-directed using something akin to
         make DESTDIR=<some temp folder> install

And then that temp folder is tarballed up, or what ever compression
the package manager uses, and a binary package is created from this.

I've tried this approach (and several variants of it) to attempt this
with the vanilla kernel sources from www.kernel.org and its not
co-operating with me.

The guys at redhat/fedora use a whole lot of "cp" commands in their
kernel spec file to accomplish this but isn't there a simple way of
re-directing the kernel's Makefile's logic that says everything must
be installed under / ??????????

Any and all thoughts appreciated....

Ross



More information about the lfs-support mailing list