<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html><head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8">
    <meta name="generator" content="Osso Notes">
    <title></title></head>
<body>
<p>Hi,
<br/><u><font color="#0000ff"></font></u>
<br/><u><font color="#0000ff">Using /opt: Why, How &amp; For How Long?</font></u>
<br/><u><font color="#0000ff"></font></u>
<br/><b>What are the issues?</b>
<br/><b></b>
<br/>• Standards.
<br/>◦ What about introducing a new 'mobile' Linux standard.
<br/>• Repackaging.
<br/>• Differences in flash performance.
<br/>
<br/><b>How to use /opt correctly:</b>
<br/><b></b>
<br/>• Every Linux system has /opt, and using it has been a long-time debate.
<br/>• Directly from upstream.
<br/>• /opt must be made seamless for developers.
<br/>• How to deal with hard-coded paths?
<br/>• Is /opt a temporary "fix"?
<br/>◦ Are there any other long-term solutions?
<br/>∙ What is Nokia's choice?
<br/>∙ What about using fast flash for swap and apps on slow?
<br/>• Some packages should not get better flash.
<br/>• Whatever the solution, using it should not be decided by the developer.
<br/>
<br/><b>How to get space for your package:</b>
<br/><b></b>
<br/>• /opt should be a short-term solution.
<br/>• Issues
<br/>◦ /opt survives reflash (same with /home).
<br/>◦ Heuristic <i>is</i>&#32;heuristic.
<br/>◦ Symlinks are necessary.
<br/>• Ideas
<br/>◦ <i>Magic</i>&#32;should be on the device.
<br/>◦ <b><i>Magic</i>&#32;should not be contained in Debian rules.</b>
<br/>◦ <b>Call <i>Magic</i>&#32;in build-bot after Debian rules.</b>
<br/>∙ Optionally.
<br/>• First option, but later <i>opt_out</i>.
<br/>◦ <b>Must introduce efficient maintenance of the <i>Magic</i>.</b>
<br/>◦ Call <i>Magic</i>&#32;in dpkg for build package?
<br/>◦ Call <i>Magic</i>&#32;in maemo-build package?
<br/>◦ Profiling.
<br/>• Next SSU <i>must</i>&#32;clean entire /opt directory.
<br/>◦ Fix dpkg, if needed.
<br/>◦ Hook for <i>Magic</i>&#32;from Extras?
<br/>∙ Idea might not be entirely embraced by some people at Nokia.
<br/>• Clear documentation is necessary.
<br/>◦ On maemo.org wiki?
<br/>
<br/>Tim
<br/>
<br/>--
<br/><a href="http://samoff.com">http://samoff.com</a><br/></p>
</body>
</html>