[PATCH] Linux packages: specified priority for Amazon Linux

Konstantin Pavlov thresh at nginx.com
Mon Mar 27 23:27:14 UTC 2023


# HG changeset patch
# User Konstantin Pavlov <thresh at nginx.com>
# Date 1679959544 25200
#      Mon Mar 27 16:25:44 2023 -0700
# Node ID 9741a500247ec50eaf5a4043a270fc097e0345c1
# Parent  23d3cabaab95fb09ea40f113759f4eaed99ec9d7
Linux packages: specified priority for Amazon Linux.

This makes nginx.org repositories preferred when installing nginx packages.
Currently, both Amazon Linux 2 and 2023 repositories have a priority of 10, so
any number lower than that makes our packages preferred.

diff -r 23d3cabaab95 -r 9741a500247e xml/en/linux_packages.xml
--- a/xml/en/linux_packages.xml	Mon Mar 20 11:20:57 2023 -0700
+++ b/xml/en/linux_packages.xml	Mon Mar 27 16:25:44 2023 -0700
@@ -7,7 +7,7 @@
 <article name="nginx: Linux packages"
          link="/en/linux_packages.html"
          lang="en"
-         rev="83">
+         rev="84">
 
 <section name="Supported distributions and versions" id="distributions">
 
@@ -548,6 +548,7 @@ gpgcheck=1
 enabled=1
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 
 [nginx-mainline]
 name=nginx mainline repo
@@ -556,6 +557,7 @@ gpgcheck=1
 enabled=0
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 </programlisting>
 
 To set up the yum repository for Amazon Linux 2023, create the file named
@@ -570,6 +572,7 @@ gpgcheck=1
 enabled=1
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 
 [nginx-mainline]
 name=nginx mainline repo
@@ -578,6 +581,7 @@ gpgcheck=1
 enabled=0
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 </programlisting>
 
 By default, the repository for stable nginx packages is used.
diff -r 23d3cabaab95 -r 9741a500247e xml/ru/linux_packages.xml
--- a/xml/ru/linux_packages.xml	Mon Mar 20 11:20:57 2023 -0700
+++ b/xml/ru/linux_packages.xml	Mon Mar 27 16:25:44 2023 -0700
@@ -7,7 +7,7 @@
 <article name="nginx: пакеты для Linux"
          link="/ru/linux_packages.html"
          lang="ru"
-         rev="83">
+         rev="84">
 
 <section name="Поддерживаемые дистрибутивы и версии" id="distributions">
 
@@ -545,6 +545,7 @@ gpgcheck=1
 enabled=1
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 
 [nginx-mainline]
 name=nginx mainline repo
@@ -553,6 +554,7 @@ gpgcheck=1
 enabled=0
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 </programlisting>
 
 Для подключения yum-репозитория для Amazon Linux 2023 создайте файл с именем
@@ -567,6 +569,7 @@ gpgcheck=1
 enabled=1
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 
 [nginx-mainline]
 name=nginx mainline repo
@@ -575,6 +578,7 @@ gpgcheck=1
 enabled=0
 gpgkey=https://nginx.org/keys/nginx_signing.key
 module_hotfixes=true
+priority=9
 </programlisting>
 
 По умолчанию используется репозиторий для стабильной версии nginx.


More information about the nginx-devel mailing list