From 895a46e903217d817d567bdc19296440af57db09 Mon Sep 17 00:00:00 2001 From: "Arnaud G. GIBERT" Date: Fri, 30 Oct 2026 13:46:21 +0100 Subject: [PATCH] - URPMI-Setup: - Now install Rx3 CA certificate. --- ReadMe.txt | 6 +++--- ReleaseNotes.txt | 11 ++++++++++- SPECS/rx3-base.spec | 5 ++++- sbin/urpmi-setup | 7 ++++++- 4 files changed, 23 insertions(+), 6 deletions(-) diff --git a/ReadMe.txt b/ReadMe.txt index 9f8c439..ca8353c 100644 --- a/ReadMe.txt +++ b/ReadMe.txt @@ -3,9 +3,9 @@ Welcome to Rx3 Base 1.2.x ! This is the base component of an Rx3 system: - - Default config files, - - Base bash libraries, - - Default tools. + - Default config file (rx3.sh), + - Base bash library, + - Default tools (isl & urpmi-setup). diff --git a/ReleaseNotes.txt b/ReleaseNotes.txt index 1310c74..85b17e6 100644 --- a/ReleaseNotes.txt +++ b/ReleaseNotes.txt @@ -1,3 +1,12 @@ +------------------------------------------------------------------------------------------------------------------------------------ +Rx3-Base V 1.2.1 - A. GIBERT - 2026/10/30 +------------------------------------------------------------------------------------------------------------------------------------ + +- URPMI-Setup: + - Now install Rx3 CA certificate. + + + ------------------------------------------------------------------------------------------------------------------------------------ Rx3-Base V 1.2.0 - A. GIBERT - 2026/09/13 ------------------------------------------------------------------------------------------------------------------------------------ @@ -6,7 +15,7 @@ Rx3-Base V 1.2.0 - A. GIBERT - 2026/09/13 - Implement VSL (Version Stack Log), - ISL: - Add VSL support, -- URPMI-Setup +- URPMI-Setup: - Add VSL support. diff --git a/SPECS/rx3-base.spec b/SPECS/rx3-base.spec index c6caccb..9095323 100644 --- a/SPECS/rx3-base.spec +++ b/SPECS/rx3-base.spec @@ -25,7 +25,7 @@ %define name rx3-base -%define version 1.2.0 +%define version 1.2.1 %define release %mkrel 1rx3 @@ -178,6 +178,9 @@ cp sbin/* %{buildroot}%{_sbindir} #----------------------------------------------------------------------------------------------------------------------------------- %changelog +* Fri Oct 30 2026 Arnaud G. GIBERT - 1.2.1-1rx3.mga9 +- Update to 1.2.1 + * Sun Sep 13 2026 Arnaud G. GIBERT - 1.2.0-1rx3.mga9 - Update to 1.2.0 diff --git a/sbin/urpmi-setup b/sbin/urpmi-setup index b8e6046..2e8d5b2 100755 --- a/sbin/urpmi-setup +++ b/sbin/urpmi-setup @@ -39,7 +39,7 @@ # Global Variables #----------------------------------------------------------------------------------------------------------------------------------- -declare -g VERSION="1.2.0" +declare -g VERSION="1.2.1" declare -g NAME="URPMI-Setup" declare -g HELP="usage: urpmi-setup [ [-d | --distrib ] [-m | --mirror-mga ] [-r | --mirror-rx3 ] ] | [-h | --help] | [-V | --version] [ [ -D | --dump] | [-T | --test] ] [-u | --update] [-v | --verbose] ) ]" @@ -52,6 +52,8 @@ declare -g MIRRORLIST_MGA="" declare -g MIRRORLIST_RX3="" declare -g UPDATE="FALSE" +declare -g RX3_CA_URL="http://www.rx3/rx3_root_ca.crt" + @@ -190,6 +192,9 @@ esac echo_error "${NAME}: Mode: [${MODE}] Verbose: [${VERBOSE}] Dump: [${DUMP}] Dry_Run: [${DRY_RUN}] Distrib: [${DISTRIB}] MirrorList_MGA: [${MIRRORLIST_MGA}] MirrorList_RX3: [${MIRRORLIST_RX3}] Update: [${UPDATE}]" +cmd_exec curl ${RX3_CA_URL} >/etc/pki/ca-trust/source/anchors/rx3_root_ca.crt +cmd_exec update-ca-trust extract + cmd_exec urpmi.removemedia -a cmd_exec rm -f /var/cache/urpmi/mirrors.cache cmd_exec urpmi.addmedia --distrib --mirrorlist "${MIRRORLIST_MGA}"