Loading
pmb.helpers.pmaports: Add must_exist to cache signature for find()
As must_exist affects the return value of this function by changing it from returning None to raising an exception, we need to include it in the cache key. Otherwise, the must_exist value effectively gets "stuck" on whatever value it was set to when the given cache key was created.
This causes weird issues, see 1 and 2. As such, include it in the cache signature to fix this.
Supersedes https://gitlab.postmarketos.org/postmarketOS/pmbootstrap/-/merge_requests/2601