Merged update from upstream sources

This is an automated DistroBaker update from upstream sources.
If you do not know what this is about or would like to opt out,
contact the OSCI team.

Source: https://src.fedoraproject.org/rpms/rust-coreos-installer.git#8c35534756265bb7a73e0ae9f04c3fbae3080157
This commit is contained in:
DistroBaker 2020-10-30 03:11:35 +01:00
parent a2fdddcd59
commit 877baaf0d3
7 changed files with 7 additions and 206 deletions

1
.gitignore vendored
View File

@ -6,3 +6,4 @@
/coreos-installer-0.5.0.crate
/coreos-installer-0.6.0.crate
/coreos-installer-0.7.0.crate
/coreos-installer-0.7.2.crate

View File

@ -1,50 +0,0 @@
From 3da090aabc57a8837db08566967042585be3762b Mon Sep 17 00:00:00 2001
From: Dusty Mabe <dusty@dustymabe.com>
Date: Thu, 1 Oct 2020 16:47:40 -0400
Subject: [PATCH 1/3] signing-keys: add Fedora 33 key
---
src/signing-keys.asc | 30 ++++++++++++++++++++++++++++++
1 file changed, 30 insertions(+)
diff --git a/src/signing-keys.asc b/src/signing-keys.asc
index 4ba94a7..00b8ac2 100644
--- a/src/signing-keys.asc
+++ b/src/signing-keys.asc
@@ -89,3 +89,33 @@ Akz7IGUt0gy1MzPTyBvnB+WgD1I+IQXXsJbhP5+d+d3mOnqsd6oDM/grKBzrhoUe
oNadc9uzjqKlOrmrdIR3Bz38SSiWlde5fu6xPqJdmGZRNjXtcyJlbSPVDIloxw==
=QWRO
-----END PGP PUBLIC KEY BLOCK-----
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Comment: RPM-GPG-KEY-fedora-33-primary
+
+mQINBF4wBvsBEADQmcGbVUbDRUoXADReRmOOEMeydHghtKC9uRs9YNpGYZIB+bie
+bGYZmflQayfh/wEpO2W/IZfGpHPL42V7SbyvqMjwNls/fnXsCtf4LRofNK8Qd9fN
+kYargc9R7BEz/mwXKMiRQVx+DzkmqGWy2gq4iD0/mCyf5FdJCE40fOWoIGJXaOI1
+Tz1vWqKwLS5T0dfmi9U4Tp/XsKOZGvN8oi5h0KmqFk7LEZr1MXarh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+fdcjazDIBLIxwJu5QwvTNW8lOLnJ46g4sf1WJoUdNTbR0BaC7HHj1inVWi0p7IuN
+66EPGzJOSjLK+vW+J0ncPDEgLCV74RF/0nR5fVTdrmiopPrzFuguHf9S9gYI3Zun
+Yl8FJUu4kRO6JPPTicUXWX+8XZmE94aK14RCJL23nOSi8T1eW8JLW43dCBRO8QUE
+Aso1t2pypm/1zZexJdOV8yGME3g5l2W6PLgpz58DBECgqc/kda+VWgEAp7rO2A==
+=EPL3
+-----END PGP PUBLIC KEY BLOCK-----
--
2.28.0

View File

@ -1,51 +0,0 @@
From 293db97bfdccccf203725fd6ccae01736947a7a1 Mon Sep 17 00:00:00 2001
From: Dusty Mabe <dusty@dustymabe.com>
Date: Thu, 1 Oct 2020 16:49:31 -0400
Subject: [PATCH 2/3] signing-keys: add Fedora 34 key
---
src/signing-keys.asc | 31 +++++++++++++++++++++++++++++++
1 file changed, 31 insertions(+)
diff --git a/src/signing-keys.asc b/src/signing-keys.asc
index 00b8ac2..c28c69a 100644
--- a/src/signing-keys.asc
+++ b/src/signing-keys.asc
@@ -119,3 +119,34 @@ Yl8FJUu4kRO6JPPTicUXWX+8XZmE94aK14RCJL23nOSi8T1eW8JLW43dCBRO8QUE
Aso1t2pypm/1zZexJdOV8yGME3g5l2W6PLgpz58DBECgqc/kda+VWgEAp7rO2A==
=EPL3
-----END PGP PUBLIC KEY BLOCK-----
+
+-----BEGIN PGP PUBLIC KEY BLOCK-----
+Comment: RPM-GPG-KEY-fedora-34-primary
+
+mQINBF8sAZIBEADKYvLg/5FdLXcVryAFd7Q8qrJq23R7ebxUT1u48Dc8xrsfYJZq
+aMcna/xw47wZNyek4Z6YpzqfmnjR7H8yRH/1hAPi/ixYnA6DVL7O3eGE5lYGJzN3
+E2ILTzBOI9o/pavvtOqW9N5WIus8cqSdA921v8YPzr3/BTKgGqC9biOrMA+3sNoe
+U4T+dztLg20SyBTr/rBH0eui2p/ipvIRuJvHLTKTubR+yG804yupI69M6qFBDebT
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8NNwt3ywG3NV/BSSkvSSStGUNcQyGRi3O/x/BEIRtWRxgoNO9o3jE
+xtWFq3G5+gKY+wfYz/cTGlsWPDG7Fzx4lNisIGATKtLNqdedl7LASPK93z0XDdnS
+kfKF0HrT9rdzIKRu4xWatUVIq/65Gv7nsavdsRAQL/Y0jl6sjjQac/Te5J0fByHY
+6tGG1W0UWTd0rzFWitEZI/64/Bs83rGhjJNLqWXItZ5VqLe0TWzuxvRFLfM7oX8r
+n5Si4l7NpIJubWPqjPoCoP5lsS8=
+=V2FG
+-----END PGP PUBLIC KEY BLOCK-----
--
2.28.0

View File

@ -1,54 +0,0 @@
From 802b2f1aa5fdf8af1f296955338279846a31865c Mon Sep 17 00:00:00 2001
From: Dusty Mabe <dusty@dustymabe.com>
Date: Thu, 1 Oct 2020 16:49:48 -0400
Subject: [PATCH 3/3] signing-keys: drop Fedora 31 key
---
src/signing-keys.asc | 31 -------------------------------
1 file changed, 31 deletions(-)
diff --git a/src/signing-keys.asc b/src/signing-keys.asc
index c28c69a..7eb5f6c 100644
--- a/src/signing-keys.asc
+++ b/src/signing-keys.asc
@@ -29,37 +29,6 @@ dzdA27UUYjWvx42w9menJwh/0jeQcTecIUd0d0rFcw/c1pvgMMl/Q73yzKgKYw==
=zbHE
-----END PGP PUBLIC KEY BLOCK-----
------BEGIN PGP PUBLIC KEY BLOCK-----
-Comment: RPM-GPG-KEY-fedora-31-primary
-
-mQINBFxq3QMBEADUhGfCfP1ijiggBuVbR/pBDSWMC3TWbfC8pt7fhZkYrilzfWUM
-fTsikPymSriScONXP6DNyZ5r7tgrIVdVrJvRIqIFRO0mufp9HyfWKDO//Ctyp7OQ
-zYw6NVthO/aWpyFfJpj6s4iZsYGqf9gByV8brBB8v8jEsCtVOj1BU3bMbLkMsRI9
-+WiLjDYyvopqNBQuIe8ogxSxpYdbUz6+jxzfvhRoBzWdjITd//Gjd90kkrBOMWkO
-LTqO133OD1WMT08G5NuQ4KhjYsVvSbBpfdkTcNuP8gBP9L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lh6CM
-bJx/zlrOMzRumSzaOnKW9AOliviH4Rj89OmDifBEsQ0CewdHN9ly6g4ZFJJGYXJ5
-HTb5jdButTC3tDfvH8Z7dtXKdC4iqJCIxj698Xn8UjVefZQ2nbv5eXcZLfHtvbNB
-TTv1vvBV4G7aiHKYRSj7HmxhLBZC8Y/nmFAemOoOYDpR5eUmPmSbFayoLfRsFXmC
-HLs7cw==
-=6hRW
------END PGP PUBLIC KEY BLOCK-----
-
-----BEGIN PGP PUBLIC KEY BLOCK-----
Comment: RPM-GPG-KEY-fedora-32-primary
--
2.28.0

View File

@ -1,44 +0,0 @@
From 139c2db6083d7b5324ec7c06172a3941b8c2d59b Mon Sep 17 00:00:00 2001
From: Dusty Mabe <dusty@dustymabe.com>
Date: Tue, 6 Oct 2020 17:28:05 -0400
Subject: [PATCH] systemd: start coreos-installer service after
systemd-resolved
If the system is configured to use systemd-resolved (i.e.
systemd-resolved is enabled) then start coreos-installer after
systemd-resolved. Otherwise we get race conditions where
coreos-installer starts before resolved is up and we get errors like:
```
Starting Network Name Resolution...
[ OK ] Finished Network Manager Wait Online.
[ OK ] Reached target Network is Online.
Starting CoreOS Installer...
[ 12.949935] coreos-installer-service[889]: coreos-installer install /dev/sda --ignition-url https://dustymabe.fedorapeople.org/user-systemd.ign --insecure-ignition
[ 13.007728] coreos-installer-service[907]: Error: parsing arguments
[ 13.008549] coreos-installer-service[907]: Caused by: downloading source Ignition config https://dustymabe.fedorapeople.org/user-systemd.ign
[ 13.009746] coreos-installer-service[907]: Caused by: sending request for 'https://dustymabe.fedorapeople.org/user-systemd.ign' [ 13.011136] coreos-installer-service[907]: Caused by: error sending request for url (https://dustymabe.fedorapeople.org/user-systemd.ign): error trying to connect: dns error: failed to lookup address information: Temporary failure in
name resolution [ 13.013407] coreos-installer-service[907]: Caused by: error trying to connect: dns error: failed to lookup address information: Temporary failure in name resolution
[ 13.015006] coreos-installer-service[907]: Caused by: dns error: failed to lookup address information: Temporary failure in name resolution
[ 13.016399] coreos-installer-service[907]: Caused by: failed to lookup address information: Temporary failure in name resolution
[FAILED] Failed to start CoreOS Installer.
```
---
systemd/coreos-installer.service | 1 +
1 file changed, 1 insertion(+)
diff --git a/systemd/coreos-installer.service b/systemd/coreos-installer.service
index 0a38fd5..bf99df0 100644
--- a/systemd/coreos-installer.service
+++ b/systemd/coreos-installer.service
@@ -3,6 +3,7 @@ Description=CoreOS Installer
Before=coreos-installer.target
After=network-online.target
Wants=network-online.target
+After=systemd-resolved.service
ConditionKernelCommandLine=coreos.inst.install_dev
OnFailure=emergency.target
OnFailureJobMode=replace-irreversibly
--
2.28.0

View File

@ -7,8 +7,8 @@
%global crate coreos-installer
Name: rust-%{crate}
Version: 0.7.0
Release: 4%{?dist}
Version: 0.7.2
Release: 1%{?dist}
Summary: Installer for Fedora CoreOS and RHEL CoreOS
# Upstream license specification: Apache-2.0
@ -16,10 +16,6 @@ License: ASL 2.0
URL: https://crates.io/crates/coreos-installer
Source: %{crates_source}
Patch0: 0001-signing-keys-add-Fedora-33-key.patch
Patch1: 0002-signing-keys-add-Fedora-34-key.patch
Patch2: 0003-signing-keys-drop-Fedora-31-key.patch
Patch3: 0004-systemd-start-coreos-installer-service-after-systemd.patch
ExclusiveArch: %{rust_arches}
@ -118,6 +114,9 @@ RHEL CoreOS. It is not needed on other platforms.
%endif
%changelog
* Thu Oct 22 2020 Sohan Kunkerkar <skunkerk@redhat.com> - 0.7.2-1
- New release
* Tue Oct 06 2020 Dusty Mabe <dusty@dustymabe.com> - 0.7.0-4
- Backport commit to start coreos-installer service after systemd-resolved
- https://github.com/coreos/coreos-installer/pull/389

View File

@ -1 +1 @@
SHA512 (coreos-installer-0.7.0.crate) = 360618bc909398ae951ec18eac1c986c4078064f6c5164ec450b0b26feafb8abb6966a33957486c75116b44f97e1ee0d433d8d38ad53bce218e782682701cc81
SHA512 (coreos-installer-0.7.2.crate) = c02ca70f1f4633893cf99507b2ec1e8c7df5d1d44fa7a5137dd5bf0598562e29b924c59b6768ed21db26dba625fae797e2697b4fca036defc41bcf2825abb5c8