forked from pool/ignition
This commit is contained in:
parent
94661010f4
commit
e112a78466
@ -13,8 +13,6 @@
|
||||
# published by the Open Source Initiative.
|
||||
|
||||
# Please submit bugfixes or comments via http://bugs.opensuse.org/
|
||||
#
|
||||
|
||||
|
||||
Name: ignition
|
||||
Version: 2.0.0~beta+git20190429.1eeb201
|
||||
@ -24,8 +22,10 @@ Summary: First boot installer and configuration tool
|
||||
License: Apache-2.0
|
||||
URL: https://github.com/coreos/ignition
|
||||
Source: %{name}-%{version}.tar.xz
|
||||
BuildRequires: libblkid-devel
|
||||
Requires: dracut
|
||||
BuildRequires: dracut
|
||||
BuildRequires: go
|
||||
BuildRequires: libblkid-devel
|
||||
|
||||
%description
|
||||
Ignition is an utility to manipulate disks and configuration files
|
||||
@ -36,7 +36,6 @@ On first boot, Ignition reads its configuration from a source of truth
|
||||
(remote URL, network metadata service, hypervisor bridge, etc.) and
|
||||
applies the configuration.
|
||||
|
||||
|
||||
%prep
|
||||
%setup -q
|
||||
|
||||
@ -46,7 +45,6 @@ sed -i -e 's|go build -ldflags|go build -mod vendor -buildmode=pie -ldflags|g' b
|
||||
env VERSION=%{version} bash -x ./build
|
||||
|
||||
%install
|
||||
|
||||
install -d %{buildroot}%{_prefix}/lib/dracut/modules.d/30ignition
|
||||
install -p -m 0755 bin/*/ignition %{buildroot}%{_prefix}/lib/dracut/modules.d/30ignition
|
||||
install -d -p %{buildroot}%{_bindir}
|
||||
@ -55,7 +53,7 @@ install -p -m 0755 bin/*/ignition-validate %{buildroot}%{_bindir}
|
||||
%files
|
||||
%license LICENSE
|
||||
%doc README.md doc
|
||||
%{_prefix}/lib/dracut
|
||||
%{_prefix}/lib/dracut/modules.d/30ignition
|
||||
%{_bindir}/ignition-validate
|
||||
|
||||
%changelog
|
||||
|
Loading…
Reference in New Issue
Block a user