diff --git a/ignition.changes b/ignition.changes index 8953678..8bd4d87 100644 --- a/ignition.changes +++ b/ignition.changes @@ -1,3 +1,9 @@ +------------------------------------------------------------------- +Mon Mar 18 17:36:58 UTC 2019 - Ignaz Forster + +- Copy binary to dracut module directory as required by + https://github.com/coreos/ignition-dracut/commit/b11553f9e2b530fbbb5a2504bc72b364829c879c + ------------------------------------------------------------------- Mon Mar 04 14:10:54 UTC 2019 - kukuk@suse.de diff --git a/ignition.spec b/ignition.spec index 49f7d21..15058d5 100644 --- a/ignition.spec +++ b/ignition.spec @@ -44,14 +44,16 @@ applies the configuration. env VERSION=%{version} bash -x ./build %install + +install -d %{buildroot}%{_prefix}/lib/dracut/modules.d +install -p -m 0755 bin/*/ignition %{buildroot}%{_prefix}/lib/dracut/modules.d install -d -p %{buildroot}%{_bindir} -install -p -m 0755 bin/*/ignition %{buildroot}%{_bindir} install -p -m 0755 bin/*/ignition-validate %{buildroot}%{_bindir} %files %license LICENSE %doc README.md doc -%{_bindir}/ignition +%{_prefix}/lib/dracut %{_bindir}/ignition-validate %changelog