Thread: Clean rootfs
View Single Post
misterc's Avatar
Posts: 1,625 | Thanked: 998 times | Joined on Aug 2010
#20
here is a wiki page that 'optifies' a few packages part of Maemo core (thus, can't be optified prior to install, any more, obviously
alas
CSSU, anyone )

Free up rootfs space

YMMV...
Some instructions here may cause serious problems. When unsure, see General precautions
Backing up your data is recommended. In case of trouble you might need to re-flash your device.
here are most lines...
Code:
rm /var/lib/dpkg/*old
mv /usr/share/nokia-maps /home/opt/
ln -s /home/opt/nokia-maps /usr/share/nokia-maps
mv /usr/share/microb-engine /home/opt
ln -s /home/opt/microb-engine /usr/share/microb-engine
mv /usr/share/fonts /home/opt 
ln -s /home/opt/fonts /usr/share/fonts
mv /usr/share/locale /opt
ln -s /opt/locale /usr/share/locale
mv /usr/share/themes/ /home/opt/usr/share/themes
ln -s /home/opt/usr/share/themes /usr/share/themes
dpkg --purge tutorial-home-applet 
dpkg -l|grep ^rc
last command has been rewritten by Joseph9560 as
Code:
dpkg -l | grep ^rc | cut -d " " -f 3 | xargs dpkg --purge
nota bene: moving & relinking the theme part means you can't install any new themes unless you delete the link & move the files back to their original place...

i use those exact instructions routinely when reflashing my N900s (now mostly the test model ) and never had any problems
then again, i don't give a darn about themes