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