On 11/12/07 14:17 +0200, Riku Voipio wrote:
> Hi,
> 
> Looking at commit 6fa24730bbc56a229e759a670669bfcc0736080c [1], I think it's
> fundamentally wrong.
> 
> +-- /usr/share is mapped to the buildroot except these directories
> +-- (taken from bora rootstrap contents)
> 
> According FHS standard, /usr/share is architecture independent, thus
> mapping to there by default is wrong. I suggest only mapping there in
> the specific cases where it is needed. I see ^/usr/share/aclocal
> is probably one of these exceptions.
> 
> +--trippletable error if taken from target: {path = "^/usr/share/dpkg.*", 
> map_to = "="},
> 
> I think this can only be case if dpkg on buildroot and on host are
> different versions. In cases where one needs to have the same tool
> installed on buildroot and host, you should ensure both are *same* version.
> Else you really risk running into trouble.

I added support for specifying the default mapping mode to sb2-init and
renamed the "new" simple mode as "maemo" and reverted the rest of the changes
to simple. "sb2-init -m maemo arm arm-linux-gcc" creates a target called arm
using the toolchain arm-linux-gcc with maemo as the default mapping mode.

/lauri
_______________________________________________
Scratchbox-devel mailing list
[email protected]
http://lists.scratchbox.org/cgi-bin/mailman/listinfo/scratchbox-devel

Reply via email to