Yup, just read it :) Thanks.<br><br>Regards:<br>Bundyo<br><br><div class="gmail_quote">On Thu, Oct 22, 2009 at 9:38 AM, Ed Bartosh <span dir="ltr"><<a href="mailto:bartosh@gmail.com">bartosh@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi,<br>
<br>
Please read my last message. The issue is fixed. Nobody should do<br>
anything except of SDK guys.<br>
<br>
2009/10/22 Kamen Bundev <<a href="mailto:bundyo@gmail.com">bundyo@gmail.com</a>>:<br>
<div><div></div><div class="h5">> Hi guys,<br>
><br>
> I've played around with maemo-optify yesterday and decided to instead of<br>
> creating the paths in the package subdir, to create a symlink to /opt and<br>
> drop everything there before packaging. Wrong move, dpkg-deb doesn't follow<br>
> symlinks, it packages them :) So, the logical step was to instead of symlink<br>
> to /opt, to create home/opt in the package subdir and symlink opt/ to it.<br>
> That worked and I have a package ready that will work in the device, but I'm<br>
> hesitant to try it in the autobuilder because if the autobuilder is like<br>
> scratchbox, then the package will be installed to /home/opt but the /opt<br>
> symlinks will point to somewhere else (/targets/links/opt) and the build<br>
> will fail anyway.<br>
><br>
> So my question is - is this the right way to go about this and can I control<br>
> where the /opt dir is symlinked to in the autobuilder?<br>
><br>
> Regards:<br>
> Bundyo<br>
><br>
> On Thu, Oct 22, 2009 at 2:35 AM, Nathan Anderson <<a href="mailto:nathan@andersonsplace.net">nathan@andersonsplace.net</a>><br>
> wrote:<br>
>><br>
>> Kamen,<br>
>><br>
>> I build both binary target and source targets debs in my scratchbox<br>
>> before I upload. For instance last night I had to rebuild the binary debs<br>
>> about 20 times (trying to get a weird make file rule to work). Once I got<br>
>> it working then I would copy my rules to a fresh copy and re-run a source<br>
>> deb then re-run a binary once more just to make sure it wasn't "left" over<br>
>> stuff causing a success. ;-)<br>
>><br>
>> So, I don't think it has anything to do with the scratchbox. I suspect<br>
>> it as Ed found something to do with the symlink -> directory or something in<br>
>> their on the auto-builder.<br>
>><br>
>> Nathan.<br>
>> ________________________________<br>
>> From: Kamen Bundev [mailto:<a href="mailto:bundyo@gmail.com">bundyo@gmail.com</a>]<br>
>> Sent: Wednesday, October 21, 2009 6:14 PM<br>
>> To: Nathan Anderson<br>
>> Cc: <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
>> Subject: Re: Maemo-Optify & Builder Bots = Broken?<br>
>><br>
>> Nah, that's not enough. Still fails.<br>
>><br>
>> Another difference is that I'm building my optified package in scratchbox<br>
>> before upload and the other people are using the autobuilder, so the problem<br>
>> should be somewhere else.<br>
>><br>
>> Regards:<br>
>> Bundyo<br>
>><br>
>> On Thu, Oct 22, 2009 at 2:09 AM, Kamen Bundev <<a href="mailto:bundyo@gmail.com">bundyo@gmail.com</a>> wrote:<br>
>>><br>
>>> Nah, that's not enough. Still fails.<br>
>>><br>
>>> Regards:<br>
>>> Bundyo<br>
>>><br>
>>> On Thu, Oct 22, 2009 at 12:52 AM, Kamen Bundev <<a href="mailto:bundyo@gmail.com">bundyo@gmail.com</a>> wrote:<br>
>>>><br>
>>>> Looks like the only difference here is that my /opt should be pointing<br>
>>>> to /targets/links/opt which is symlinked to the proper target on target<br>
>>>> change. Uploading the new package to extras now.<br>
>>>><br>
>>>> Regards:<br>
>>>> Bundyo<br>
>>>><br>
>>>> On Thu, Oct 22, 2009 at 12:39 AM, Nathan Anderson<br>
>>>> <<a href="mailto:nathan@andersonsplace.net">nathan@andersonsplace.net</a>> wrote:<br>
>>>>><br>
>>>>> Ed,<br>
>>>>><br>
>>>>> I believe this is what you are asking:<br>
>>>>> FREMANTLE_ARMEL cs2007q3-glibc2.5-arm7<br>
>>>>> FREMANTLE_X86 cs2007q3-glibc2.5-i486<br>
>>>>><br>
>>>>><br>
>>>>> Nathan<br>
>>>>><br>
>>>>> -----Original Message-----<br>
>>>>> From: Ed Bartosh [mailto:<a href="mailto:bartosh@gmail.com">bartosh@gmail.com</a>]<br>
>>>>> Sent: Wednesday, October 21, 2009 4:03 PM<br>
>>>>> To: Nathan Anderson<br>
>>>>> Cc: <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
>>>>> Subject: Re: Maemo-Optify & Builder Bots = Broken?<br>
>>>>><br>
>>>>> 2009/10/21 Nathan Anderson <<a href="mailto:nathan@andersonsplace.net">nathan@andersonsplace.net</a>>:<br>
>>>>> > Ed,<br>
>>>>> ><br>
>>>>> > Sure can (and following the chain).<br>
>>>>> ><br>
>>>>> > ls -l / | grep opt<br>
>>>>> > lrwxrwxrwx 1 root root 18 Oct 6 22:36 opt -><br>
>>>>> > /targets/links/opt<br>
>>>>> ><br>
>>>>> > ls -l /targets/links/ | grep opt<br>
>>>>> > lrwxrwxrwx 1 maemo 1000 26 Oct 19 16:55 opt -><br>
>>>>> > /targets/FREMANTLE_X86/opt<br>
>>>>> ><br>
>>>>> I've found the difference!<br>
>>>>> In your environment /targets/<target>/opt is a directory. In<br>
>>>>> autobuilder<br>
>>>>> environment it's a symlink:<br>
>>>>><br>
>>>>> > ls -l /targets/maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c/<br>
>>>>> > |grep opt<br>
>>>>> lrwxrwxrwx 1 builder1 builder1 9 Oct 21 23:50 opt -> /home/opt<br>
>>>>><br>
>>>>> And it looks like it becomes symlink after rootstrap unpacking. Look:<br>
>>>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > sb-conf<br>
>>>>> re<br>
>>>>> -f<br>
>>>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > ls -l<br>
>>>>> /targets/maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c/ |grep opt<br>
>>>>> drwxrwxr-x 2 1005 1006 4096 Oct 21 23:56 opt<br>
>>>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > sb-conf<br>
>>>>> in<br>
>>>>> --etc --devkits<br>
>>>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > ls -l<br>
>>>>> /targets/maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c/ |grep opt<br>
>>>>> drwxrwxr-x 2 builder1 builder1 4096 Oct 21 23:56 opt<br>
>>>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > sb-conf<br>
>>>>> in<br>
>>>>> --fakeroot Installing fakeroot version 1.4.2.1...<br>
>>>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > ls -l<br>
>>>>> /targets/maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c/ |grep opt<br>
>>>>> drwxrwxr-x 2 builder1 builder1 4096 Oct 21 23:56 opt<br>
>>>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > sb-conf<br>
>>>>> rs<br>
>>>>> /scratchbox/packages/maemo-sdk-rootstrap_5.0_armel.tgz<br>
>>>>> Unpacking rootstrap...<br>
>>>>> [sbox-maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c: ~] > ls -l<br>
>>>>> /targets/maemo5-arm-183e1d1de998260fa89b870d65b22998c6908b6c/ |grep opt<br>
>>>>> lrwxrwxrwx 1 1005 1006 9 Oct 21 23:57 opt -> /home/opt<br>
>>>>><br>
>>>>> So, the difference is in rootstraps. Tell me which rootstrap do you use<br>
>>>>> and<br>
>>>>> I'll compare it with the one autobuilder uses.<br>
>>>>><br>
>>>>> --<br>
>>>>> BR,<br>
>>>>> Ed<br>
>>>>><br>
>>>>> _______________________________________________<br>
>>>>> maemo-developers mailing list<br>
>>>>> <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
>>>>> <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
>>>><br>
>>><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> maemo-developers mailing list<br>
> <a href="mailto:maemo-developers@maemo.org">maemo-developers@maemo.org</a><br>
> <a href="https://lists.maemo.org/mailman/listinfo/maemo-developers" target="_blank">https://lists.maemo.org/mailman/listinfo/maemo-developers</a><br>
><br>
><br>
<br>
<br>
<br>
</div></div>--<br>
BR,<br>
<font color="#888888">Ed<br>
</font></blockquote></div><br>