#10636 NORM 13.1.0: Don't delete ~/.i18n on first boot

Zarro Boogs per Child bugtracker at laptop.org
Wed Sep 12 15:12:25 EDT 2012

#10636: Don't delete ~/.i18n on first boot
           Reporter:  jvonau      |       Owner:                                         
               Type:  defect      |      Status:  new                                    
           Priority:  normal      |   Milestone:  13.1.0                                 
          Component:  olpc-utils  |     Version:  1.5/1.0 Software Build os860 aka 10.1.3
         Resolution:              |    Keywords:  dsd-11.3.0?                            
        Next_action:  package     |    Verified:  0                                      
Deployment_affected:              |   Blockedby:                                         
           Blocking:              |  
Changes (by dsd):

  * next_action:  never set => package
  * milestone:  Future Release => 13.1.0


 This actually demonstrates a bigger issue: on upgrades, /home/olpc/.i18n
 will be clobbered, but this is where Sugar stores user preferences (as set
 in the language control panel).

 So the next olpc-utils release will be set not to modify this file (pushed
 as ef4c075f3d4a8237473bc761f6fb4b1767b563fd). If the format changes in
 future, we will have to handle migration. (I looked back in the history
 and couldn't find any evidence of format or content being changed on

 Test case:
  1. Change language (or add more languages) in sugar control panel
  2. cat /home/olpc/.i18n - mentally note the contents
  3. rm /home/olpc/.olpc-configured && reboot (simulates an upgrade)
  4. cat /home/olpc/.i18n - contents will have changed in the upgrade
 process, but they shouldn't have. Can also be verified by going into the
 Sugar control panel.

 Also see #6889 where the build config will have a simple way to configure
 default language (overriding the manufacturing data), a little more future
 proof than seeding .i18n directly.

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

More information about the Bugs mailing list