chore: follow-ups to #406, #407 and #415 — locale cleanup, journal entry, pigz 1.1 and docs

This commit is contained in:
MacRimi
2026-10-01 23:06:49 +02:00
parent b7e053b88a
commit 96f3d82e15
29 changed files with 254 additions and 130 deletions
+8
View File
@@ -33,6 +33,14 @@ ensure_repositories() {
decision=$(repository_policy apply "$suite") || return 1
[[ "$decision" == changed || "$decision" == preserve ]] || return 1
if [[ "$decision" == changed ]]; then
# The switch goes through the Proxmox API; leave it in the changes journal.
if declare -F pmx_record_execution >/dev/null; then
local journal_function="${PMX_JOURNAL_FUNCTION:-}" journal_version="${PMX_JOURNAL_VERSION:-}"
pmx_journal_context "ensure_repositories" "" "${PMX_JOURNAL_SOURCE:-}"
pmx_record_execution "Switch to the PVE no-subscription repository" \
"pvesh set /nodes/localhost/apt/repositories --handle no-subscription"
PMX_JOURNAL_FUNCTION="$journal_function" PMX_JOURNAL_VERSION="$journal_version"
fi
# Direct callers may install immediately; refresh their package indexes
# before returning. Preserve paths must not trigger an extra refresh.
if apt-get update; then