[maemo-developers] Howto correctly place data on the memory card?
From: Eero Tamminen eero.tamminen at nokia.comDate: Tue Jul 21 10:14:11 EEST 2009
- Previous message: [GSoC 09] - Picasa plugin for Canola - report 3
- Next message: Python-mafw overrides
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Hi, ext Till Harbaum / Lists wrote: > Am Montag 22 Juni 2009 schrieb Kimmo Hämäläinen: >> Use MMC_MOUNTPOINT and INTERNAL_MMC_MOUNTPOINT environment variables, >> available since Nokia 770 Internet Tablet. I'm not sure about >> Scratchbox, since it does not have memory card emulation. > The scratchbox doesn't have this which is perfectly fine as i'll then just fall > back to using $HOME. > > But i still have a major problem with this: It doesn't work in the > debian/postinst script when running the application installer. > > I simply added a call to "env" to my postinst script to be able to see the > environment bein used in the application installers log. See below the > log i get on my n810. It seems that the worker thread of the app manager that > deals with this has been started before the environment was complete. > So there are no MMC related entries at all which makes this useless to > install data on the memory card. > > So please let me re-phrase my question: How does a postinst script know > where the memory card is? I guess the script could get (source) the information from /etc/osso-af-init/af-defines.sh file? - Eero
- Previous message: [GSoC 09] - Picasa plugin for Canola - report 3
- Next message: Python-mafw overrides
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]