#10582 NORM Not Tri: olpc-update on XO-1 does not set series to G1G1Lite

Zarro Boogs per Child bugtracker at laptop.org
Wed Dec 29 17:11:37 EST 2010


#10582: olpc-update on XO-1 does not set series to G1G1Lite
------------------------------------+---------------------------------------
           Reporter:  greenfeld     |       Owner:                                   
               Type:  enhancement   |      Status:  new                              
           Priority:  normal        |   Milestone:  Not Triaged                      
          Component:  not assigned  |     Version:  Development build as of this date
         Resolution:                |    Keywords:                                   
        Next_action:  diagnose      |    Verified:  0                                
Deployment_affected:                |   Blockedby:                                   
           Blocking:                |  
------------------------------------+---------------------------------------

Comment(by martin.langhoff):

 A bit of diagnostics...

  * gg-802-1.img (which many deployments of all sizes used) shipped with a
 file /home/olpc/Activities/.groups containing the URL
 http://wiki.laptop.org/go/Activities/G1G1 . Note that this is outside of
 the /versions/pristine dir, so not controlled by olpc-update .
  * gg-8020-1 installs with this file will query the URLs of the following
 list, in order, stopping at the first successful response:
  ** http://wiki.laptop.org/go/Activities/G1G1/8.2.1 -
  ** http://wiki.laptop.org/go/Activities/G1G1/8.2
  ** http://wiki.laptop.org/go/Activities/G1G1/8
  ** http://wiki.laptop.org/go/Activities/G1G1 (the base URL)
  * On "clean" 10.1.3 installs, the updater looks at the URL defined in
 /etc/olpc-update/actuvity-groups --
 http://wiki.laptop.org/go/Activities/G1G1Lite (on XO-1). It actually tries
 10.1.3, 10.1, 10 suffixes before hitting the base URL.
  * On upgraded 10.1.x installs, it will also look at
 http://wiki.laptop.org/go/Activities/G1G1 (with 10.1.3, 10.1, 10 suffixes)
 from the ~/Activities/.groups file. This currently resolves to
 http://wiki.laptop.org/go/Activities/G1G1/10.1.3

 In all cases, it tries the "version" suffixes to each base URL, and it
 picks the first (most specific) URL that responds. Then it merges the
 results with the other successful URLs (one per each base URL).

 Plan

  * Fix the URL in /etc/olpc-update/activity-groups as per #10583
  * During olpc-configure, nuke ~/Activities/.groups if it's unchanged from
 the shipped gg-802-1 file. This clears the slate for future releases and
 updates -- the units are G1G1Lite from an "activity" PoV, and now they
 obey /etc/olpc-update/activity-groups which can be easily controlled in
 olpc-os-builder configuration.

 Local deployments that have prepared a custom 8.2.x OS image, and have set
 ~/.groups will need a similar hack to remove it in favour of /etc/olpc-
 update/activity-groups

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


More information about the Bugs mailing list