Re: [OE-core] [PATCH 0/5] Remove /var/cache from volatiles directory

2013-02-05 Thread Saul Wold
On 02/04/2013 01: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.

Re: [OE-core] [PATCH 0/5] Remove /var/cache from volatiles directory

2013-02-05 Thread Laurentiu Palcu
On 02/05/2013 04:37 AM, ChenQi wrote: what about /var/log? https://bugzilla.yoctoproject.org/show_bug.cgi?id=3397 I wasn't aware this bug existed... Sorry for the inconvenience. I'm not working on moving /var/log. I had to move the /var/cache though because of the postinstall work I've been

Re: [OE-core] [PATCH 0/5] Remove /var/cache from volatiles directory

2013-02-04 Thread Mike Looijmans
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.

Re: [OE-core] [PATCH 0/5] Remove /var/cache from volatiles directory

2013-02-04 Thread Laurentiu Palcu
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

Re: [OE-core] [PATCH 0/5] Remove /var/cache from volatiles directory

2013-02-04 Thread Richard Purdie
On Mon, 2013-02-04 at 12:03 +0200, Laurentiu Palcu wrote: 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

Re: [OE-core] [PATCH 0/5] Remove /var/cache from volatiles directory

2013-02-04 Thread Phil Blundell
On Mon, 2013-02-04 at 12:03 +0200, Laurentiu Palcu wrote: 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

Re: [OE-core] [PATCH 0/5] Remove /var/cache from volatiles directory

2013-02-04 Thread Burton, Ross
On 4 February 2013 17:47, Phil Blundell p...@pbcl.net wrote: For example, an (admittedly somewhat unscientific) survey on my desktop machine suggests that fontconfig, samba and cups, at least, are creating files in /var/cache at run time with contents that you wouldn't be able to predict in

Re: [OE-core] [PATCH 0/5] Remove /var/cache from volatiles directory

2013-02-04 Thread Enrico Scholz
Burton, Ross ross.burton-ral2jqcrhueavxtiumw...@public.gmane.org writes: The fontconfig cache is perfectly capable of generation at image creation time, really? The cache files are architecture dependent and I am not aware of a cross-fc-cache tool. Enrico

Re: [OE-core] [PATCH 0/5] Remove /var/cache from volatiles directory

2013-02-04 Thread Burton, Ross
On 4 February 2013 18:25, Enrico Scholz enrico.sch...@sigma-chemnitz.de wrote: really? The cache files are architecture dependent and I am not aware of a cross-fc-cache tool. That's right, they are. Laurentiu's been working on that too:

Re: [OE-core] [PATCH 0/5] Remove /var/cache from volatiles directory

2013-02-04 Thread ChenQi
On 02/04/2013 05:26 PM, 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.