From: Daan De Meyer Date: Sat, 2 Nov 2024 19:39:53 +0000 (+0100) Subject: Drop tools tree from cache manifest X-Git-Tag: v25~188^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=124a6746a30fbd0142e15893951e488e3c7d07fa;p=thirdparty%2Fmkosi.git Drop tools tree from cache manifest The existing check is too primitive and actually causes issues when using the new mkosi sandbox verb we'll add in the next commit so let's drop it. --- diff --git a/mkosi/config.py b/mkosi/config.py index 68f7bfa32..7788b309e 100644 --- a/mkosi/config.py +++ b/mkosi/config.py @@ -1945,12 +1945,6 @@ class Config: "prepare_scripts": sorted( base64.b64encode(script.read_bytes()).decode() for script in self.prepare_scripts ), - # Statting the root directory of the tools tree isn't fool proof but should be good enough. - "tools_tree": ( - [self.tools_tree, self.tools_tree.stat().st_mtime_ns] - if self.tools_tree and self.tools_tree.exists() - else [] - ), } def to_dict(self) -> dict[str, Any]: