Need help creating .xo file
Tomeu Vizoso
tomeu at tomeuvizoso.net
Tue May 27 02:39:37 EDT 2008
2008/5/27 shivaprasad javali <jbsp72 at gmail.com>:
> Hi ,
>
> I have a c++ app for the xo which works fine on it . Now i want to
> create a .xo package for the app so it can be installed easily on other
> xo's.
>
> For my app to work there are some .so's which have to be copied to the
> /usr/lib folder.
> I read in one of the wiki pages that the .xo package can be created by just
> zipping my entire directory structure.
>
> I want to know if there is some script which is implicitly run when you
> unzip the .xo so that i can add instructions in my script to copy the files.
>
> If there isnt any such script could please tell me how to copy my files
> to /usr/lib?
Hi,
activities run for security reasons in a restricted environment, see
http://wiki.laptop.org/go/Bitfrost . This means that your activity
won't be able to write to /usr/lib.
But if you just want to link to code at runtime, just ship the .so
inside your activity. See for an example the Colors! activity:
http://wiki.laptop.org/go/Colors%21 .
Hope that helps,
Tomeu
More information about the Devel
mailing list