OESF Portables Forum
Everything Else => Sharp Zaurus => Model Specific Forums => Distros, Development, and Model Specific Forums => Archived Forums => C1000/3x00 General discussions => Topic started by: iamasmith on April 04, 2005, 04:22:07 pm
-
Hi,
I'm now into application testing on the SL-C3000 ROM and have the following observation to offer.
Applications for a Sharp rom should install eveything into /opt/QtPalmtop, however, many don't and some create new areas under /home, like apache.
This offers a challenge to providing a seamless install on the SL-C3000 since /home lives in the limited user space of flash and it is often necessary to precreate directories elsewhere and create symbolic links from /home to these directories in order to ensure enough space to install.
Other problem areas could be too much data in the home directory - since /home/zaurus lives in flash too then there is quite a potential for this.
Generally moving the install path or symlinking to some area on /hdd2 or /hdd3 works quite well but I think it may be useful to create a 'pre-install' script that can be run to ensure application compatibility prior to installs.
Finally for applications targetting the clamshell environment there is the possibility of that application using an ATI W100 function that is not available to the SL-C3000/1000. We can't do much about that other than suggesting or embarking upon a rebuild.
I'll start the list...
mplayer-w100 - ATI dependent, use mplayer-bvdd or mplayer-noiwmmx.
kino2 - depends upon mplayer-w100, install from the command line and use ipkg -force-depends to avoid issue.
apache-php from the Cacko feed - installs to /home/www and is too big to fit in flash, needs some symlinks to make the install work... working on this at present.
BTW: Please list an absolute URL to the ipk if possible... all the above are on the Cacko feed so for example apache-php would be...
http://cacko.biz/cacko/feed/apache-1.3.27-...2.3_0.2_arm.ipk (http://cacko.biz/cacko/feed/apache-1.3.27-php-4.2.3_0.2_arm.ipk)
- Andy
-
Oi. That makes my brain hurt. 400mb of EXT3 filespace and they decide to mount /home in a 5mb flash partition.
So much for a Z where you're not always writing to flash Not only do they have ./zaurus/settings in there, but ./var/lock as well. Why would you put lock files on the flash filesystem? Do the EXT3 partitions get mounted really late? Can we at least symlink zaurus out of there?
I can definitely see this being a problem - for example:
http://www.caulfei.demon.co.uk/zaurus/down...22.32-2_arm.ipk (http://www.caulfei.demon.co.uk/zaurus/downloads/mysql_3.22.32-2_arm.ipk)
is the mysql package that I used with apache for doing PHP. It creates a couple of entries in /etc (/home/etc), and the actual database files get created in /var/lib/mysql (/home/system/var/lib/*). Definitely no good on the 3000.
I'll abuse the cacko feed tonight and start looking for violators tomorrow.
-
I haven't had much time to look around yet. A second offender for /home stuff is the infamous Kx/Pi programs - the data directory defaults to /home/zaurus/kdepim.
The /home issue might be a losing battle. Using the home directory for storing things is such an ingrained response for linux developers that most third party developers and software porters are going to use it.