On 3/30/20 5:09 PM, Zebediah Figura wrote:
On 3/30/20 7:24 AM, Rémi Bernon wrote:
Updating the prefix with overlays enabled creates all sort of yet unsolved problems, and will update the upper dir, defeating the purpose of using overlays.
Presumably you only want to skip the parts that write files here, though. Otherwise the registry won't get updated.
I started changing setupapi to avoid unnecessary dll updates, but then there's the nls files that gets written, and possibly other things.
There's then the problem of reconciling multiple layers with conflicting registry updates, it's not just a question of filesystem state. It was simpler for a PoC to just avoid these issues and say that prefix updates are disabled when overlays are used.
I think it can still be a valid use case if the wine version is fixed and several applications want to share the same base layer and avoid duplication.