Compare commits
56 commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
7bac3f8b5e | ||
|
|
b112393806 | ||
|
|
c549acc324 | ||
|
|
14cfc4fcf5 | ||
|
|
396959a3ef |
||
|
|
3ccce9fe2c |
||
| dba14b4349 | |||
|
|
8b52f03285 | ||
|
|
f09fdcd8eb | ||
|
|
201d0b3908 | ||
|
|
0936a9fcd0 | ||
|
|
c949917070 |
||
|
|
72b7782599 | ||
|
|
c968de9bf5 | ||
|
|
da6e188921 | ||
|
|
72fea80cc7 | ||
|
|
aeab9876fb | ||
|
|
14f8fd597a | ||
|
|
9f25eef1c8 | ||
|
|
9d428601e9 |
||
|
|
09c7f06575 |
||
|
|
5235d93136 | ||
|
|
8c802480f9 | ||
|
|
931d3944d9 | ||
|
|
8a3dc87da9 | ||
|
|
a295b467f5 | ||
|
|
a13fc83299 | ||
|
|
4b614e8a3d | ||
|
|
d185bf7111 | ||
|
|
7411ec9287 | ||
|
|
6a5b176f6c | ||
|
|
2a8319503b | ||
|
|
9041937edf |
||
|
|
dd57fc84af | ||
|
|
dc2702945e | ||
|
|
30fd6a24c3 | ||
|
|
7af239fc87 | ||
|
|
bffea01116 |
||
|
|
03bd1df840 |
||
|
|
6296657697 | ||
|
|
68751ea10a | ||
|
|
5ac6552b77 | ||
|
|
a14d6588b3 | ||
|
|
4e94fa6ca4 | ||
|
|
c4b231c156 | ||
|
|
8d182d2a72 | ||
|
|
bbbbdecd40 | ||
|
|
6b3027138f | ||
|
|
c3699d870c | ||
| b20c1a4257 | |||
|
|
df664a9084 | ||
|
|
6d7106f64f | ||
|
|
d327075d15 | ||
|
|
cdc0d0ebec | ||
|
|
a637ff4bd8 | ||
|
|
03db1836f4 |
6 changed files with 473 additions and 171 deletions
19
.gitignore
vendored
19
.gitignore
vendored
|
|
@ -58,3 +58,22 @@
|
|||
/ignition-2.12.0.tar.gz
|
||||
/ignition-2.13.0.tar.gz
|
||||
/ignition-2.14.0.tar.gz
|
||||
/ignition-2.15.0.tar.gz
|
||||
/ignition-edge-a3a8f0a.tar.gz
|
||||
/ignition-2.16.1.tar.gz
|
||||
/ignition-2.16.2.tar.gz
|
||||
/ignition-2.17.0.tar.gz
|
||||
/ignition-2.18.0.tar.gz
|
||||
/ignition-2.19.0.tar.gz
|
||||
/ignition-2.20.0.tar.gz
|
||||
/ignition-edge-a258749.tar.gz
|
||||
/ignition-2.21.0.tar.gz
|
||||
/ignition-2.22.0.tar.gz
|
||||
/ignition-2.23.0.tar.gz
|
||||
/ignition-2.24.0.tar.gz
|
||||
/ignition-2.25.0.tar.gz
|
||||
/ignition-2.25.1.tar.gz
|
||||
/ignition-2.26.0.tar.gz
|
||||
/ignition-2.27.0.tar.gz
|
||||
/ignition-edge-6be7c94.tar.gz
|
||||
/ignition-edge-b6c8245.tar.gz
|
||||
|
|
|
|||
1
91-ignition-authorized-keys-file.conf
Normal file
1
91-ignition-authorized-keys-file.conf
Normal file
|
|
@ -0,0 +1 @@
|
|||
AuthorizedKeysFile=.ssh/authorized_keys .ssh/authorized_keys.d/*
|
||||
|
|
@ -1,14 +1,20 @@
|
|||
# Suppress hardcoded library path warning
|
||||
addFilter("hardcoded-library-path in %{_prefix}/lib/dracut")
|
||||
|
||||
# Ignition sources have duplicate files because of how spec versioning is
|
||||
# implemented
|
||||
addFilter("ignition-debugsource.x86_64: W: files-duplicate")
|
||||
addFilter("ignition-debugsource.x86_64: E: files-duplicated-waste")
|
||||
|
||||
# -validate-redistributable is supposed to have binaries in it
|
||||
# -validate-redistributable is supposed to have binaries in it, and
|
||||
# doesn't really need docs since it isn't user-facing
|
||||
addFilter("ignition-validate-redistributable.noarch: E: arch-independent-package-contains-binary-or-object")
|
||||
addFilter("ignition-validate-redistributable.noarch: W: no-documentation")
|
||||
|
||||
# This is documented as optional
|
||||
# https://fedoraproject.org/wiki/Upgrade_paths_%E2%80%94_renaming_or_splitting_packages#Do_I_need_to_Provide_my_old_package_names.3F
|
||||
addFilter("ignition.x86_64: W: obsolete-not-provided ignition-dracut")
|
||||
addFilter("ignition-validate-redistributable.noarch: W: obsolete-not-provided ignition-validate-nonlinux")
|
||||
|
||||
# "transpiler" is the correct term for what butane does
|
||||
addFilter("butane.*: E: spelling-error.*transpiler")
|
||||
|
||||
# -redistributable packages have binaries but are noarch by design,
|
||||
# and don't need docs since they aren't user-facing
|
||||
addFilter("butane-redistributable.noarch: E: arch-independent-package-contains-binary-or-object")
|
||||
addFilter("butane-redistributable.noarch: W: no-documentation")
|
||||
|
|
|
|||
598
ignition.spec
598
ignition.spec
|
|
@ -7,10 +7,13 @@
|
|||
%bcond_with check
|
||||
%endif
|
||||
|
||||
%global ignedgecommit b6c8245e59b5b0cd6ead6448cd283a73d507fa63
|
||||
%global ignedgeshortcommit %(c=%{ignedgecommit}; echo ${c:0:7})
|
||||
|
||||
# https://github.com/coreos/ignition
|
||||
%global goipath github.com/coreos/ignition
|
||||
%global gomodulesmode GO111MODULE=on
|
||||
Version: 2.14.0
|
||||
Version: 2.27.0
|
||||
|
||||
%gometa
|
||||
|
||||
|
|
@ -19,17 +22,21 @@ Version: 2.14.0
|
|||
%global dracutlibdir %{_prefix}/lib/dracut
|
||||
|
||||
Name: ignition
|
||||
Release: 3%{?dist}
|
||||
Release: 2%{?dist}
|
||||
Summary: First boot installer and configuration tool
|
||||
|
||||
# Upstream license specification: Apache-2.0
|
||||
License: ASL 2.0
|
||||
License: Apache-2.0
|
||||
URL: %{gourl}
|
||||
Source0: %{gosource}
|
||||
Source1: https://github.com/fedora-iot/ignition-edge/archive/%{ignedgecommit}/ignition-edge-%{ignedgeshortcommit}.tar.gz
|
||||
Source2: 91-ignition-authorized-keys-file.conf
|
||||
|
||||
BuildRequires: libblkid-devel
|
||||
BuildRequires: systemd-rpm-macros
|
||||
|
||||
ExcludeArch: %{ix86}
|
||||
|
||||
# Requires for 'disks' stage
|
||||
%if 0%{?fedora}
|
||||
Recommends: btrfs-progs
|
||||
|
|
@ -39,156 +46,119 @@ Requires: gdisk
|
|||
Requires: dracut
|
||||
Requires: dracut-network
|
||||
|
||||
Obsoletes: ignition-dracut < 0.31.0-3
|
||||
|
||||
# Generated by `go-mods-to-bundled-provides.py | sort`
|
||||
Provides: bundled(golang(cloud.google.com/go)) = 0.58.0
|
||||
Provides: bundled(golang(cloud.google.com/go/compute/metadata)) = 0.58.0
|
||||
Provides: bundled(golang(cloud.google.com/go/iam)) = 0.58.0
|
||||
Provides: bundled(golang(cloud.google.com/go/internal)) = 0.58.0
|
||||
Provides: bundled(golang(cloud.google.com/go/internal/optional)) = 0.58.0
|
||||
Provides: bundled(golang(cloud.google.com/go/internal/trace)) = 0.58.0
|
||||
Provides: bundled(golang(cloud.google.com/go/internal/version)) = 0.58.0
|
||||
Provides: bundled(golang(cloud.google.com/go/storage)) = 0.58.0
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/arn)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/awserr)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/awsutil)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/client)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/client/metadata)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/corehandlers)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/credentials)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/credentials/ec2rolecreds)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/credentials/endpointcreds)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/credentials/processcreds)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/credentials/stscreds)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/csm)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/defaults)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/ec2metadata)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/endpoints)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/request)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/session)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/aws/signer/v4)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/internal/context)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/internal/ini)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/internal/s3err)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/internal/sdkio)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/internal/sdkmath)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/internal/sdkrand)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/internal/sdkuri)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/internal/shareddefaults)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/internal/strings)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/internal/sync/singleflight)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/private/protocol)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/private/protocol/eventstream)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/private/protocol/eventstream/eventstreamapi)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/private/protocol/json/jsonutil)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/private/protocol/query)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/private/protocol/query/queryutil)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/private/protocol/rest)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/private/protocol/restxml)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/private/protocol/xml/xmlutil)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/service/s3)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/service/s3/internal/arn)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/service/s3/s3iface)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/service/s3/s3manager)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/service/sts)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go/service/sts/stsiface)) = 1.30.28
|
||||
Provides: bundled(golang(github.com/beevik/etree)) = 1.1.1-0.20200718192613.git4a2f8b9d084c
|
||||
Provides: bundled(golang(github.com/coreos/go-semver/semver)) = 0.3.0
|
||||
Provides: bundled(golang(github.com/coreos/go-systemd/v22/dbus)) = 22.0.0
|
||||
Provides: bundled(golang(github.com/coreos/go-systemd/v22/journal)) = 22.0.0
|
||||
Provides: bundled(golang(github.com/coreos/go-systemd/v22/unit)) = 22.0.0
|
||||
Provides: bundled(golang(github.com/coreos/vcontext/json)) = 0.0.0-20211021162308.gitf1dbbca7bef4
|
||||
Provides: bundled(golang(github.com/coreos/vcontext/path)) = 0.0.0-20211021162308.gitf1dbbca7bef4
|
||||
Provides: bundled(golang(github.com/coreos/vcontext/report)) = 0.0.0-20211021162308.gitf1dbbca7bef4
|
||||
Provides: bundled(golang(github.com/coreos/vcontext/tree)) = 0.0.0-20211021162308.gitf1dbbca7bef4
|
||||
Provides: bundled(golang(github.com/coreos/vcontext/validate)) = 0.0.0-20211021162308.gitf1dbbca7bef4
|
||||
Provides: bundled(golang(github.com/google/renameio)) = 0.1.0
|
||||
Provides: bundled(golang(github.com/google/uuid)) = 1.1.1
|
||||
|
||||
Provides: bundled(golang(cloud.google.com/go/compute/metadata)) = 0.9.0
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/aws)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/aws/arn)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/aws/defaults)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/aws/middleware)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/aws/protocol/eventstream/eventstreamapi)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/aws/protocol/xml)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/aws/ratelimit)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/aws/retry)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/aws/signer/internal/v4)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/aws/signer/v4)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/aws/transport/http)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/credentials/ec2rolecreds)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/feature/ec2/imds)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/feature/ec2/imds/internal/config)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/feature/s3/manager)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/auth)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/auth/smithy)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/awsutil)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/configsources)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/context)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/endpoints)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/endpoints/awsrulesfn)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/endpoints/v2)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/rand)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/sdk)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/sdkio)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/strings)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/sync/singleflight)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/timeconv)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/v4a)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/v4a/internal/crypto)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/internal/v4a/internal/v4)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/internal/accept-encoding)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/internal/checksum)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/internal/presigned-url)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/internal/s3shared)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/internal/s3shared/arn)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/internal/s3shared/config)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/s3)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/s3/internal/arn)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/s3/internal/customizations)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/s3/internal/endpoints)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/aws/aws-sdk-go-v2/service/s3/types)) = 1.43.4
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/azidentity)) = 1.14.0
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/azidentity/internal)) = 1.14.0
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/azidentity/internal/customtokenproxy)) = 1.14.0
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/storage/azblob)) = 1.8.0
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/appendblob)) = 1.8.0
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blob)) = 1.8.0
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/bloberror)) = 1.8.0
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/blockblob)) = 1.8.0
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/container)) = 1.8.0
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/base)) = 1.8.0
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/exported)) = 1.8.0
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/generated)) = 1.8.0
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/internal/shared)) = 1.8.0
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/pageblob)) = 1.8.0
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/sas)) = 1.8.0
|
||||
Provides: bundled(golang(github.com/Azure/azure-sdk-for-go/sdk/storage/azblob/service)) = 1.8.0
|
||||
Provides: bundled(golang(github.com/beevik/etree)) = 1.7.0
|
||||
Provides: bundled(golang(github.com/clarketm/json)) = 1.17.1
|
||||
Provides: bundled(golang(github.com/containers/libhvee/pkg/kvp)) = 0.11.0
|
||||
Provides: bundled(golang(github.com/coreos/go-semver/semver)) = 0.3.1
|
||||
Provides: bundled(golang(github.com/coreos/go-systemd/v22/dbus)) = 22.7.0
|
||||
Provides: bundled(golang(github.com/coreos/go-systemd/v22/journal)) = 22.7.0
|
||||
Provides: bundled(golang(github.com/coreos/go-systemd/v22/unit)) = 22.7.0
|
||||
Provides: bundled(golang(github.com/coreos/vcontext/json)) = 0.0.0-20230201181013.gitd72178a18687
|
||||
Provides: bundled(golang(github.com/coreos/vcontext/path)) = 0.0.0-20230201181013.gitd72178a18687
|
||||
Provides: bundled(golang(github.com/coreos/vcontext/report)) = 0.0.0-20230201181013.gitd72178a18687
|
||||
Provides: bundled(golang(github.com/coreos/vcontext/tree)) = 0.0.0-20230201181013.gitd72178a18687
|
||||
Provides: bundled(golang(github.com/coreos/vcontext/validate)) = 0.0.0-20230201181013.gitd72178a18687
|
||||
Provides: bundled(golang(github.com/coreos/vcontext/yaml)) = 0.0.0-20230201181013.gitd72178a18687
|
||||
Provides: bundled(golang(github.com/google/renameio/v2)) = 2.0.2
|
||||
Provides: bundled(golang(github.com/google/uuid)) = 1.6.0
|
||||
Provides: bundled(golang(github.com/mdlayher/vsock)) = 1.3.0
|
||||
Provides: bundled(golang(github.com/mitchellh/copystructure)) = 1.2.0
|
||||
Provides: bundled(golang(github.com/pin/tftp)) = 2.1.0
|
||||
Provides: bundled(golang(github.com/pin/tftp/netascii)) = 2.1.0
|
||||
Provides: bundled(golang(github.com/spf13/pflag)) = 1.0.6-0.20210604193023.gitd5e0c0615ace
|
||||
Provides: bundled(golang(github.com/stretchr/testify/assert)) = 1.7.0
|
||||
Provides: bundled(golang(github.com/spf13/pflag)) = 1.0.10
|
||||
Provides: bundled(golang(github.com/stretchr/testify/assert)) = 1.11.1
|
||||
Provides: bundled(golang(github.com/stretchr/testify/assert/yaml)) = 1.11.1
|
||||
Provides: bundled(golang(github.com/vincent-petithory/dataurl)) = 1.0.0
|
||||
Provides: bundled(golang(github.com/vmware/vmw-guestinfo/bdoor)) = 0.0.0-20220317130741.git510905f0efa3
|
||||
Provides: bundled(golang(github.com/vmware/vmw-guestinfo/message)) = 0.0.0-20220317130741.git510905f0efa3
|
||||
Provides: bundled(golang(github.com/vmware/vmw-guestinfo/rpcout)) = 0.0.0-20220317130741.git510905f0efa3
|
||||
Provides: bundled(golang(github.com/vmware/vmw-guestinfo/rpcvmx)) = 0.0.0-20220317130741.git510905f0efa3
|
||||
Provides: bundled(golang(github.com/vmware/vmw-guestinfo/vmcheck)) = 0.0.0-20220317130741.git510905f0efa3
|
||||
Provides: bundled(golang(golang.org/x/net/context)) = 0.0.0-20200602114024.git627f9648deb9
|
||||
Provides: bundled(golang(golang.org/x/net/context/ctxhttp)) = 0.0.0-20200602114024.git627f9648deb9
|
||||
Provides: bundled(golang(golang.org/x/net/http2)) = 0.0.0-20200602114024.git627f9648deb9
|
||||
Provides: bundled(golang(golang.org/x/net/http2/hpack)) = 0.0.0-20200602114024.git627f9648deb9
|
||||
Provides: bundled(golang(golang.org/x/net/http/httpguts)) = 0.0.0-20200602114024.git627f9648deb9
|
||||
Provides: bundled(golang(golang.org/x/net/http/httpproxy)) = 0.0.0-20200602114024.git627f9648deb9
|
||||
Provides: bundled(golang(golang.org/x/net/idna)) = 0.0.0-20200602114024.git627f9648deb9
|
||||
Provides: bundled(golang(golang.org/x/net/internal/timeseries)) = 0.0.0-20200602114024.git627f9648deb9
|
||||
Provides: bundled(golang(golang.org/x/net/trace)) = 0.0.0-20200602114024.git627f9648deb9
|
||||
Provides: bundled(golang(golang.org/x/oauth2)) = 0.0.0-20200107190931.gitbf48bf16ab8d
|
||||
Provides: bundled(golang(golang.org/x/oauth2/google)) = 0.0.0-20200107190931.gitbf48bf16ab8d
|
||||
Provides: bundled(golang(golang.org/x/oauth2/internal)) = 0.0.0-20200107190931.gitbf48bf16ab8d
|
||||
Provides: bundled(golang(golang.org/x/oauth2/jws)) = 0.0.0-20200107190931.gitbf48bf16ab8d
|
||||
Provides: bundled(golang(golang.org/x/oauth2/jwt)) = 0.0.0-20200107190931.gitbf48bf16ab8d
|
||||
Provides: bundled(golang(golang.org/x/sys/internal/unsafeheader)) = 0.0.0-20200610111108.git226ff32320da
|
||||
Provides: bundled(golang(golang.org/x/sys/unix)) = 0.0.0-20200610111108.git226ff32320da
|
||||
Provides: bundled(golang(golang.org/x/tools/cmd/goimports)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/go/analysis)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/go/analysis/passes/inspect)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/go/ast/astutil)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/go/ast/inspector)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/go/buildutil)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/go/gcexportdata)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/go/internal/cgo)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/go/internal/gcimporter)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/go/internal/packagesdriver)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/go/loader)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/go/packages)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/go/types/objectpath)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/go/types/typeutil)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/internal/analysisinternal)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/internal/event)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/internal/event/core)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/internal/event/keys)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/internal/event/label)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/internal/fastwalk)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/internal/gocommand)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/internal/gopathwalk)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/internal/imports)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(golang.org/x/tools/internal/packagesinternal)) = 0.0.0-20200610160956.git3e83d1e96d0e
|
||||
Provides: bundled(golang(google.golang.org/api/googleapi)) = 0.26.0
|
||||
Provides: bundled(golang(google.golang.org/api/googleapi/transport)) = 0.26.0
|
||||
Provides: bundled(golang(google.golang.org/api/internal)) = 0.26.0
|
||||
Provides: bundled(golang(google.golang.org/api/internal/gensupport)) = 0.26.0
|
||||
Provides: bundled(golang(google.golang.org/api/internal/third_party/uritemplates)) = 0.26.0
|
||||
Provides: bundled(golang(google.golang.org/api/iterator)) = 0.26.0
|
||||
Provides: bundled(golang(google.golang.org/api/option)) = 0.26.0
|
||||
Provides: bundled(golang(google.golang.org/api/option/internaloption)) = 0.26.0
|
||||
Provides: bundled(golang(google.golang.org/api/storage/v1)) = 0.26.0
|
||||
Provides: bundled(golang(google.golang.org/api/transport/cert)) = 0.26.0
|
||||
Provides: bundled(golang(google.golang.org/api/transport/http)) = 0.26.0
|
||||
Provides: bundled(golang(google.golang.org/api/transport/http/internal/propagation)) = 0.26.0
|
||||
Provides: bundled(golang(google.golang.org/genproto/googleapis/api/annotations)) = 0.0.0-20200610104632.gita5b850bcf112
|
||||
Provides: bundled(golang(google.golang.org/genproto/googleapis/iam/v1)) = 0.0.0-20200610104632.gita5b850bcf112
|
||||
Provides: bundled(golang(google.golang.org/genproto/googleapis/rpc/code)) = 0.0.0-20200610104632.gita5b850bcf112
|
||||
Provides: bundled(golang(google.golang.org/genproto/googleapis/rpc/status)) = 0.0.0-20200610104632.gita5b850bcf112
|
||||
Provides: bundled(golang(google.golang.org/genproto/googleapis/type/expr)) = 0.0.0-20200610104632.gita5b850bcf112
|
||||
Provides: bundled(golang(go.opencensus.io)) = 0.22.5
|
||||
Provides: bundled(golang(go.opencensus.io/internal)) = 0.22.5
|
||||
Provides: bundled(golang(go.opencensus.io/internal/tagencoding)) = 0.22.5
|
||||
Provides: bundled(golang(go.opencensus.io/metric/metricdata)) = 0.22.5
|
||||
Provides: bundled(golang(go.opencensus.io/metric/metricproducer)) = 0.22.5
|
||||
Provides: bundled(golang(go.opencensus.io/plugin/ochttp)) = 0.22.5
|
||||
Provides: bundled(golang(go.opencensus.io/plugin/ochttp/propagation/b3)) = 0.22.5
|
||||
Provides: bundled(golang(go.opencensus.io/resource)) = 0.22.5
|
||||
Provides: bundled(golang(go.opencensus.io/stats)) = 0.22.5
|
||||
Provides: bundled(golang(go.opencensus.io/stats/internal)) = 0.22.5
|
||||
Provides: bundled(golang(go.opencensus.io/stats/view)) = 0.22.5
|
||||
Provides: bundled(golang(go.opencensus.io/tag)) = 0.22.5
|
||||
Provides: bundled(golang(go.opencensus.io/trace)) = 0.22.5
|
||||
Provides: bundled(golang(go.opencensus.io/trace/internal)) = 0.22.5
|
||||
Provides: bundled(golang(go.opencensus.io/trace/propagation)) = 0.22.5
|
||||
Provides: bundled(golang(go.opencensus.io/trace/tracestate)) = 0.22.5
|
||||
Provides: bundled(golang(golang.org/x/net/bpf)) = 0.57.0
|
||||
Provides: bundled(golang(golang.org/x/net/http2)) = 0.57.0
|
||||
Provides: bundled(golang(golang.org/x/net/http2/hpack)) = 0.57.0
|
||||
Provides: bundled(golang(golang.org/x/net/http/httpguts)) = 0.57.0
|
||||
Provides: bundled(golang(golang.org/x/net/http/httpproxy)) = 0.57.0
|
||||
Provides: bundled(golang(golang.org/x/net/idna)) = 0.57.0
|
||||
Provides: bundled(golang(golang.org/x/net/internal/httpcommon)) = 0.57.0
|
||||
Provides: bundled(golang(golang.org/x/net/internal/httpsfv)) = 0.57.0
|
||||
Provides: bundled(golang(golang.org/x/oauth2)) = 0.36.0
|
||||
Provides: bundled(golang(golang.org/x/oauth2/authhandler)) = 0.36.0
|
||||
Provides: bundled(golang(golang.org/x/oauth2/google)) = 0.36.0
|
||||
Provides: bundled(golang(golang.org/x/oauth2/google/externalaccount)) = 0.36.0
|
||||
Provides: bundled(golang(golang.org/x/oauth2/google/internal/externalaccountauthorizeduser)) = 0.36.0
|
||||
Provides: bundled(golang(golang.org/x/oauth2/google/internal/impersonate)) = 0.36.0
|
||||
Provides: bundled(golang(golang.org/x/oauth2/google/internal/stsexchange)) = 0.36.0
|
||||
Provides: bundled(golang(golang.org/x/oauth2/internal)) = 0.36.0
|
||||
Provides: bundled(golang(golang.org/x/oauth2/jws)) = 0.36.0
|
||||
Provides: bundled(golang(golang.org/x/oauth2/jwt)) = 0.36.0
|
||||
Provides: bundled(golang(golang.org/x/sys/unix)) = 0.47.0
|
||||
Provides: bundled(golang(golang.org/x/sys/windows)) = 0.47.0
|
||||
Provides: bundled(golang(golang.org/x/sys/windows/registry)) = 0.47.0
|
||||
Provides: bundled(golang(gopkg.in/yaml.v3)) = 3.0.1
|
||||
|
||||
%description
|
||||
Ignition is a utility used to manipulate systems during the initramfs.
|
||||
|
|
@ -203,9 +173,7 @@ the configuration.
|
|||
%package validate
|
||||
|
||||
Summary: Validation tool for Ignition configs
|
||||
License: ASL 2.0
|
||||
|
||||
Conflicts: ignition < 0.31.0-3
|
||||
License: Apache-2.0
|
||||
|
||||
%description validate
|
||||
Ignition is a utility used to manipulate systems during the initramfs.
|
||||
|
|
@ -223,11 +191,9 @@ This package contains a tool for validating Ignition configurations.
|
|||
%package validate-redistributable
|
||||
|
||||
Summary: Statically linked validation tool for Ignition configs
|
||||
License: ASL 2.0
|
||||
License: Apache-2.0
|
||||
BuildArch: noarch
|
||||
|
||||
Conflicts: ignition < 0.31.0-3
|
||||
|
||||
# In case someone has this subpackage installed, obsolete the old name
|
||||
# Drop in Fedora 38
|
||||
Obsoletes: ignition-validate-nonlinux < 2.13.0-4
|
||||
|
|
@ -239,6 +205,68 @@ It is only used for building release binaries to be signed by Fedora release
|
|||
engineering and uploaded to the Ignition GitHub releases page.
|
||||
%endif
|
||||
|
||||
############## ignition-edge subpackage ##############
|
||||
|
||||
%package edge
|
||||
|
||||
Summary: Enablement glue for Ignition on IoT/Edge systems
|
||||
License: MIT
|
||||
|
||||
Requires: %{name} = %{version}-%{release}
|
||||
|
||||
%description edge
|
||||
This package contains dracut modules, services and binaries needed to enable
|
||||
Ignition on IoT/Edge systems.
|
||||
|
||||
############## grub subpackage ##############
|
||||
|
||||
%package grub
|
||||
Summary: Enablement glue for bootupd's grub2 config
|
||||
License: Apache-2.0
|
||||
|
||||
# `ignition-grub` is a rename `ignition-ignition-grub` so let's obsolete `ignition-ignition-grub`
|
||||
Obsoletes: ignition-ignition-grub
|
||||
|
||||
%description grub
|
||||
This package contains the grub2 config which is compatable with bootupd.
|
||||
|
||||
############## butane subpackage ##############
|
||||
|
||||
%package -n butane
|
||||
|
||||
Summary: Butane config transpiler
|
||||
License: Apache-2.0
|
||||
|
||||
# Upgrade path from standalone butane package
|
||||
Obsoletes: butane < %{version}
|
||||
Provides: butane = %{version}-%{release}
|
||||
|
||||
%description -n butane
|
||||
Butane translates human-readable Butane Configs into machine-readable Ignition
|
||||
configs for provisioning operating systems that use Ignition.
|
||||
|
||||
############## butane-redistributable subpackage ##############
|
||||
|
||||
%if 0%{?fedora}
|
||||
%package -n butane-redistributable
|
||||
|
||||
Summary: Statically built Butane for Linux, macOS and Windows
|
||||
License: Apache-2.0
|
||||
BuildArch: noarch
|
||||
|
||||
# Upgrade path from standalone butane package
|
||||
Obsoletes: butane-redistributable < %{version}
|
||||
|
||||
%description -n butane-redistributable
|
||||
Butane translates human-readable Butane Configs into machine-readable Ignition
|
||||
configs for provisioning operating systems that use Ignition.
|
||||
|
||||
This package contains statically linked Linux, macOS and Windows Butane
|
||||
binaries built through cross-compilation. Do not install it. It is only
|
||||
used for building release binaries to be signed by Fedora release
|
||||
engineering and uploaded to the Ignition GitHub releases page.
|
||||
%endif
|
||||
|
||||
%prep
|
||||
%if 0%{?fedora}
|
||||
%goprep -k
|
||||
|
|
@ -247,35 +275,63 @@ engineering and uploaded to the Ignition GitHub releases page.
|
|||
%forgeautosetup -p1
|
||||
%endif
|
||||
|
||||
tar xvf %{SOURCE1}
|
||||
|
||||
%build
|
||||
export LDFLAGS="-X github.com/coreos/ignition/v2/internal/version.Raw=%{version} -X github.com/coreos/ignition/v2/internal/distro.selinuxRelabel=true "
|
||||
%if 0%{?rhel} || 0%{?centos}
|
||||
%if 0%{?rhel} && 0%{?rhel} <= 8
|
||||
# Disable writing ssh keys fragments on RHEL/CentOS <= 8
|
||||
LDFLAGS+=' -X github.com/coreos/ignition/v2/internal/distro.writeAuthorizedKeysFragment=false '
|
||||
%endif
|
||||
%if 0%{?rhel}
|
||||
# Need uncompressed debug symbols for debuginfo extraction
|
||||
LDFLAGS+=' -X github.com/coreos/ignition/v2/internal/distro.writeAuthorizedKeysFragment=false -compressdwarf=false '
|
||||
LDFLAGS+=' -compressdwarf=false '
|
||||
%endif
|
||||
export GOFLAGS="-mod=vendor"
|
||||
|
||||
echo "Building ignition..."
|
||||
%gobuild -o ./ignition internal/main.go
|
||||
GOEXPERIMENT=strictfipsruntime %gobuild -o ./ignition internal/main.go
|
||||
|
||||
echo "Building ignition-validate..."
|
||||
%gobuild -o ./ignition-validate validate/main.go
|
||||
|
||||
%global gocrossbuild go build -ldflags "${LDFLAGS:-} -B 0x$(head -c20 /dev/urandom|od -An -tx1|tr -d ' \\n')" -a -v -x
|
||||
# Build butane
|
||||
BUTANE_LDFLAGS="-X github.com/coreos/ignition/v2/butane/internal/version.Raw=%{version} "
|
||||
|
||||
echo "Building butane..."
|
||||
LDFLAGS="${BUTANE_LDFLAGS}" %gobuild -o ./butane-bin butane/internal/main.go
|
||||
|
||||
%global gocrossbuild go build -ldflags "${LDFLAGS:-} -B 0x$(cat /dev/urandom | tr -d -c '0-9a-f' | head -c16)" -a -v -x
|
||||
|
||||
%if 0%{?fedora}
|
||||
echo "Building statically-linked Linux ignition-validate..."
|
||||
CGO_ENABLED=0 GOARCH=arm64 GOOS=linux %gocrossbuild -o ./ignition-validate-aarch64-unknown-linux-gnu-static validate/main.go
|
||||
CGO_ENABLED=0 GOARCH=ppc64le GOOS=linux %gocrossbuild -o ./ignition-validate-ppc64le-unknown-linux-gnu-static validate/main.go
|
||||
CGO_ENABLED=0 GOARCH=s390x GOOS=linux %gocrossbuild -o ./ignition-validate-s390x-unknown-linux-gnu-static validate/main.go
|
||||
CGO_ENABLED=0 GOARCH=amd64 GOOS=linux %gocrossbuild -o ./ignition-validate-x86_64-unknown-linux-gnu-static validate/main.go
|
||||
GOEXPERIMENT= CGO_ENABLED=0 GOARCH=arm64 GOOS=linux %gocrossbuild -o ./ignition-validate-aarch64-unknown-linux-gnu-static validate/main.go
|
||||
GOEXPERIMENT= CGO_ENABLED=0 GOARCH=ppc64le GOOS=linux %gocrossbuild -o ./ignition-validate-ppc64le-unknown-linux-gnu-static validate/main.go
|
||||
GOEXPERIMENT= CGO_ENABLED=0 GOARCH=s390x GOOS=linux %gocrossbuild -o ./ignition-validate-s390x-unknown-linux-gnu-static validate/main.go
|
||||
GOEXPERIMENT= CGO_ENABLED=0 GOARCH=amd64 GOOS=linux %gocrossbuild -o ./ignition-validate-x86_64-unknown-linux-gnu-static validate/main.go
|
||||
|
||||
echo "Building macOS ignition-validate..."
|
||||
GOARCH=amd64 GOOS=darwin %gocrossbuild -o ./ignition-validate-x86_64-apple-darwin validate/main.go
|
||||
GOARCH=arm64 GOOS=darwin %gocrossbuild -o ./ignition-validate-aarch64-apple-darwin validate/main.go
|
||||
GOEXPERIMENT= GOARCH=amd64 GOOS=darwin %gocrossbuild -o ./ignition-validate-x86_64-apple-darwin validate/main.go
|
||||
GOEXPERIMENT= GOARCH=arm64 GOOS=darwin %gocrossbuild -o ./ignition-validate-aarch64-apple-darwin validate/main.go
|
||||
|
||||
echo "Building Windows ignition-validate..."
|
||||
GOARCH=amd64 GOOS=windows %gocrossbuild -o ./ignition-validate-x86_64-pc-windows-gnu.exe validate/main.go
|
||||
GOEXPERIMENT= GOARCH=amd64 GOOS=windows %gocrossbuild -o ./ignition-validate-x86_64-pc-windows-gnu.exe validate/main.go
|
||||
|
||||
# butane cross-compilation
|
||||
export LDFLAGS="${BUTANE_LDFLAGS}"
|
||||
|
||||
echo "Building statically-linked Linux butane..."
|
||||
CGO_ENABLED=0 GOARCH=arm64 GOOS=linux %gocrossbuild -o ./butane-aarch64-unknown-linux-gnu-static butane/internal/main.go
|
||||
CGO_ENABLED=0 GOARCH=ppc64le GOOS=linux %gocrossbuild -o ./butane-ppc64le-unknown-linux-gnu-static butane/internal/main.go
|
||||
CGO_ENABLED=0 GOARCH=s390x GOOS=linux %gocrossbuild -o ./butane-s390x-unknown-linux-gnu-static butane/internal/main.go
|
||||
CGO_ENABLED=0 GOARCH=amd64 GOOS=linux %gocrossbuild -o ./butane-x86_64-unknown-linux-gnu-static butane/internal/main.go
|
||||
|
||||
echo "Building macOS butane..."
|
||||
GOARCH=amd64 GOOS=darwin %gocrossbuild -o ./butane-x86_64-apple-darwin butane/internal/main.go
|
||||
GOARCH=arm64 GOOS=darwin %gocrossbuild -o ./butane-aarch64-apple-darwin butane/internal/main.go
|
||||
|
||||
echo "Building Windows butane..."
|
||||
GOARCH=amd64 GOOS=windows %gocrossbuild -o ./butane-x86_64-pc-windows-gnu.exe butane/internal/main.go
|
||||
%endif
|
||||
|
||||
%install
|
||||
|
|
@ -287,9 +343,17 @@ install -m 0755 -d %{buildroot}/%{_libexecdir}
|
|||
ln -sf ../lib/dracut/modules.d/30ignition/ignition %{buildroot}/%{_libexecdir}/ignition-apply
|
||||
ln -sf ../lib/dracut/modules.d/30ignition/ignition %{buildroot}/%{_libexecdir}/ignition-rmcfg
|
||||
|
||||
# grub
|
||||
install -d -p %{buildroot}%{_prefix}/lib/bootupd/grub2-static/configs.d
|
||||
install -p -m 0644 grub2/05_ignition.cfg %{buildroot}%{_prefix}/lib/bootupd/grub2-static/configs.d/
|
||||
|
||||
# ignition
|
||||
install -d -p %{buildroot}%{_bindir}
|
||||
install -p -m 0755 ./ignition-validate %{buildroot}%{_bindir}
|
||||
%if 0%{?fedora} && 0%{?fedora} > 43
|
||||
install -d -p %{buildroot}%{_sysconfdir}/ssh/sshd_config.d/
|
||||
install -p -m 0644 %{SOURCE2} %{buildroot}%{_sysconfdir}/ssh/sshd_config.d/91-ignition-authorized-keys-file.conf
|
||||
%endif
|
||||
|
||||
%if 0%{?fedora}
|
||||
install -d -p %{buildroot}%{_datadir}/ignition
|
||||
|
|
@ -302,10 +366,27 @@ install -p -m 0644 ./ignition-validate-x86_64-pc-windows-gnu.exe %{buildroot}%{_
|
|||
install -p -m 0644 ./ignition-validate-x86_64-unknown-linux-gnu-static %{buildroot}%{_datadir}/ignition
|
||||
%endif
|
||||
|
||||
# butane
|
||||
install -p -m 0755 ./butane-bin %{buildroot}%{_bindir}/butane
|
||||
ln -s butane %{buildroot}%{_bindir}/fcct
|
||||
|
||||
%if 0%{?fedora}
|
||||
install -d -p %{buildroot}%{_datadir}/butane
|
||||
install -p -m 0644 ./butane-aarch64-apple-darwin %{buildroot}%{_datadir}/butane
|
||||
install -p -m 0644 ./butane-aarch64-unknown-linux-gnu-static %{buildroot}%{_datadir}/butane
|
||||
install -p -m 0644 ./butane-ppc64le-unknown-linux-gnu-static %{buildroot}%{_datadir}/butane
|
||||
install -p -m 0644 ./butane-s390x-unknown-linux-gnu-static %{buildroot}%{_datadir}/butane
|
||||
install -p -m 0644 ./butane-x86_64-apple-darwin %{buildroot}%{_datadir}/butane
|
||||
install -p -m 0644 ./butane-x86_64-pc-windows-gnu.exe %{buildroot}%{_datadir}/butane
|
||||
install -p -m 0644 ./butane-x86_64-unknown-linux-gnu-static %{buildroot}%{_datadir}/butane
|
||||
%endif
|
||||
|
||||
# The ignition binary is only for dracut, and is dangerous to run from
|
||||
# the command line. Install directly into the dracut module dir.
|
||||
install -p -m 0755 ./ignition %{buildroot}/%{dracutlibdir}/modules.d/30ignition
|
||||
|
||||
%make_install -C ignition-edge-%{ignedgecommit}
|
||||
|
||||
%if %{with check}
|
||||
%check
|
||||
# Exclude the blackbox tests
|
||||
|
|
@ -315,10 +396,13 @@ install -p -m 0755 ./ignition %{buildroot}/%{dracutlibdir}/modules.d/30ignition
|
|||
%files
|
||||
%license %{golicenses}
|
||||
%doc %{godocs}
|
||||
%{dracutlibdir}/modules.d/*
|
||||
%{_unitdir}/*.service
|
||||
%{dracutlibdir}/modules.d/30ignition/*
|
||||
%{_unitdir}/ignition-delete-config.service
|
||||
%{_libexecdir}/ignition-apply
|
||||
%{_libexecdir}/ignition-rmcfg
|
||||
%if 0%{?fedora} && 0%{?fedora} > 43
|
||||
%{_sysconfdir}/ssh/sshd_config.d/91-ignition-authorized-keys-file.conf
|
||||
%endif
|
||||
|
||||
%files validate
|
||||
%doc README.md
|
||||
|
|
@ -338,7 +422,193 @@ install -p -m 0755 ./ignition %{buildroot}/%{dracutlibdir}/modules.d/30ignition
|
|||
%{_datadir}/ignition/ignition-validate-x86_64-unknown-linux-gnu-static
|
||||
%endif
|
||||
|
||||
%files edge
|
||||
%license ignition-edge-%{ignedgecommit}/LICENSE
|
||||
%doc %{godocs}
|
||||
%{dracutlibdir}/modules.d/35ignition-edge/*
|
||||
%{dracutlibdir}/modules.d/10coreos-sysctl/*
|
||||
%{dracutlibdir}/modules.d/99emergency-shell-setup/*
|
||||
%{dracutlibdir}/modules.d/99journal-conf/*
|
||||
%{_unitdir}/coreos-check-ssh-keys.service
|
||||
%{_unitdir}/coreos-ignition-write-issues.service
|
||||
%{_unitdir}/ignition-firstboot-complete.service
|
||||
%{_libexecdir}/coreos-ignition-write-issues
|
||||
%{_libexecdir}/coreos-check-ssh-keys
|
||||
|
||||
%files grub
|
||||
%doc README.md
|
||||
%license %{golicenses}
|
||||
%{_prefix}/lib/bootupd/grub2-static/configs.d/05_ignition.cfg
|
||||
|
||||
%files -n butane
|
||||
%license %{golicenses}
|
||||
%doc butane/README.md butane/docs
|
||||
%{_bindir}/butane
|
||||
%{_bindir}/fcct
|
||||
|
||||
%if 0%{?fedora}
|
||||
%files -n butane-redistributable
|
||||
%license %{golicenses}
|
||||
%dir %{_datadir}/butane
|
||||
%{_datadir}/butane/butane-aarch64-apple-darwin
|
||||
%{_datadir}/butane/butane-aarch64-unknown-linux-gnu-static
|
||||
%{_datadir}/butane/butane-ppc64le-unknown-linux-gnu-static
|
||||
%{_datadir}/butane/butane-s390x-unknown-linux-gnu-static
|
||||
%{_datadir}/butane/butane-x86_64-apple-darwin
|
||||
%{_datadir}/butane/butane-x86_64-pc-windows-gnu.exe
|
||||
%{_datadir}/butane/butane-x86_64-unknown-linux-gnu-static
|
||||
%endif
|
||||
|
||||
%changelog
|
||||
* Wed Sep 02 2026 Klara Necasova <knecasov@redhat.com> - 2.27.0-2
|
||||
- Update ignition-edge commit to include https://github.com/fedora-iot/ignition-edge/pull/12
|
||||
|
||||
* Wed Aug 26 2026 Steven Presti <spresti@redhat.com> - 2.27.0-1
|
||||
- New Release
|
||||
- Butane config transpiler merged into Ignition repository
|
||||
- Butane now follows Ignition version numbering
|
||||
- Drop Patch0 (fix merged upstream)
|
||||
- Drop legacy fcct/fedora-coreos-config-transpiler provides
|
||||
|
||||
* Thu Jul 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.26.0-5
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_45_Mass_Rebuild
|
||||
|
||||
* Mon Mar 30 2026 Timothée Ravier <tim@siosm.fr> - 2.26.0-4
|
||||
- F44+: Ship OpenSSH config file specifying AuthorizedKeysFile
|
||||
- Have ignition-edge require the matching main ignition package
|
||||
|
||||
* Tue Mar 10 2026 Joel Capitao <jcapitao@redhat.com> - 2.26.0-3
|
||||
- Revert 'Ship the OpenSSH config file specifying AuthorizedKeysFile'
|
||||
|
||||
* Tue Feb 24 2026 Joel Capitao <jcapitao@redhat.com> - 2.26.0-2
|
||||
- Ship OpenSSH config file specifying AuthorizedKeysFile
|
||||
|
||||
* Thu Feb 19 2026 Steven Presti <spresti@redhat.com> - 2.26.0-1
|
||||
- New Release
|
||||
- Patch format specifier for systemd version warning (Go 1.26 compatibility)
|
||||
|
||||
* Tue Feb 03 2026 Maxwell G <maxwell@gtmx.me> - 2.25.1-3
|
||||
- Rebuild for https://fedoraproject.org/wiki/Changes/golang1.26
|
||||
|
||||
* Fri Jan 16 2026 Fedora Release Engineering <releng@fedoraproject.org> - 2.25.1-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_44_Mass_Rebuild
|
||||
|
||||
* Fri Dec 12 2025 Steven Presti <spresti@redhat.com> - 2.25.0-1
|
||||
- New Release
|
||||
|
||||
* Tue Oct 14 2025 Steven Presti <spresti@redhat.com> - 2.24.0-1
|
||||
- New Release
|
||||
|
||||
* Fri Oct 10 2025 Alejandro Sáez <asm@redhat.com> - 2.23.0-3
|
||||
- rebuild
|
||||
|
||||
* Wed Oct 01 2025 Steven Presti <spresti@redhat.com> - 2.23.0-2
|
||||
- Build Ignition with GOEXPERIMENT=strictfipsruntime
|
||||
- Ignition-validate non-FIPS
|
||||
|
||||
* Wed Sep 10 2025 Steven Presti <spresti@redhat.com> - 2.23.0-1
|
||||
- New Release
|
||||
|
||||
* Fri Aug 15 2025 Maxwell G <maxwell@gtmx.me> - 2.22.0-5
|
||||
- Rebuild for golang-1.25.0
|
||||
|
||||
* Thu Jul 24 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.22.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_43_Mass_Rebuild
|
||||
|
||||
* Wed Jul 16 2025 Tiago Bueno <tiago.bueno@gmail.com> - 2.22.0-3
|
||||
- Fix rpminspect debug symbols failure
|
||||
|
||||
* Tue Jul 15 2025 Tiago Bueno <tiago.bueno@gmail.com> - 2.22.0-2
|
||||
- Backport fix for OracleCloud do not wrap errors from FetchToBuffer
|
||||
|
||||
* Tue Jul 8 2025 Yasmin Valim <ydesouza@redhat.com> - 2.22.0-1
|
||||
- New Release
|
||||
|
||||
* Wed Mar 19 2025 Steven Presti <spresti@redhat.com> - 2.21.0-2
|
||||
- Rename ignition.cfg -> 05_ignition.cfg to mirror upstream
|
||||
additionally backport rename.
|
||||
- Rename ignition-ignition-grub subpackage to ignition-grub
|
||||
- Update grub2 config to use the correct dir for bootupd static grub configs
|
||||
https://github.com/coreos/ignition/pull/2037#issuecomment-2736300056
|
||||
|
||||
* Fri Mar 14 2025 Steven Presti <spresti@redhat.com> - 2.21.0-1
|
||||
- New Release
|
||||
|
||||
* Mon Jan 27 2025 David Jachimowicz <djachimo@redhat.com> - 2.20.0-5
|
||||
- Update ignition-edge commit to include https://github.com/fedora-iot/ignition-edge/pull/3
|
||||
|
||||
* Wed Jan 22 2025 FeRD (Frank Dana) <ferdnyc@gmail.com> - 2.20.0-4
|
||||
- Apply upstream patch for Go 1.24 compatibility
|
||||
|
||||
* Fri Jan 17 2025 Fedora Release Engineering <releng@fedoraproject.org> - 2.20.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_42_Mass_Rebuild
|
||||
|
||||
* Tue Nov 05 2024 Miguel Martín <mmartinv@redhat.com> - 2.20.0-2
|
||||
- Update ignition-edge commit to include
|
||||
- https://github.com/fedora-iot/ignition-edge/pull/2
|
||||
|
||||
* Wed Oct 23 2024 Steven Presti <spresti@redhat.com> - 2.20.0-1
|
||||
- New Release
|
||||
|
||||
* Thu Jul 18 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.19.0-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_41_Mass_Rebuild
|
||||
|
||||
* Wed Jun 05 2024 Steven Presti <spresti@redhat.com> - 2.19.0-1
|
||||
- New release
|
||||
|
||||
* Mon Mar 4 2024 Yasmin de Souza <ydesouza@redhat.com> - 2.18.0-1
|
||||
- New release
|
||||
- Discontinue support for i686
|
||||
|
||||
* Sun Feb 11 2024 Maxwell G <maxwell@gtmx.me> - 2.17.0-6
|
||||
- Rebuild for golang 1.22.0
|
||||
|
||||
* Fri Feb 09 2024 Timothée Ravier <tim@siosm.fr> - 2.17.0-5
|
||||
- Backport fix for unexpected Azure IMDS status codes
|
||||
|
||||
* Wed Jan 24 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Sat Jan 20 2024 Fedora Release Engineering <releng@fedoraproject.org> - 2.17.0-3
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_40_Mass_Rebuild
|
||||
|
||||
* Fri Dec 15 2023 Steven Presti <spresti@redhat.com> - 2.17.0-2
|
||||
- Add ignition-grub subpackage
|
||||
|
||||
* Wed Nov 22 2023 Steven Presti <spresti@redhat.com> - 2.17.0-1
|
||||
- New release
|
||||
|
||||
* Thu Jul 20 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.16.2-2
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_39_Mass_Rebuild
|
||||
|
||||
* Wed Jul 12 2023 Benjamin Gilbert <bgilbert@redhat.com> - 2.16.2-1
|
||||
- New release
|
||||
|
||||
* Mon Jul 10 2023 Benjamin Gilbert <bgilbert@redhat.com> - 2.16.1-1
|
||||
- New release
|
||||
|
||||
* Thu Jun 1 2023 Steven Presti <spresti@redhat.com> - 2.15.0-4
|
||||
- Switch License tags to SPDX
|
||||
|
||||
* Thu Feb 23 2023 Benjamin Gilbert <bgilbert@redhat.com> - 2.15.0-3
|
||||
- Remove ignition-edge files from base package
|
||||
|
||||
* Wed Feb 22 2023 Paul Whalen <pwhalen@fedoraproject.org> - 2.15.0-2
|
||||
- Enable ignition-edge in Fedora
|
||||
|
||||
* Tue Feb 21 2023 Benjamin Gilbert <bgilbert@redhat.com> - 2.15.0-1
|
||||
- New release
|
||||
- Drop Conflicts/Obsoletes for ancient Ignition releases
|
||||
|
||||
* Thu Jan 19 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.0-6
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild
|
||||
|
||||
* Tue Aug 9 2022 Christian Glombek <cglombek@redhat.com> - 2.14.0-5
|
||||
- Enable writing ssh keys fragments on RHEL/CentOS >= 9
|
||||
|
||||
* Thu Jul 21 2022 Fedora Release Engineering <releng@fedoraproject.org> - 2.14.0-4
|
||||
- Rebuilt for https://fedoraproject.org/wiki/Fedora_37_Mass_Rebuild
|
||||
|
||||
* Mon Jun 27 2022 Benjamin Gilbert <bgilbert@redhat.com> - 2.14.0-3
|
||||
- Add macOS aarch64 binary to -redistributable
|
||||
|
||||
|
|
@ -370,7 +640,7 @@ install -p -m 0755 ./ignition %{buildroot}/%{dracutlibdir}/modules.d/30ignition
|
|||
- New release
|
||||
|
||||
* Wed Oct 13 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 2.12.0-3
|
||||
- Move Ignition report to /etc
|
||||
- Move Ignition report to /etc
|
||||
|
||||
* Thu Aug 26 2021 Sohan Kunkerkar <skunkerk@redhat.com> - 2.12.0-2
|
||||
- Disable file fragment writing logic for SSH authorized_keys on RHEL/CentOS
|
||||
|
|
|
|||
5
rpminspect.yaml
Normal file
5
rpminspect.yaml
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
---
|
||||
debuginfo:
|
||||
ignore:
|
||||
- /usr/share/ignition/ignition-validate-*-unknown-linux-gnu-static
|
||||
|
||||
3
sources
3
sources
|
|
@ -1 +1,2 @@
|
|||
SHA512 (ignition-2.14.0.tar.gz) = e66d42bcfc516055f61abd1808e7ed1bdb4bf4e99b69c16ab9031be173a709c5864e74f23033cb33288e758b2f98a1dd878ef1aa802220afa504997fc3440af3
|
||||
SHA512 (ignition-2.27.0.tar.gz) = 7f1ad2da57a196ba0d01b7f2f886f1484edb1f48b8f295f1ad9a4ef9ba2801f0d9d3e9701ec266b4a2446bbf182c50c6733b5ca069ac0c749d77ed342d6a6a9e
|
||||
SHA512 (ignition-edge-b6c8245.tar.gz) = fb823a7c87c7014fcb38566fcd41b11bd38ff27e1ca2bfe6b76111bbabab0d917bc7ba56af450eab434d1907a056b0b1a0fcd6d29e456a4ba2985ddf74efb155
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue