I'm attaching a diff for build-simple-cdd to not include i386 for Trixie and 
above. 
I never programmed in python, so I hope this makes any sense.
 
Still needed:
* setting DISABLE_UEFI_32=1 for Trixie and above for debian-cd
* always including tasksel in reprepro mirror (and I wonder if more is missing?)
--- build-simple-cdd	2023-02-06 06:10:35.000000000 +0100
+++ build-simple-cdd.trixie	2025-08-18 16:29:27.965369831 +0200
@@ -287,9 +287,12 @@
                                     os.path.join("dists", self.env.format("{DI_CODENAME}/main/installer-{a}/{di_release}/images/{checksum_file_type}", a=a)))
                     # For amd64 builds: debian-cd (>= 3.1.36) needs the i386 installer images,
                     # cf. https://salsa.debian.org/images-team/debian-cd/-/commit/8a8e6238.
-                    if a == "amd64" and "i386" not in self.env.get("ARCHES"):
-                        self.env.append("checksum_files",
-                                        os.path.join("dists", self.env.format("{DI_CODENAME}/main/installer-{a}/{di_release}/images/{checksum_file_type}", a="i386")))
+                    # Starting with Trixie (Debian 13), no i386 installer images exist anymore,
+                    # see https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1111023
+                    if int(self.env.get("DEBVERSION")) < 13:
+                        if a == "amd64" and "i386" not in self.env.get("ARCHES"):
+                            self.env.append("checksum_files",
+                                os.path.join("dists", self.env.format("{DI_CODENAME}/main/installer-{a}/{di_release}/images/{checksum_file_type}", a="i386")))
             # run mirroring hooks
             for tool in self.env.get("mirror_tools"):
                 self.run_tool("mirror", tool)

Attachment: signature.asc
Description: This is a digitally signed message part.



Reply via email to