<div dir="ltr">Hi Jerry this is just for the record on the list. <div style>It worked. Thank you very much. I now have firefox working. Now I need to make adobe_flash to work with it. </div><div style>-basanta</div><div style>
<br></div><div style><br></div><div style><br></div><div style><br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Jun 3, 2013 at 7:52 PM, Jerry Vonau <span dir="ltr"><<a href="mailto:jvonau@shaw.ca" target="_blank">jvonau@shaw.ca</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5">On Mon, 2013-06-03 at 14:29 +0545, Basanta Shrestha wrote:<br>
> It was "reading" repository information from file:///root/local but<br>
> packages were not installed.<br>
><br>
><br>
> On Mon, Jun 3, 2013 at 2:02 PM, Basanta Shrestha<br>
> <<a href="mailto:basanta.shrestha@olenepal.org">basanta.shrestha@olenepal.org</a>> wrote:<br>
><br>
><br>
><br>
>         On Mon, Jun 3, 2013 at 10:30 AM, Basanta Shrestha<br>
>         <<a href="mailto:basanta.shrestha@olenepal.org">basanta.shrestha@olenepal.org</a>> wrote:<br>
><br>
><br>
><br>
>                 On Sat, Jun 1, 2013 at 12:40 AM, Jerry Vonau<br>
>                 <<a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a>> wrote:<br>
>                         On Fri, 2013-05-31 at 11:14 +0545, Basanta<br>
>                         Shrestha wrote:<br>
>                         > Adding fedora=fedora_update and rebuilding<br>
>                         didn't work.<br>
>                         ><br>
>                         ><br>
>                         > Jerry, As you suggested it installed all the<br>
>                         required newer<br>
>                         > firefox,xulrunner and nss... packages but<br>
>                         the resulting image couldn't<br>
>                         > boot the XO. Now I am going for your second<br>
>                         suggestion. I have created<br>
>                         > a local repo for firefox, xulrunner and<br>
>                         other dependencies( 9<br>
>                         > altogether) . Could you please check if the<br>
>                         entries are right?<br>
>                         ><br>
><br>
><br>
>                         Well I'm surprised that I'm the only one to<br>
>                         answer this, I gave the<br>
>                         others ample time to respond.<br>
><br>
>                 yes, looks like no one takes pride on answering simple<br>
>                 questions ;)<br>
><br>
>                         ><br>
>                         > /root/local/.repo<br>
>                         ><br>
><br>
>                         Where did you download the rpms to?  Was it<br>
>                         "/root/local/"?<br>
>                         Did you run "createrepo /root/local/"?<br>
><br>
><br>
>                 yes to /root/local/ and I have done createrepo.<br>
><br>
>                         ><br>
>                         > ------------------<br>
>                         > [local]<br>
>                         > name=firefox-xulrunner local<br>
>                         > baseurl=file:///root/local/<br>
>                         > gpgcheck=0<br>
>                         > enabled=1<br>
>                         > ------------------<br>
>                         ><br>
><br>
><br>
>                         I don't understand, what are you doing with<br>
>                         the above code?<br>
><br>
>                         ><br>
>                         >  olpc-os-12.1.0-xo1.75.ini<br>
>                         ><br>
>                         ><br>
>                         ><br>
>                         > Right below [repos] section<br>
>                         ><br>
>                         ><br>
>                         > ----------------------<br>
>                         > [custom_repo]<br>
>                         > local=1,firefox,file:///root/local/<br>
>                         > ----------------------<br>
>                         ><br>
><br>
><br>
>                         No, don't do that, you have to use the OOB<br>
>                         method of naming the repos in<br>
>                         [repos].<br>
><br>
><br>
>                 I was following this<br>
>                 documentation <a href="http://cainmanor.com/tech/build-a-custom-repository-for-centos/" target="_blank">http://cainmanor.com/tech/build-a-custom-repository-for-centos/</a> and they had this extra step to create .repo file. so .<br>

><br>
>                         [repos]<br>
>                         fedora_arch=i386<br>
>                         olpc_frozen_1=0,koji.dist-f17-i686<br>
>                         olpc_frozen_2=0,koji.dist-f17-i686-updates-12.1.0<br>
>                         olpc_frozen_3=1,local.12.1.0<br>
>                         olpc_frozen_4=1,local.12.1.0-xo1.5<br>
>                         custom_repo_1=0,firefox,file:///root/local/<br>
>                         add_excludes_to=koji.dist-f17-i686,koji.dist-f17-i686-updates-12.1.0<br>
><br>
>                         When you run osbuilder.py, early into the<br>
>                         routine you can see the repos<br>
>                         being contacted, check to see if your new one<br>
>                         is being used or there is<br>
>                         an error present.<br>
><br>
><br>
>                 The repo seems to be working now it is retrieving<br>
>                 packages form local repo.<br>
>                 Thanks Jerry you have been a great help for me.<br>
><br>
><br>
>         Well it was trying to retrieving from file://root/local but it<br>
>         didn't install any package. Wonder what is wrong.<br>
<br>
</div></div>Just like you used yum to install firefox in the field, did you ask OOB<br>
to install firefox? In your ini file you need to use:<br>
<br>
[custom_packages]<br>
add_packages=firefox<br>
<span class="HOEnZb"><font color="#888888"><br>
Jerry<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
<br>
><br>
><br>
>                         Jerry<br>
><br>
>                         ><br>
>                         ><br>
>                         ><br>
>                         ><br>
>                         ><br>
>                         ><br>
>                         ><br>
>                         > On Fri, May 31, 2013 at 1:37 AM, Jerry Vonau<br>
>                         <<a href="mailto:jvonau@shaw.ca">jvonau@shaw.ca</a>> wrote:<br>
>                         >         On Thu, 2013-05-30 at 15:22 +0100,<br>
>                         Peter Robinson wrote:<br>
>                         >         > On Thu, May 30, 2013 at 3:09 PM,<br>
>                         Daniel Drake<br>
>                         >         <<a href="mailto:dsd@laptop.org">dsd@laptop.org</a>> wrote:<br>
>                         >         > > On Wed, May 29, 2013 at 11:50<br>
>                         PM, Peter Robinson<br>
>                         >         <<a href="mailto:pbrobinson@gmail.com">pbrobinson@gmail.com</a>> wrote:<br>
>                         >         > >> Firefox and xulrunner 17 are<br>
>                         the late known good (and<br>
>                         >         matching) builds<br>
>                         >         > >> for Fedora 17, you need the<br>
>                         major versions to be matching<br>
>                         >         (so<br>
>                         >         > >> 12/13/17) but if you were<br>
>                         pulling in all the latest<br>
>                         >         stable updates<br>
>                         >         > >> into the build you would have<br>
>                         matching ones AFAICT from<br>
>                         >         koji so<br>
>                         >         > >> there's some other issue.<br>
>                         >         > ><br>
>                         >         > > Ah yes, you are right, the<br>
>                         latest available versions on<br>
>                         >         koji are<br>
>                         >         > > matching (v17) and built OK. I<br>
>                         didn't spot them in the<br>
>                         >         mass of failed<br>
>                         >         > > builds. So the Fedora situation<br>
>                         is OK.<br>
>                         >         > ><br>
>                         >         > >> I'm not sure what the following<br>
>                         lines translate to but<br>
>                         >         you should<br>
>                         >         > >> never use the koji repositories<br>
>                         as repos as they contain<br>
>                         >         all sorts of<br>
>                         >         > >> randomly tagged bits that the<br>
>                         release repos don't.<br>
>                         >         > >><br>
>                         >         > >><br>
>                         olpc_frozen_1=0,koji.dist-f17-armv7hl<br>
>                         >         > >><br>
>                         olpc_frozen_2=0,koji.dist-f17-armv7hl-updates-12.1.0<br>
>                         >         > ><br>
>                         >         > > Don't worry, these are not the<br>
>                         koji repos you are thinking<br>
>                         >         of. They<br>
>                         >         > > are OLPC's frozen versions of<br>
>                         fedora repos from the<br>
>                         >         release's freeze<br>
>                         >         > > date and are not directly from<br>
>                         koji - really we should<br>
>                         >         change the<br>
>                         >         > > naming scheme.<br>
>                         >         > ><br>
>                         >         > > And this is the cause of the<br>
>                         problem - upon release freeze<br>
>                         >         date, the<br>
>                         >         > > firefox/xulrunner situation was<br>
>                         in inconsistent state;<br>
>                         >         this problem<br>
>                         >         > > has been frozen in our repos.<br>
>                         >         > ><br>
>                         >         > > Basanta, I would advise against<br>
>                         adding the official<br>
>                         >         fedora-updates<br>
>                         >         > > repo into your build as has been<br>
>                         suggested in this thread<br>
>                         >         - while this<br>
>                         >         > > will result in a well matched<br>
>                         firefox/xulrunner<br>
>                         >         combination, it will<br>
>                         >         > > bring in a lot of untested<br>
>                         package updates that were not<br>
>                         >         part of the<br>
>                         >         > > release and have probably not<br>
>                         been tested on OLPC XO.<br>
>                         >         > ><br>
>                         ><br>
>                         ><br>
>                         >         That is why later in the thread I<br>
>                         suggested to download what<br>
>                         >         yum<br>
>                         >         installed on the XO, then create and<br>
>                         use a custom repo for<br>
>                         >         OOB.<br>
>                         ><br>
>                         >         > > Instead, create a local repo<br>
>                         with these 2 packages and add<br>
>                         >         it to your<br>
>                         >         > > build config:<br>
>                         >         > ><br>
>                         ><br>
>                         <a href="http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=109570" target="_blank">http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=109570</a><br>
>                         >         > ><br>
>                         ><br>
>                         <a href="http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=116355" target="_blank">http://arm.koji.fedoraproject.org/koji/buildinfo?buildID=116355</a><br>
>                         >         ><br>
>                         >         > It will need newer nss*/nspr<br>
>                         builds too.<br>
>                         >         ><br>
>                         >         > Peter<br>
>                         ><br>
>                         ><br>
>                         >         Jerry<br>
>                         ><br>
>                         ><br>
>                         ><br>
>                         ><br>
>                         ><br>
>                         ><br>
>                         ><br>
>                         ><br>
>                         ><br>
>                         > --<br>
>                         > Basanta Shrestha<br>
>                         > Network Engineer<br>
>                         > Open Learning Exchange (OLE) Nepal<br>
>                         > Tel: <a href="tel:%2B977.1.5544441" value="+97715544441">+977.1.5544441</a>, 5520075 Ext. 303<br>
>                         > Cell: <a href="tel:%2B977.9818%20605110" value="+9779818605110">+977.9818 605110</a><br>
>                         > <a href="http://www.olenepal.org" target="_blank">http://www.olenepal.org</a><br>
><br>
><br>
><br>
><br>
><br>
><br>
><br>
>                 --<br>
>                 Basanta Shrestha<br>
>                 Network Engineer<br>
>                 Open Learning Exchange (OLE) Nepal<br>
>                 Tel: <a href="tel:%2B977.1.5544441" value="+97715544441">+977.1.5544441</a>, 5520075 Ext. 303<br>
>                 Cell: <a href="tel:%2B977.9818%20605110" value="+9779818605110">+977.9818 605110</a><br>
>                 <a href="http://www.olenepal.org" target="_blank">http://www.olenepal.org</a><br>
><br>
><br>
><br>
><br>
>         --<br>
>         Basanta Shrestha<br>
>         Network Engineer<br>
>         Open Learning Exchange (OLE) Nepal<br>
>         Tel: <a href="tel:%2B977.1.5544441" value="+97715544441">+977.1.5544441</a>, 5520075 Ext. 303<br>
>         Cell: <a href="tel:%2B977.9818%20605110" value="+9779818605110">+977.9818 605110</a><br>
>         <a href="http://www.olenepal.org" target="_blank">http://www.olenepal.org</a><br>
><br>
><br>
><br>
><br>
> --<br>
> Basanta Shrestha<br>
> Network Engineer<br>
> Open Learning Exchange (OLE) Nepal<br>
> Tel: <a href="tel:%2B977.1.5544441" value="+97715544441">+977.1.5544441</a>, 5520075 Ext. 303<br>
> Cell: <a href="tel:%2B977.9818%20605110" value="+9779818605110">+977.9818 605110</a><br>
> <a href="http://www.olenepal.org" target="_blank">http://www.olenepal.org</a><br>
<br>
<br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br>Basanta Shrestha<br>Network Engineer<br>Open Learning Exchange (OLE) Nepal<br>Tel: +977.1.5544441, 5520075 Ext. 303<br>Cell: +977.9818 605110<br><a href="http://www.olenepal.org" target="_blank">http://www.olenepal.org</a>
</div>