[maemo-developers] Optification breaks package on upgrade from non-optified older version

From: Matan Ziv-Av matan at svgalib.org
Date: Thu Oct 15 15:03:58 EEST 2009
On Thu, 15 Oct 2009, Attila Csipa wrote:

> On Thursday 15 October 2009 12:21:54 Thomas Perl wrote:
>> Another problem is the slower startup speed, which is really
>> noticeable now. That's another reason why I would like to go without
>> optification.
>
>> From what I heard that was also the reason why python (and Qt) are/were not
> optified, but apparently a choice will have to be made - speed or application
> space, but while speed is a 'should', application space is a 'must'. I wonder
> if some sort of optification could be done on the device itself, as in make
> it optional or a choice - this stuff I use often and I don't want it
> optified, while somehing else used rarely can be on /opt so it would not take
> up space on /. Not sure about the actual mechanism to do this, just thinking
> out loud.

Why not do something simple like leave all packages installing in the 
regular place, and running on the device something like

cp -a /usr /home/
mv /usr /usr2
ln -s /home/usr /usr
rm -rf /usr2

Every linux user who partitioned his disk wrongly has done something 
like this.

All this requires is that bootup scripts do not use files under /usr 
before /home is mounted, but that's supposed to be true anyway.


-- 
Matan.

More information about the maemo-developers mailing list