diff --git a/containment-tik-img-to-rpm.spec b/containment-tik-img-to-rpm.spec index 0d43dcc..bc30757 100644 --- a/containment-tik-img-to-rpm.spec +++ b/containment-tik-img-to-rpm.spec @@ -31,6 +31,7 @@ Requires: coreutils Requires: gawk Requires: jq Requires: perl-DateTime-Format-DateParse +Requires: udev Conflicts: containment-rpm %description diff --git a/image.spec.in b/image.spec.in index 81aeb5b..99ba3ee 100644 --- a/image.spec.in +++ b/image.spec.in @@ -17,9 +17,8 @@ This package contains the __OS_NAME__ image for tik. %package repart-bundle Summary: Package with __OS_NAME__ tik systemd-repart bundle Requires: tik -BuildRequires: udev +BuildRequires: udev BuildRequires: xz -BuildRequires: systemd-repart-branding-Aeon BuildRequires: coreutils %description repart-bundle @@ -38,7 +37,6 @@ install -p -D -m 644 %{SOURCE0} $RPM_BUILD_ROOT%{_prefix}/lib/tik/img/%{name}.%{ install -d -m 644 $RPM_BUILD_ROOT%{_prefix}/lib/tik/img/%{name}.%{version} install -p -D -m 644 %(basename ${SOURCE0} .raw.xz).root-%{_arch}.raw $RPM_BUILD_ROOT%{_prefix}/lib/tik/img/%{name}.%{version}/ install -d -m 644 $RPM_BUILD_ROOT%{_prefix}/lib/tik/img/%{name}.%{version}/repart.d -install -p -D -m 644 %{_prefix}/lib/repart.d/* $RPM_BUILD_ROOT%{_prefix}/lib/tik/img/%{name}.%{version}/repart.d %clean rm -rf $RPM_BUILD_ROOT