commit: a90183e93efdbfab39c850285e25a443e1eb0bb0
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
AuthorDate: Tue Jan 6 11:32:10 2026 +0000
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org>
CommitDate: Tue Jan 6 12:18:42 2026 +0000
URL: https://gitweb.gentoo.org/proj/catalyst.git/commit/?id=a90183e9
Revert "Only generate contents file when not renaming the output"
This reverts commit 9204a85aa79b5dec8dbed5a50e9c7774f7c43d90.
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org>
catalyst/base/stagebase.py | 5 +----
1 file changed, 1 insertion(+), 4 deletions(-)
diff --git a/catalyst/base/stagebase.py b/catalyst/base/stagebase.py
index 80668f65..f290da92 100644
--- a/catalyst/base/stagebase.py
+++ b/catalyst/base/stagebase.py
@@ -1490,11 +1490,8 @@ class StageBase(TargetBase, ClearBase, GenBase):
log.notice("Renaming %s to %s", target_filename,
target_renameto)
os.rename(target_filename, target_renameto)
target_filename = target_renameto
- else:
- # we can only do this when *not* renaming, since the renaming
- # might change the file extension and confuse the compression
logic
- self.gen_contents_file(target_filename)
+ self.gen_contents_file(target_filename)
self.gen_digest_file(target_filename)
self.resume.enable("capture")
else: