modify cincinnati url
This commit is contained in:
parent
f3178cffb0
commit
62815ed9a1
8
base-cincinnati-url-for-nestos.patch
Normal file
8
base-cincinnati-url-for-nestos.patch
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
diff -Nur zincati-0.0.18/dist/config.d/50-fedora-coreos-cincinnati.toml zincati-0.0.18-new/dist/config.d/50-fedora-coreos-cincinnati.toml
|
||||||
|
--- zincati-0.0.18/dist/config.d/50-fedora-coreos-cincinnati.toml 2021-02-28 06:16:41.000000000 +0800
|
||||||
|
+++ zincati-0.0.18-new/dist/config.d/50-fedora-coreos-cincinnati.toml 2022-05-17 11:27:14.242121619 +0800
|
||||||
|
@@ -1,3 +1,2 @@
|
||||||
|
-# Fedora CoreOS Cincinnati backend
|
||||||
|
[cincinnati]
|
||||||
|
-base_url= "https://updates.coreos.fedoraproject.org"
|
||||||
|
+base_url= "http://nestos.org.cn:8080"
|
||||||
@ -5,13 +5,14 @@
|
|||||||
|
|
||||||
Name: rust-%{crate}
|
Name: rust-%{crate}
|
||||||
Version: 0.0.18
|
Version: 0.0.18
|
||||||
Release: 1
|
Release: 2
|
||||||
Summary: Update agent for NestOS
|
Summary: Update agent for NestOS
|
||||||
License: ASL 2.0
|
License: ASL 2.0
|
||||||
URL: https://crates.io/crates/%{crate}
|
URL: https://crates.io/crates/%{crate}
|
||||||
Source0: %{crate}-%{version}.crate
|
Source0: %{crate}-%{version}.crate
|
||||||
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
|
Source1: https://github.com/coreos/%{crate}/releases/download/v%{version}/%{crate}-%{version}-vendor.tar.gz
|
||||||
Patch0: zincati-fix-metadata.diff
|
Patch0: zincati-fix-metadata.diff
|
||||||
|
Patch1: base-cincinnati-url-for-nestos.patch
|
||||||
|
|
||||||
BuildRequires: rust-packaging
|
BuildRequires: rust-packaging
|
||||||
BuildRequires: systemd openssl-devel
|
BuildRequires: systemd openssl-devel
|
||||||
@ -120,5 +121,8 @@ ln -snf /run/%{crate}/public/metrics.promsock %{buildroot}/run/%{crate}/private/
|
|||||||
%endif
|
%endif
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon May 16 2022 duyiwei <duyiwei@kylinos.cn> - 0.0.18-2
|
||||||
|
- add base-cincinnati-url-for-nestos.patch
|
||||||
|
|
||||||
* Mon Dec 27 2021 duyiwei <duyiwei@kylinos.cn> - 0.0.18-1
|
* Mon Dec 27 2021 duyiwei <duyiwei@kylinos.cn> - 0.0.18-1
|
||||||
- Package init
|
- Package init
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user