From 080caaf29d021923201e02597c7e8b6e162288cf Mon Sep 17 00:00:00 2001 From: Ark74 Date: Mon, 29 Sep 2025 00:50:35 -0600 Subject: [PATCH] python-apt: enable cmxsl mirror at custom 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 0000000..424fa1f --- /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 b6c391e..e4b0bca 100644 +--- a/data/templates/Trisquel.mirrors ++++ b/data/templates/Trisquel.mirrors +@@ -22,6 +22,9 @@ https://quantum-mirror.hu/mirrors/pub/trisquel/packages/ + http://quantum-mirror.hu/mirrors/pub/trisquel/packages/ + #LOC:JP + https://repo.jing.rocks/trisquel/ ++#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 6970245..07169ac 100644 --- a/helpers/make-python-apt +++ b/helpers/make-python-apt @@ -25,6 +25,7 @@ # The same way as 'ubiquity' is for for the next Live Desktop ISOs. VERSION=11 +CMXSLVER=1 COMPONENT=main #Be aware to not pull/build before publish date on T12. @@ -87,6 +88,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"