kernel package building

Tijnema tijnema at gmail.com
Tue Jul 10 08:06:26 PDT 2007


On 7/10/07, Ross Cameron <ross.cameron at linuxpro.co.za> wrote:
> To all those involved in the soon to appear flaming session,... my appologies.
>
> On 10/07/07, Tijnema <tijnema at gmail.com> wrote:
> > On 7/10/07, Ross Cameron <ross.cameron at linuxpro.co.za> wrote:
> > > 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
> >
> > Did you ever run a make install on the kernel? I
>
> Yes quite regularly actually,... I take it you haven't worked on a
> source based distro that uses LiLo recently have you,... I don't think
> so...

No, I'm working with an LFS base, which uses GRUB...
>
> > Just note what you install with a kernel, that is
> > a) The headers (already installed before Glibc, and should be upgraded
> > together with glibc)
> > b) The kernel itself (arch/i386/boot/bzImage)
> > c) If any, the modules that are compiled
> > d) Optional, but recommended as in the LFS book, the System.map and
> > .config files
> > e) Optional, the documentation
> >
> > Tijnema
>
> This all I am well aware of,... I was asking for assistance with
> building a "binary package" not how does LFS work.

You send this to the LFS list, any idea why people assume you're using
an LFS system?
So, If you know how LFS works, and what it installs, it shouldn't be
too hard to create a binary package right?
>
> I've been building embedded GNU/Linux systems for 6years now,... what
> I am having issues with is part of a package management system I am
> putting together for embedded systems.

You didn't told that in your first mail ;)
>
> Far too many micro-distro's don't make use of proper package
> management and this I feel is a necessary change.

I definitely agree :)
>
> Ciao
> Ross
>
> PS:         Once again apologies for starting a public argument,...
> but lets all try not assume things when answering people on mailing
> lists.

We need to assume some things because they aren't described, if whe
would have to ask these things first, it would take very long before a
solution is found. If we assume things, and whe are correct, it goes
much faster. But, of course, we can't do it 100% right ;)

Tijnema
-- 
Vote for PHP Color Coding in Gmail! -> http://gpcc.tijnema.info



More information about the lfs-support mailing list