]> git.ipfire.org Git - thirdparty/mkosi.git/commitdiff
Add package manager back to the cache manifest 3371/head
authorDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 16 Jan 2025 23:07:07 +0000 (00:07 +0100)
committerDaan De Meyer <daan.j.demeyer@gmail.com>
Thu, 16 Jan 2025 23:07:07 +0000 (00:07 +0100)
As detailed in the previous commit, it's important to cache the
package manager used in the cache manifest. If we don't, we'll end
up reusing the wrong metadata cache which won't have any metadata in
it for the new package manager.

mkosi/config.py

index 24f7dc5399087cd53a301c52b37063ec16df525c..ffbb78fe56a2606dd33d27b451e0e15449afe8be 100644 (file)
@@ -2034,6 +2034,7 @@ class Config:
             "release": self.release,
             "mirror": self.mirror,
             "architecture": self.architecture,
+            "package_manager": self.distribution.package_manager(self).executable(self),
             "packages": sorted(self.packages),
             "build_packages": sorted(self.build_packages),
             "package_directories": [