[pacman-dev] [PATCH] libalpm: look for up to date file anywhere in cache

Allan McRae allan at archlinux.org
Thu Jun 24 21:39:26 UTC 2021


On 25/6/21 6:04 am, Eli Schwartz wrote:
> On 6/24/21 9:42 AM, Allan McRae wrote:
>> Either, the .sig file needs downloaded into the secondary cache
>> directory alongside the package, or the package directly copied into
>> first cache directory.
> 
> 
> Hmm, is there any reason we need them to be in the same directory,
> rather than reading the package from one cachedir and the sig data from
> another?
> 

Technically, there is nothing stopping that.  You would just need to
remove the assumption that the signature file is stored alongside the
package file throughout the database.  And that does seem a reasonable
assumption to keep...

Allan


More information about the pacman-dev mailing list