[GIT] Evergreen ILS branch rel_3_15 updated. 8ffd82f2bbf845300e524376a6fa632d444f6d7d

This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "Evergreen ILS". The branch, rel_3_15 has been updated via 8ffd82f2bbf845300e524376a6fa632d444f6d7d (commit) from 366d53457da8218fc95805c82767a292a3673b8b (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 8ffd82f2bbf845300e524376a6fa632d444f6d7d Author: Jason Boyer <> Date: Mon Feb 3 15:29:17 2025 -0500 LP2097308: Use PostgreSQL apt archive when necessary Debian Buster has been moved to PostgreSQL's apt archive and removed from the primary repo. This will break fresh installs as the pgdg repo can't be added correctly. This patch will allow buster installations to work again and can be used as a template when other Debian PostgreSQL packages are archived before we stop supporting them. Signed-off-by: Jason Boyer <JBoyer@equinoxOLI.org> Signed-off-by: Chris Sharp <csharp@georgialibraries.org> diff --git a/Open-ILS/src/extras/install/Makefile.debian b/Open-ILS/src/extras/install/Makefile.debian index 9f3223b788..2aeb5cc18b 100644 --- a/Open-ILS/src/extras/install/Makefile.debian +++ b/Open-ILS/src/extras/install/Makefile.debian @@ -33,11 +33,17 @@ debian_sys_config: # Adding this for installing versions from PostgreSQL community apt source debian_postgresql_repo: - if test -z "$$(grep -R apt.postgresql.org /etc/apt/)" ; then \ + if test -z "$$(grep -R postgresql.org /etc/apt/)" ; then \ mkdir -p --mode 0755 /etc/apt/keyrings ; \ - echo "deb [signed-by=/etc/apt/keyrings/pgdg.asc] http://apt.postgresql.org/pub/repos/apt/ $(RELEASE_CODENAME)-pgdg main" \ - > /etc/apt/sources.list.d/pgdg.list; \ wget --quiet -O /etc/apt/keyrings/pgdg.asc https://www.postgresql.org/media/keys/ACCC4CF8.asc ; \ + if test "$(RELEASE_CODENAME)" = "buster" ; then \ + $(APT_TOOL) install apt-transport-https ; \ + echo "deb [signed-by=/etc/apt/trusted.gpg.d/pgdg.asc] https://apt-archive.postgresql.org/pub/repos/apt/ $(RELEASE_CODENAME)-pgdg main" \ + > /etc/apt/sources.list.d/pgdg.list; \ + else \ + echo "deb [signed-by=/etc/apt/keyrings/pgdg.asc] http://apt.postgresql.org/pub/repos/apt/ $(RELEASE_CODENAME)-pgdg main" \ + > /etc/apt/sources.list.d/pgdg.list; \ + fi ; \ $(APT_TOOL) update ; \ fi ----------------------------------------------------------------------- Summary of changes: Open-ILS/src/extras/install/Makefile.debian | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) hooks/post-receive -- Evergreen ILS
participants (1)
-
Git User