On Tue, Nov 10, 2009 at 16:33, Anderson Lizardo <anderson.liza...@openbossa.org> wrote: > > Nice to hear that! We decided to leave out the optification for the > final release, just not to delay it even more. But now I believe we > can work on it as an update through extras-devel (I just hope that > that QA process will take any possible regressions with the new > packages we upload).
Agreed. > Do you think it can be made a generic dh_* like tool that handles this > automatically? This way it could be called from debian/rules as e.g.: > > maemo-python-optify /usr/lib/python2.5 > > and the init scripts be generated automatically. What do you think? Could do. After a discussion on #maemo, it seems something might have to go in /etc/event.d and I tricked myself into thinking the mount happened at boot. > Did you do any kind of upgrade tests? I'm worried how that would work > if you are upgrading from an older non-optitified python installation. This should work as we're not replacing anything with a symlink (the big problem with upgrading an existing install). > I also suppose that this implicitly moves files from other packages to > /opt/python2.5 ? E.g. from python-hildon, python-gtk2 etc. ? There are two things we probably have to do: 1) Install /opt/python2.5/lib/... using dpkg. 2) Move anything left in /usr/lib/python2.5/ manually after install. Future installs of something like python-hildon will be into the bind mount, and so go to the right place automatically. maemo-optify will be updated to not touch anything which depends on Python if we do this, so Python libraries will continue to install into /usr/lib/python2.5/site-packages. It's just that this will now be on the eMMC. > What about the /usr/bin/python2.5 binary (which takes some MB) did you > move it to /opt too? No, I didn't try that. Do you think a symlink should work for that? Cheers, Andrew -- Andrew Flegg -- mailto:and...@bleb.org | http://www.bleb.org/ _______________________________________________ maemo-developers mailing list maemo-developers@maemo.org https://lists.maemo.org/mailman/listinfo/maemo-developers