forked from pool/ignition
Accepting request 734560 from devel:kubic:ignition
- Update to version 2.0.1+git20190925.641ec6a: * selinux: use /run/systemd/relabel-extra.d for etc * resource/url: Don't use a tmpfile in FetchToBuffer * resource/url: use only needed ifaces in fetchFrom* * resource/url: make FetchFrom* private * Add a `fetch` stage * build: Add `make install` * tests: fix bb tests for size/start 0 * Continue on empty GPT partition label * files/selinux: deglob user/group related paths * stages/files: relabel masking symlinks for systemd * engine: Write `/run/ignition.json` atomically * vendor: Add github.com/google/renameio * stages/filesystems: drop stray debug print * doc/supported-platforms: mention qemu version requirements * Source build file correctly * resource/url: update schema version in Accept header * fix check path mount - Drop 0001-Continue-on-empty-GPT-partition-label.patch: Added upstream OBS-URL: https://build.opensuse.org/request/show/734560 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/ignition?expand=0&rev=5
This commit is contained in:
commit
b0ed1d7aa3
@ -1,23 +0,0 @@
|
|||||||
commit 8009e46dc1d43f075740025d15a91cbcfd91cec2
|
|
||||||
Author: Ignaz Forster <iforster@suse.com>
|
|
||||||
Date: Mon Sep 2 19:14:18 2019 +0200
|
|
||||||
|
|
||||||
Continue on empty GPT partition label
|
|
||||||
|
|
||||||
In case no GPT partition label is set don't abort execution.
|
|
||||||
|
|
||||||
diff --git a/internal/exec/util/blkid.c b/internal/exec/util/blkid.c
|
|
||||||
index 7762d57..35e876c 100644
|
|
||||||
--- a/internal/exec/util/blkid.c
|
|
||||||
+++ b/internal/exec/util/blkid.c
|
|
||||||
@@ -201,7 +201,9 @@ static result_t extract_part_info(blkid_partition part, struct partition_info *i
|
|
||||||
// label
|
|
||||||
ctmp = blkid_partition_get_name(part);
|
|
||||||
err = checked_copy(info->label, ctmp, PART_INFO_BUF_SIZE);
|
|
||||||
- if (err)
|
|
||||||
+ if (err == RESULT_LOOKUP_FAILED)
|
|
||||||
+ strcpy(info->label, "");
|
|
||||||
+ else if (err)
|
|
||||||
return err;
|
|
||||||
|
|
||||||
// uuid
|
|
@ -1,6 +1,6 @@
|
|||||||
<servicedata>
|
<servicedata>
|
||||||
<service name="tar_scm">
|
<service name="tar_scm">
|
||||||
<param name="url">git://github.com/coreos/ignition.git</param>
|
<param name="url">git://github.com/coreos/ignition.git</param>
|
||||||
<param name="changesrevision">dedd8ddd5da76a78e630533d87d43b2a4a323e22</param>
|
<param name="changesrevision">641ec6a44062f956bf1d46cf10824032a1996590</param>
|
||||||
</service>
|
</service>
|
||||||
</servicedata>
|
</servicedata>
|
@ -1,3 +0,0 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
|
||||||
oid sha256:510da22f9d209b7b8a378f6a55d1c309f52307c6b08f0d1ce56099143ca6f14c
|
|
||||||
size 594992
|
|
3
ignition-2.0.1+git20190925.641ec6a.tar.xz
Normal file
3
ignition-2.0.1+git20190925.641ec6a.tar.xz
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
version https://git-lfs.github.com/spec/v1
|
||||||
|
oid sha256:37197325d60c3634362273f6ba7dc87b1171ea0d094cd69d85eadfd2fae5313e
|
||||||
|
size 599120
|
@ -1,3 +1,27 @@
|
|||||||
|
-------------------------------------------------------------------
|
||||||
|
Fri Sep 27 11:17:00 UTC 2019 - kukuk@suse.de
|
||||||
|
|
||||||
|
- Update to version 2.0.1+git20190925.641ec6a:
|
||||||
|
* selinux: use /run/systemd/relabel-extra.d for etc
|
||||||
|
* resource/url: Don't use a tmpfile in FetchToBuffer
|
||||||
|
* resource/url: use only needed ifaces in fetchFrom*
|
||||||
|
* resource/url: make FetchFrom* private
|
||||||
|
* Add a `fetch` stage
|
||||||
|
* build: Add `make install`
|
||||||
|
* tests: fix bb tests for size/start 0
|
||||||
|
* Continue on empty GPT partition label
|
||||||
|
* files/selinux: deglob user/group related paths
|
||||||
|
* stages/files: relabel masking symlinks for systemd
|
||||||
|
* engine: Write `/run/ignition.json` atomically
|
||||||
|
* vendor: Add github.com/google/renameio
|
||||||
|
* stages/filesystems: drop stray debug print
|
||||||
|
* doc/supported-platforms: mention qemu version requirements
|
||||||
|
* Source build file correctly
|
||||||
|
* resource/url: update schema version in Accept header
|
||||||
|
* fix check path mount
|
||||||
|
- Drop 0001-Continue-on-empty-GPT-partition-label.patch: Added
|
||||||
|
upstream
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Sep 02 16:34:22 UTC 2019 - iforster@suse.de
|
Mon Sep 02 16:34:22 UTC 2019 - iforster@suse.de
|
||||||
|
|
||||||
|
@ -17,14 +17,13 @@
|
|||||||
|
|
||||||
|
|
||||||
Name: ignition
|
Name: ignition
|
||||||
Version: 2.0.1+git20190802.d523754
|
Version: 2.0.1+git20190925.641ec6a
|
||||||
Release: 0
|
Release: 0
|
||||||
Summary: First boot installer and configuration tool
|
Summary: First boot installer and configuration tool
|
||||||
License: Apache-2.0
|
License: Apache-2.0
|
||||||
Group: System/Management
|
Group: System/Management
|
||||||
URL: https://github.com/coreos/ignition
|
URL: https://github.com/coreos/ignition
|
||||||
Source: %{name}-%{version}.tar.xz
|
Source: %{name}-%{version}.tar.xz
|
||||||
Patch1: 0001-Continue-on-empty-GPT-partition-label.patch
|
|
||||||
Requires: dracut
|
Requires: dracut
|
||||||
BuildRequires: dracut
|
BuildRequires: dracut
|
||||||
BuildRequires: libblkid-devel
|
BuildRequires: libblkid-devel
|
||||||
@ -41,7 +40,6 @@ applies the configuration.
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch1 -p1
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
sed -i -e 's|go build -ldflags|go build -buildmode=pie -ldflags|g' build
|
sed -i -e 's|go build -ldflags|go build -buildmode=pie -ldflags|g' build
|
||||||
|
Loading…
Reference in New Issue
Block a user