Re: Patch for polystrap
Actually, I use it at my work to build a uniform Debian image for
multiple architectures. Honestly, I actually modified polystrap to
*remove* the ability to run as non-root; it relied on a version of
fakeroot which was not released, and I have no problem with using root
(you can always build a VM and do it there).
In my opinion, the big failing of multistrap, which polystrap works
around, is that it does not a provide a *uniform* and consistent build
system across multiple architectures. Multistrap behaves radically
different if you are building an image on the actual box (native)
versus on a different box (foreign). Heck, it even behaves differently
if you are on an x64 system building for vanilla 386! This makes it
very cumbersome to create a single set of files that can build the
"same" image for different architectures and know that it will work
properly on just about any build machine.
My solution was to hack a copy of multistrap to always run in foreign
mode (this ought to be a command option!) and use polystrap to drive
the whole process.
On Thu, Oct 11, 2012 at 6:09 PM, Johannes Schauer <email@example.com> wrote:
> On Tue, Oct 09, 2012 at 10:04:58PM +0200, Gilles Filippini wrote:
>> > Thanks, thought I must admit I didnt use it for quite a while now.
>> > Glad to hear that it is of use to some :)
>> Just curious: has it been superseded by another tool?
> As far as I know, I'm the only one using it and I didnt write anything
> else that does the same thing better so far ;)
> Polystrap is a tool serving a purpose similar to many existing software
> packages. The only thing that makes it a bit more than another NIH
> solution is the fact that you create a tarball of a foreign Debian
> system without needing superuser priviliges ever throughout the whole
> process. This is what others can't yet do even though it is only about
> correctly connecting existing tools.
> cheers, josch
> To UNSUBSCRIBE, email to debian-embedded-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact firstname.lastname@example.org
> Archive: 20121011220900.GA16765@hoothoot">http://lists.debian.org/20121011220900.GA16765@hoothoot