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

Re: multistrap on ubuntu



+++ Wookey [2010-08-20 18:22 +0100]:
> +++ Neil Williams [2010-08-20 09:27 +0100]:
> > On Fri, 20 Aug 2010 02:30:45 +0100
> > Wookey <wookey@wookware.org> wrote:
> > 
> > > 5) Installing packages in un-specified stanzas
> > 
> > Needs just a simple tweak:
> > 
> > 		next if (!(grep(/$sect/, @debootstrap)));
> > 
> > > I'm hoping Codehelp can sort that one out. 
> > 
> > Please recheck with current SVN.
> 
> Hmm. I thought this was fixed but in fact it seems not to be:
> 
> If I have a stanza listing g++4.2-arm-linux-gnueabi as well as one listing
> g++4.4-arm-linux-gnueabi

OK. fixed in SVN with next if (!(grep(/^$sect$/, @debootstrap)));

> --simulate says that it will only ask for g++4.4-arm-linux-gnueabi
> but when I run pdebuild-cross-create it tries to install both and fails because
> only one is available.
> 
> Hmm, although --simulate does list the emdebian.org source which is wrong. 

Maybe --simulate lists all available stanzas? as emdebian.org is still
there. I guess that makes sense.

On a related point I notice:
The simulate output is a little confusing because it is sorted. So we
have:

> (maverick)wookey@kh:~/ubuntu/maverick/popt-1.16$ sudo multistrap --simulate -f /usr/share/multistrap/armel.conf
> source:  	Sources: [arch=armel] http://ports.ubuntu.com/, http://archive.ubuntu.com/ubuntu, http://people.canonical.com/~hrw/ubuntu-maverick-armel-cross-compilers ./, http://www.emdebian.org/debian
> suites:  	Suites: , maverick, maverick, stable
> components	Components: main, main, main universe, main universe

I assumed these 3 lists of 4 items corresponded in position. But in
fact they don't because all three are alphabetically sorted. I can't
see how that helps, so I've taken out the sorts, and now the 1st
source matches the 1st suite and 1st component, and so on. Is there a
reason why this is in fact bad?

It might be nice to replace the empty string with NONE or something. 

Wookey
-- 
Principal hats:  Linaro, Emdebian, Wookware, Balloonboard, ARM
http://wookware.org/


Reply to: