From 6a48644f08c2973b82a584e92da3a19723569c96 Mon Sep 17 00:00:00 2001 From: Ark74 Date: Thu, 14 May 2026 20:07:02 -0600 Subject: [PATCH] python-apt: add custom cmxsl repo --- .../patch_changes/000-add_cmxsl_mirror.patch | 14 ++++++++++++++ helpers/make-python-apt | 2 ++ 2 files changed, 16 insertions(+) create mode 100644 helpers/DATA/python-apt/patch_changes/000-add_cmxsl_mirror.patch diff --git a/helpers/DATA/python-apt/patch_changes/000-add_cmxsl_mirror.patch b/helpers/DATA/python-apt/patch_changes/000-add_cmxsl_mirror.patch new file mode 100644 index 00000000..4db725b9 --- /dev/null +++ b/helpers/DATA/python-apt/patch_changes/000-add_cmxsl_mirror.patch @@ -0,0 +1,14 @@ +diff --git a/data/templates/Trisquel.mirrors b/data/templates/Trisquel.mirrors +index 3d766a2..84f76f7 100644 +--- a/data/templates/Trisquel.mirrors ++++ b/data/templates/Trisquel.mirrors +@@ -20,6 +20,9 @@ http://mirrors.dotsrc.org/trisquel/ + #LOC:ES + https://ftp.caliu.cat/pub/distribucions/trisquel/packages/ + http://ftp.caliu.cat/pub/distribucions/trisquel/packages/ ++#LOC:MX ++https://mirror.cmxsl.org/trisquel/ ++http://mirror.cmxsl.org/trisquel/ + #LOC:SE + https://ftp.acc.umu.se/mirror/trisquel/packages/ + http://ftp.acc.umu.se/mirror/trisquel/packages/ diff --git a/helpers/make-python-apt b/helpers/make-python-apt index 14f628f9..dcd0a2f3 100644 --- a/helpers/make-python-apt +++ b/helpers/make-python-apt @@ -24,6 +24,7 @@ # list available on the resulting netinstall (mini.iso) image. VERSION=13 +CMXSLVER=1 COMPONENT=main #Be aware to not pull/build before publish date on T12. @@ -89,6 +90,7 @@ diff -ru source.orig/apt/progress/base.py source/apt/progress/base.py self.percent = float(percent) EOF +apply_patch_changes export DEB_BUILD_OPTIONS=nocheck changelog "Compiled for Trisquel"