#9533 NORM 1.5-F11: Activity updater does not look for F11-specific bundles

Zarro Boogs per Child bugtracker at laptop.org
Wed Oct 21 13:52:07 EDT 2009


#9533: Activity updater does not look for F11-specific bundles
--------------------+-------------------------------------------------------
 Reporter:  bert    |                 Owner:  marco        
     Type:  defect  |                Status:  new          
 Priority:  normal  |             Milestone:  1.5-F11      
Component:  sugar   |               Version:  not specified
 Keywords:          |           Next_action:  never set    
 Verified:  0       |   Deployment_affected:               
Blockedby:          |              Blocking:               
--------------------+-------------------------------------------------------
 The activity updater looks for /boot/olpc_build and /etc/olpc-release to
 determine the OS build and version. Both are not provided by os32, so only
 a single URL is tried:

 {{{
 $ python -c 'from bitfrost.update import actinfo; print
 actinfo.url_variants("http://host/net")'

 ['http://host/net']
 }}}

 We need to either patch the activity updater (bitfrost/update/actinfo.py)
 or provide the files it looks for. The latter is simpler:
 {{{
 $ su -c 'echo 11.0.0 > /etc/olpc-release'
 }}}
 To test:
 {{{
 $ python -c 'from bitfrost.update import actinfo; print
 actinfo.url_variants("http://host/net")'

 ['http://host/net/11.0.0', 'http://host/net/11.0', 'http://host/net']
 }}}

-- 
Ticket URL: <http://dev.laptop.org/ticket/9533>
One Laptop Per Child <http://laptop.org/>
OLPC bug tracking system


More information about the Bugs mailing list