mirror of
https://github.com/netdata/netdata.git
synced 2025-04-02 20:48:06 +00:00
Add repository priority configuration for DEB package repositories. (#19705)
* Add repository priority configuration for DEB package repositories. * Fix quoting.
This commit is contained in:
parent
08ae765c7c
commit
bf340f9644
4 changed files with 22 additions and 1 deletions
packaging/repoconfig
|
@ -10,7 +10,7 @@ list(APPEND DEB_DISTROS debian ubuntu)
|
|||
set(DEB_GPG_KEY_SOURCE "https://repo.netdata.cloud/netdatabot.gpg.key")
|
||||
|
||||
set(PACKAGE_VERSION 4)
|
||||
set(PACKAGE_RELEASE 1)
|
||||
set(PACKAGE_RELEASE 2)
|
||||
|
||||
set(CPACK_THREADS 0)
|
||||
set(CPACK_STRIP_FILES NO)
|
||||
|
@ -149,6 +149,16 @@ if(${DISTRO} IN_LIST DEB_DISTROS)
|
|||
COMMENT "Dearmor ${CMAKE_BINARY_DIR}/netdatabot.gpg.key"
|
||||
DEPENDS ${CMAKE_BINARY_DIR}/netdata.gpg)
|
||||
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/netdata-deb-repo-priority
|
||||
DESTINATION etc/apt/preferences.d
|
||||
RENAME 80netdata
|
||||
COMPONENT netdata-repo)
|
||||
|
||||
install(FILES ${CMAKE_SOURCE_DIR}/netdata-deb-repo-priority
|
||||
DESTINATION etc/apt/preferences.d
|
||||
RENAME 80netdata
|
||||
COMPONENT netdata-repo-edge)
|
||||
|
||||
install(FILES ${CMAKE_BINARY_DIR}/netdata.gpg
|
||||
DESTINATION usr/share/keyrings
|
||||
RENAME netdata-archive-keyring.gpg
|
||||
|
|
|
@ -1,3 +1,9 @@
|
|||
@PKG_NAME@ (4-2) unstable; urgency=medium
|
||||
|
||||
* Add priority configuration for repositories
|
||||
|
||||
-- Austin Hemmelgarn <austin@netdata.cloud> Mon, 24 Feb 2025 09:42:00 -0500
|
||||
|
||||
@PKG_NAME@ (4-1) unstable; urgency=medium
|
||||
|
||||
* Update repositories to new subdomain
|
||||
|
|
3
packaging/repoconfig/netdata-deb-repo-priority
Normal file
3
packaging/repoconfig/netdata-deb-repo-priority
Normal file
|
@ -0,0 +1,3 @@
|
|||
Package: *
|
||||
Pin: origin "repository.netdata.cloud"
|
||||
Priority: 1000
|
|
@ -1,3 +1,5 @@
|
|||
* Mon Feb 24 2025 Austin Hemmelgarn <austin@netdata.cloud> 4-2
|
||||
- Version bump to stay in sync with DEB packages.
|
||||
* Thu Oct 31 2024 Austin Hemmelgarn <austin@netdata.cloud> 4-1
|
||||
- Switch repos to new subdomain.
|
||||
* Thu Sep 17 2024 Austin Hemmelgarn <austin@netdata.cloud> 3-5
|
||||
|
|
Loading…
Add table
Reference in a new issue