]> git.ipfire.org Git - thirdparty/mkosi.git/commit
Remove mirror from default package cache directory cache key again
authorDaanDeMeyer <daan.j.demeyer@gmail.com>
Sat, 5 Jul 2025 22:19:19 +0000 (00:19 +0200)
committerDaanDeMeyer <daan.j.demeyer@gmail.com>
Fri, 22 Aug 2025 19:54:52 +0000 (21:54 +0200)
commit9c7c0af8027e877b9a18d74c60abef3ddcb905a9
treebec488c830fe43e2ffe7f6dcdaf61dffc1091b25
parentababf64676487ab18ba6c868d08ec94075ad5c52
Remove mirror from default package cache directory cache key again

We added this initially to deal with pacman not having the mirror
in its cache key of repository metadata. The downside of this approach
is that we cannot cache packages across different mirrors. As an
aternative, let's simply not cache repository metadata for pacman in
the package cache directory.

While we're at it, remove the hack we did for zypper to ensure it had
the mirror in its cache key and also don't store its repository metadata
in the package cache directory. The reasoning here is while we can make
sure our own generated repository ids have the hashed mirror in them, we
cannot do so for any repositories added by users, which might end up causing
conflicts.
mkosi/__init__.py
mkosi/config.py
mkosi/installer/zypper.py