harrysarson commented on PR #2012:
URL: https://github.com/apache/buildstream/pull/2012#issuecomment-2901440734

   >     * It seems to me that we would have this overlap problem even if it 
was a build element and not a compose element, so the question of _why are 
these files overlapping_ is relevant
   >       
   >       * Does it make more sense for the overlapping element to use the 
[overlap 
whitelist](https://docs.buildstream.build/master/format_public.html#overlap-whitelist)
 ?
   
   There are two elements that provide the same file, one from FDSDK (so I 
cannot edit it) and one in my project (so I can edit it). If I add overlap 
whitelist to my element that would allow the version of the file from my 
element to replace the one from FDSDK. However, I want to do the oposite. I 
want the version of the file from my element to _be replaced by_ the one from 
FDSDK.
   
   ---
   
   For context my work around is to add the following to the element in my 
project:
   
   ```
   
   config:
     (>):
     # This file causes overlapping issues with trace from perf.bst
     - |
       rm %{install-root}/usr/bin/trace
   ```
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to