choose-mirror: move base release to trixie for d-i/udeb build.

This commit is contained in:
Ark74 2025-04-24 01:41:06 -06:00
parent efa68b96ff
commit 2a7b04db8b

View file

@ -1,6 +1,6 @@
#!/bin/sh
#
# Copyright (C) 2024 Luis Guzmán <ark@switnet.org>
# Copyright (C) 2025 Luis Guzmán <ark@switnet.org>
# Copyright (C) 2009-2018 Ruben Rodriguez <ruben@gnu.org>
#
# This program is free software; you can redistribute it and/or modify
@ -19,7 +19,7 @@
#
VERSION=8
EXTERNAL='deb-src http://ftp.debian.org/debian bookworm main'
EXTERNAL='deb-src http://ftp.debian.org/debian trixie main'
REPOKEY=0E98404D386FA1D9
NETINST=true
. ./config
@ -32,6 +32,8 @@ sed -i '/oldstable/d;
/testing/d;
/unstable/d;' mirrors.h
sed -i "s|stable|$CODENAME|" mirrors.h
sed -i "s|https://salsa.debian.org.*Mirrors.masterlist.in|https://gitlab.trisquel.org/trisquel/$Mirrors_masterlist_git|" \
debian/choose-mirror-bin.templates.http-in
replace "_CODENAME_" "$CODENAME"
replace "deb.debian.org" "archive.trisquel.org" .