/etc/opkg

roguemoko at roguewrt.org roguemoko at roguewrt.org
Sat Aug 30 04:30:06 CEST 2008


John Whitmore wrote:
> roguemoko at roguewrt.org wrote:
>   
>> Hi John,
>>
>> John Whitmore wrote:
>>   
>>     
>>> Anyhow my problem is that I really want to understand this directory's 
>>> contents as with so many distributions available and so many different 
>>> repositories It would seem all too easy to mess up my current happy 
>>> position with the default Raster build. I'm not sure about doing a opkg 
>>> update, or upgrade or anything as yet.
>>>
>>> If anybody can point me to some useful information that would be great. 
>>> I tried the wiki and man opkg on the FR but that was being optimistic;-)
>>>   
>>>     
>>>       
>> I installed the raster build this morning which included all the 
>> relevant feeds for au stable. I've opkg updated and upraded with no 
>> issues, well, outside the usual glitches you find in om2008.
>>
>> All the repos provided in the image I obtained were for 
>> downloads.openmoko.org which is the currently active branch. It appears 
>> the image is only modified in so far as the scripts and configuration so 
>> as long a you don't overwrite configs, everything stays the same. That 
>> may not be true in the future but it seems to be fine now.
>>
>> Just make sure your feeds are for downloads.openmoko.org and aren't 
>> pointing to testing and you should be right.
>>
>> In the end, this is an educated guess so YMMV. No one has actually 
>> confirmed any of this since I've been listening in.
>>
>> Sarton
>>
>> _______________________________________________
>> Openmoko community mailing list
>> community at lists.openmoko.org
>> http://lists.openmoko.org/mailman/listinfo/community
>>
>>   
>>     
> Thanks for getting back to me on this. I'll maybe try what you suggest 
> but I'd like to understand that directory and it's contents. At present 
> when I did the install I'd about five files in there and apart from the 
> arch I don't know what any are supposed to do. I read a previous email 
> here on Raster's build which said:
>
>  >2. Add zecke's testing repository : create a /etc/opkg/updates.conf
>  >containing
>  >
>  >src/gz daily-all-updates
>  >http://people.openmoko.org/~zecke/om2008.8-testing/all
>  >src/gz daily-armv4t-updates
>  >http://people.openmoko.org/~zecke/om2008.8-testing/armv4t
>  >src/gz daily-neo1973-updates
>  >http://people.openmoko.org/~zecke/om2008.8-testing/neo1973
>  >src/gz daily-om-gta02-updates
>  >http://people.openmoko.org/~zecke/om2008.8-testing/om-gta02
>
>
> I moved all the other files in /etc/opkg to a backup directory and just 
> used the ones mentioned above. Unfortunately none seemed to pull in 
> anything but I'll have to check this again later as my internet 
> connection might have been off. I'll include the au stable and see what 
> that gives me.
>
> I'll try edit the wiki page with the only information I know which is 
> that the arch file should not be moved ;-)
>   

Sorry, I thought I'd explained sufficiently.

The contents of /etc/opkg should reflect your chosen branch of om2007/2008.

The arch file I believe denotes what is allowed, so you don't install 
incompatible binary files. The rest of the files merely point to a valid 
repository.

The only valid openmoko repo for om2008 is on downloads.openmoko.org. 
You are chasing your tail following the wiki. A lot of the stuff 
mentioned has been deprecated already. Apparently the zecke stuff has 
been merged into ASU and subsequent updates, so there is really only one 
place where the repos reside.

Ideally, you should not be modifying /etc/opkg at all. You simply 
install the latest feeds package which sets it all up for you to 
whatever the currrent repo/repos should be.

Hope that helps. It really is one of the least confusing parts of the 
openmoko distribution :). Any project using ipkg/opkg works in a similar 
fashion (such as openwrt).

Just a note on the raster image, you do need to manually/forcefully 
disable the Qtopia keyboard to stop the default one from randomly 
disappearing.

Sarton




More information about the community mailing list