Editing Opt Problem
Warning: You are not logged in.
Your IP address will be recorded in this page's edit history.
The edit can be undone.
Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision | Your text | ||
Line 1: | Line 1: | ||
= The /opt Problem = | = The /opt Problem = | ||
- | There is not enough space on | + | There is not enough space on root to fit all applications, therefore additional partition has to be used. But just how? |
- | There is a section in the Maemo 5 Developer Guide explaining the basics: | + | There is a section in the Maemo 5 Developer Guide explaining the basics: |
- | + | http://wiki.maemo.org/Documentation/Maemo_5_Developer_Guide/Packaging%2C_Deploying_and_Distributing/Installing_under_opt_and_MyDocs | |
= Current situation = | = Current situation = | ||
Line 11: | Line 11: | ||
* 32GB eMMC: /home ~2GB (ext3), /home/user/MyDocs ~29GB (vfat), swap 0.7GB | * 32GB eMMC: /home ~2GB (ext3), /home/user/MyDocs ~29GB (vfat), swap 0.7GB | ||
* symlink: /opt/ -> /home/opt/ | * symlink: /opt/ -> /home/opt/ | ||
- | * OneNAND is | + | * OneNAND is faster (hard numbers? read? write? small blobs? big blobs?) |
- | + | ||
- | + | ||
- | + | ||
* Decisions were taken in a "what shall we do about /opt?" BOF at the [[Maemo Summit 2009]]. Minutes: http://lists.maemo.org/pipermail/maemo-developers/2009-October/021289.html | * Decisions were taken in a "what shall we do about /opt?" BOF at the [[Maemo Summit 2009]]. Minutes: http://lists.maemo.org/pipermail/maemo-developers/2009-October/021289.html | ||
Line 21: | Line 18: | ||
* Firmware should be flashable. | * Firmware should be flashable. | ||
* Should not break applications. | * Should not break applications. | ||
- | * One should be able to install more | + | * One should be able to install more that 256mb worth of software. |
- | * Standards compliance, less need to make | + | * Standards compliance, less need to make uncompatible quirks. |
* A fix should be doable after shipping (before shipping, probably not?) | * A fix should be doable after shipping (before shipping, probably not?) | ||
- | = Current problems / developer and packaging issues = | + | == Current problems / developer and packaging issues == |
This should be a list of current problems developers are experiencing related to optification: | This should be a list of current problems developers are experiencing related to optification: | ||
Line 33: | Line 30: | ||
* Symlinks take up space in the rootfs. This may become an issue if there are lots of them. | * Symlinks take up space in the rootfs. This may become an issue if there are lots of them. | ||
- | * [[/Non-Optified_packages | + | * [[/Non-Optified_packages]] |
- | + | ||
- | + | ||
- | + | ||
- | ]] | + | |
= Possible solutions, even the bad ones = | = Possible solutions, even the bad ones = | ||
Line 51: | Line 44: | ||
* Python apps can make use of the [http://docs.python.org/reference/datamodel.html#index-821 __file__] module-scope variable to determine where they are installed (e.g. installdir = os.path.dirname(__file__)). | * Python apps can make use of the [http://docs.python.org/reference/datamodel.html#index-821 __file__] module-scope variable to determine where they are installed (e.g. installdir = os.path.dirname(__file__)). | ||
* Could be taken into account as an alternative to maemo-optify wherever feasible. | * Could be taken into account as an alternative to maemo-optify wherever feasible. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
==== During packaging move all files >500kb to /opt and symlink to root ==== | ==== During packaging move all files >500kb to /opt and symlink to root ==== | ||
Line 102: | Line 79: | ||
* How much faster OneNAND is? Numbers? | * How much faster OneNAND is? Numbers? | ||
* Can flasher flash on eMMC? | * Can flasher flash on eMMC? | ||
- | |||
- | |||
==== Use mount -o bind (or -o rbind) ==== | ==== Use mount -o bind (or -o rbind) ==== | ||
Line 125: | Line 100: | ||
* Maybe somebody can see something good in this? | * Maybe somebody can see something good in this? | ||
* Difficult hack.. would need all the tools etc to be visible in the chroot. | * Difficult hack.. would need all the tools etc to be visible in the chroot. | ||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
- | |||
[[Category:Development]] | [[Category:Development]] |
Learn more about Contributing to the wiki.