[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Embedded Debian, the 5 lb bag.



ext Dan Kegel wrote:
Yes.  But ptxdist is, from what I can see, the cleanest and
most automated of all of those.  It's like Erik Andersen's
buildroot, but it supports not just uclibc but also glibc.

That could very well be used for building stage 1.

Wow, 500 to 1000 stage 1 packages!  I was expecting the number to be
lower.  Are there really that many circular dependencies?


Oh, I didn't mean that there would be 500 - 1000 stage 1 packages. I meant that we should not have to worry about circular dependencies in the rest of the distribution.

Stage 1: ptxdist or something similar to put together enough tools to support building stage 2

Stage 2: "core" set of Debian packages is built and installed, definitely less than 100 components, some packages might be built with a reduced feature set to limit dependencies

Stage 3: build the remainder of the "buildable from scratch" packages (500 - 1000) and rebuild the modified packages from stage 2.


 > If we use ptxdist for stage1, we won't need either scratchbox
or modified debian packages.

How do you plan to compile coreutils for example? It depends (through documentation generation tools) on XFree86. You will still want to have that documentation available for end-users. I'm sure that we need to change some of the stage 2 packages so that the documentation can be switched off. Some of the packages already allow this (somewhat cleanly), but not all. Also the documentation tools should be standardized for stage 2 packages to make this whole thing easier.

Further benefit of separating documentation from binaries for stage 2 packages is that then embedded developers could easily leave them out of their targets. It would be really nice to have the same done for all of stage 3 packages as well.

/lauri




Reply to: