support nestos variant
(cherry picked from commit 570fa1bd7a50a34c5d64b0d10685592a294cf2c8)
This commit is contained in:
parent
1211891fee
commit
fef83cc5e3
@ -21,13 +21,14 @@ configs for provisioning operating systems that use Ignition.}
|
||||
|
||||
Name: butane
|
||||
Version: 0.14.0
|
||||
Release: 1
|
||||
Release: 2
|
||||
Summary: Butane config transpiler
|
||||
|
||||
# Upstream license specification: Apache-2.0
|
||||
License: ASL 2.0
|
||||
URL: https://github.com/coreos/butane
|
||||
Source0: butane-0.14.0.tar.gz
|
||||
Patch0: support-nestos-variant.patch
|
||||
BuildRequires: golang
|
||||
Provides: nestos-config-transpiler = %{version}-%{release}
|
||||
Obsoletes: nestos-config-transpiler < 0.10.0-2
|
||||
@ -132,5 +133,8 @@ install -p -m 0644 ./butane-x86_64-unknown-linux-gnu-static %{buildroot}%{_datad
|
||||
%{_datadir}/butane/butane-x86_64-unknown-linux-gnu-static
|
||||
|
||||
%changelog
|
||||
* Wed Oct 26 2022 fushanqing <fushanqing@kylinos.cn> - 0.14.0-2
|
||||
- support nestos variant
|
||||
|
||||
* Mon Jun 20 2022 fushanqing <fushanqing@kylinos.cn> - 0.14.0-1
|
||||
- Initial package
|
||||
|
||||
15
support-nestos-variant.patch
Normal file
15
support-nestos-variant.patch
Normal file
@ -0,0 +1,15 @@
|
||||
--- butane-0.14.0/config/config.go 2022-01-28 05:32:23.000000000 +0800
|
||||
+++ butane-0.14.0-new/config/config.go 2022-10-26 11:15:02.844757275 +0800
|
||||
@@ -52,6 +52,12 @@ func init() {
|
||||
RegisterTranslator("fcos", "1.3.0", fcos1_3.ToIgn3_2Bytes)
|
||||
RegisterTranslator("fcos", "1.4.0", fcos1_4.ToIgn3_3Bytes)
|
||||
RegisterTranslator("fcos", "1.5.0-experimental", fcos1_5_exp.ToIgn3_4Bytes)
|
||||
+ RegisterTranslator("nestos", "1.0.0", fcos1_0.ToIgn3_0Bytes)
|
||||
+ RegisterTranslator("nestos", "1.1.0", fcos1_1.ToIgn3_1Bytes)
|
||||
+ RegisterTranslator("nestos", "1.2.0", fcos1_2.ToIgn3_2Bytes)
|
||||
+ RegisterTranslator("nestos", "1.3.0", fcos1_3.ToIgn3_2Bytes)
|
||||
+ RegisterTranslator("nestos", "1.4.0", fcos1_4.ToIgn3_3Bytes)
|
||||
+ RegisterTranslator("nestos", "1.5.0-experimental", fcos1_5_exp.ToIgn3_4Bytes)
|
||||
RegisterTranslator("openshift", "4.8.0", openshift4_8.ToConfigBytes)
|
||||
RegisterTranslator("openshift", "4.9.0", openshift4_9.ToConfigBytes)
|
||||
RegisterTranslator("openshift", "4.10.0", openshift4_10.ToConfigBytes)
|
||||
Loading…
x
Reference in New Issue
Block a user