testing 8.2 using qemu

Marco Pesenti Gritti mpgritti at gmail.com
Thu Sep 18 18:05:25 EDT 2008


On Thu, Sep 18, 2008 at 11:54 PM, Michael Stone <michael at laptop.org> wrote:
> On Thu, Sep 18, 2008 at 05:13:35PM -0300, Gabriel Eirea wrote:
>>Second issue: a very simple question, what does
>>$SUGAR_ACTIVITY_ROOT/data mean? and how can I put the configuration
>>files there when I pack the bundle?
>
> $SUGAR_ACTIVITY_ROOT means 'the value of the environment variable named
> "SUGAR_ACTIVITY_ROOT"'. The concatenated '/data' part means "append the
> string '/data' to the previous string." In python, you could perform
> this operation as follows:
>
>   import os
>   print os.path.join(os.environ['SUGAR_ACTIVITY_ROOT'], 'data')
>
> I believe that sugar's 'env' module provides some helper functions for
> accomplishing this task.

There is some information here:

http://wiki.laptop.org/go/Low-level_Activity_API#Security

Marco



More information about the Devel mailing list