From cfcfe34c3607e9f5a0b1dfcc76be0c4d3f4621d1 Mon Sep 17 00:00:00 2001 From: Jonathan Lebon Date: May 03 2019 19:54:11 +0000 Subject: Adapt distro.selinuxRelabel flag path for v2/ move I.e. https://github.com/coreos/ignition/pull/791. Otherwise, this whole illusion of happy coexistence with SELinux all comes crashing down. --- diff --git a/ignition.spec b/ignition.spec index c92c364..89d351c 100644 --- a/ignition.spec +++ b/ignition.spec @@ -74,7 +74,7 @@ Name: ignition Version: 2.0.0 -Release: beta.2.git%{shortcommit}%{?dist} +Release: beta.3.git%{shortcommit}%{?dist} Summary: First boot installer and configuration tool License: ASL 2.0 and BSD URL: https://%{provider_prefix} @@ -373,7 +373,7 @@ ln -s ../../../ src/%{provider_prefix} export LDFLAGS=%{ldflags} # Enable SELinux relabeling -export LDFLAGS+=' -X github.com/coreos/ignition/internal/distro.selinuxRelabel=true ' +export LDFLAGS+=' -X github.com/coreos/ignition/v2/internal/distro.selinuxRelabel=true ' # Modules, baby! export GO111MODULE=on @@ -504,6 +504,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath} %endif %changelog +* Fri May 03 2019 Jonathan Lebon - 2.0.0-beta.3.git910e6c6 +- Adapt distro.selinuxRelabel flag path for v2/ move + * Fri May 03 2019 Jonathan Lebon - 2.0.0-beta.2.git910e6c6 - Bump ignition-dracut dropping CoreOS integration files