Opened 15 months ago

Last modified 5 months ago

#15145 closed bug

[Installer] should ignore cache directory — at Version 6

Reported by: diver Owned by: nobody
Priority: critical Milestone:
Component: Applications/Installer Version: R1/Development
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description (last modified by diver)

At least HaikuDepot stores a few thousands icons in cache directory. Cloning already installed haiku to another partition becomes really slow in this case.

https://xref.plausible.coop/source/xref/haiku/src/apps/installer/WorkerThread.cpp#95

Change History (6)

comment:1 by waddlesplash, 15 months ago

Resolution: fixed
Status: newclosed

Fixed in hrev53252.

comment:2 by diver, 14 months ago

This fix actually caused problems. Since cache isn't copied anymore it is not present for case when you use Installer to copy existing installation to another partition.

Then all apps that need cache folder will fail. For example HaikuDepot will complain.

To workaround it one can do this:

unmount ~/config
mkdir ~/config/cache

comment:3 by waddlesplash, 12 months ago

Resolution: fixed
Status: closedreopened

comment:4 by waddlesplash, 12 months ago

Priority: normalblocker

comment:5 by pulkomandy, 12 months ago

Why do we want to ignore it in the first place? It's not /tmp, the cache is surely meant to be somewhat persistant. If an app is storing too much data there, we should rather fix that?

Please always include a description in tickets, that would help :)

comment:6 by diver, 12 months ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.