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

Re: Very newbe help/pointers required about building a distribution from scratch



On Wed, Mar 10, 2010 at 8:18 PM, Lennart Sorensen
<lsorense@csclub.uwaterloo.ca> wrote:
> On Wed, Mar 10, 2010 at 07:20:04PM +0000, Luke Kenneth Casson Leighton wrote:
>>  yeah - i'd like to know how to do this, too.  i installed buildd (and
>> wannabuild) but there appears to be some "manual" steps involved, and
>> i was kind-of expecting it to be automatic and recursive.
>>
>>  what i was expecting was that there was a simple way - e.g. grab all
>> the packages of a task - and just "shove" them at buildd, and i was
>> expecting it to just... go ahead and recursively grab all build
>> dependencies and all source dependencies, right down to coreutils and
>> build them all from the top down.
>>
>>  a bit like openembedded.
>>
>>  ... but there's absolutely nothing that can be found, like that: it
>> seems more that buildd is designed to be a half-way house, which is
>> kinda useless for this sort of task, creating entire specialised
>> rebuilds (a la gentoo) for specific architectures.
>>
>>  yes, basically, i want to rebuild an entire suite of debian packages
>> for the arm cortex A8 processor (the S5PC100).
>
> A number of packages have circular dependancies.  These have to be
> resolved manually by either temporarily using packages built elsewhere
> or by manually building parts of a package to solve the dependancies.

 or by using e.g. debian armel packages a la cross-debootstrap
(rootstock under the dreaded ubuntu), that gets you into a position
where each of those dependencies can be replaced one at a time.

> You better have a good understanding of the debian packaging system and
> how dpkg-buildpackage works.
>
> It only really becomes automatic with wannabuild once you have a working
> base system.

 excellent.

 ... where is all this documented?

 has anyone actually done this - documented and automated e.g. how the
debian-armel port was created, when previously there was only the
debian-arm one?

 because it really does make sense to have a way to do automated total
recompiles for e.g. the cortex a8, and if debian won't "officially"
add that as an architecture, at least having a well-documented and
automated process by which a random person can just... set some
machines compiling for a month, would be good.


Reply to: