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.
This commit is contained in:
Jonathan Lebon 2019-05-03 15:51:20 -04:00
parent 5df9bc031d
commit cfcfe34c36

View File

@ -74,7 +74,7 @@
Name: ignition Name: ignition
Version: 2.0.0 Version: 2.0.0
Release: beta.2.git%{shortcommit}%{?dist} Release: beta.3.git%{shortcommit}%{?dist}
Summary: First boot installer and configuration tool Summary: First boot installer and configuration tool
License: ASL 2.0 and BSD License: ASL 2.0 and BSD
URL: https://%{provider_prefix} URL: https://%{provider_prefix}
@ -373,7 +373,7 @@ ln -s ../../../ src/%{provider_prefix}
export LDFLAGS=%{ldflags} export LDFLAGS=%{ldflags}
# Enable SELinux relabeling # 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! # Modules, baby!
export GO111MODULE=on export GO111MODULE=on
@ -504,6 +504,9 @@ export GOPATH=%{buildroot}/%{gopath}:$(pwd)/vendor:%{gopath}
%endif %endif
%changelog %changelog
* Fri May 03 2019 Jonathan Lebon <jonathan@jlebon.com> - 2.0.0-beta.3.git910e6c6
- Adapt distro.selinuxRelabel flag path for v2/ move
* Fri May 03 2019 Jonathan Lebon <jonathan@jlebon.com> - 2.0.0-beta.2.git910e6c6 * Fri May 03 2019 Jonathan Lebon <jonathan@jlebon.com> - 2.0.0-beta.2.git910e6c6
- Bump ignition-dracut dropping CoreOS integration files - Bump ignition-dracut dropping CoreOS integration files