Hmm, yes, that seems to be the problem. In the final SDK /opt is a symlink
but in the latest beta SDK it is not. I didn't upgrade my development
machine, but I have the final on another so I can compare. I'll report back
if successful.

Regards:
Bundyo

On Thu, Oct 22, 2009 at 12:03 AM, Ed Bartosh <bart...@gmail.com> wrote:

> 2009/10/21 Nathan Anderson <nat...@andersonsplace.net>:
> > Ed,
> >
> >        Sure can (and following the chain).
> >
> > ls -l / | grep opt
> >        lrwxrwxrwx    1 root  root      18 Oct  6 22:36 opt ->
> > /targets/links/opt
> >
> > ls -l /targets/links/ | grep opt
> >        lrwxrwxrwx  1 maemo 1000 26 Oct 19 16:55 opt ->
> > /targets/FREMANTLE_X86/opt
> >
> I've found the difference!
> In your environment /targets/<target>/opt is a directory. In
> autobuilder environment it's a symlink:
>
> > ls -l /targets/maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c/ |grep
> opt
> lrwxrwxrwx   1 builder1 builder1    9 Oct 21 23:50 opt -> /home/opt
>
> And it looks like it becomes symlink after rootstrap unpacking. Look:
> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] >
> sb-conf re -f
> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > ls -l
> /targets/maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c/ |grep
> opt
> drwxrwxr-x  2 1005 1006 4096 Oct 21 23:56 opt
> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] >
> sb-conf in --etc --devkits
> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > ls -l
> /targets/maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c/ |grep
> opt
> drwxrwxr-x   2 builder1 builder1 4096 Oct 21 23:56 opt
> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] >
> sb-conf in --fakeroot
> Installing fakeroot version 1.4.2.1...
> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > ls -l
> /targets/maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c/ |grep
> opt
> drwxrwxr-x   2 builder1 builder1 4096 Oct 21 23:56 opt
> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] >
> sb-conf rs /scratchbox/packages/maemo-sdk-rootstrap_5.0_armel.tgz
> Unpacking rootstrap...
> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > ls -l
> /targets/maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c/ |grep
> opt
> lrwxrwxrwx   1 1005 1006    9 Oct 21 23:57 opt -> /home/opt
>
> So, the difference is in rootstraps. Tell me which rootstrap do you
> use and I'll compare it with the one autobuilder uses.
>
> --
> BR,
> Ed
> _______________________________________________
> maemo-developers mailing list
> maemo-developers@maemo.org
> https://lists.maemo.org/mailman/listinfo/maemo-developers
>
_______________________________________________
maemo-developers mailing list
maemo-developers@maemo.org
https://lists.maemo.org/mailman/listinfo/maemo-developers

Reply via email to