From 1ab3241eee2b9cec36ce2b446950c16b1818107a53c033d06bd875cd316d7342 Mon Sep 17 00:00:00 2001 From: Ignaz Forster Date: Mon, 18 Mar 2019 17:39:14 +0000 Subject: [PATCH] - Copy binary to dracut module directory as required by https://github.com/coreos/ignition-dracut/commit/b11553f9e2b530fbbb5a2504bc72b364829c879c OBS-URL: https://build.opensuse.org/package/show/devel:kubic:ignition/ignition?expand=0&rev=10 --- ignition.changes | 6 ++++++ ignition.spec | 6 ++++-- 2 files changed, 10 insertions(+), 2 deletions(-) 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