On 02/04/2013 11:46 AM, Mike Looijmans wrote: > On 02/04/2013 10:26 AM, Laurentiu Palcu wrote: >> > Hi, >> > >> > Re-generating applications' cache every time the system is rebooted is not >> > a >> > very efficient process for an embedded device. Usually, the cache >> > directory is >> > used by applications to store data resulting from time consmuming I/O or >> > calculation. So, this patchset will take out /var/cache from tmpfs. > What if you have a READONLY rootfs? This patch will "break" those > devices I think. > >
Not necessarily. We are trying to have all postinstalls run on host, so we don't have to do any postinstall activity on target. Any cache generated during postinstall, will be generated at do_rootfs time. Then, we can deploy the image with the cache already in place. Also, on a RO rootfs, there is really no need to update the cache since the cached files do not really change. Hence, the cache created on host should, in theory, be valid. If the above logic is missing anything, feel free to correct me. Thanks, Laurentiu _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-core