summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJan Rękorajski2009-03-23 12:59:05 (GMT)
committercvs2git2012-06-24 12:13:13 (GMT)
commit927d0cdfb600bc95325750f96c1dd688b1498ceb (patch)
tree621e7f1cb8b13c3b33fa837c522fe42a890a5adf
parent23904b26b611619d3ab34cfec5016744ab463368 (diff)
downloadcryptsetup-927d0cdfb600bc95325750f96c1dd688b1498ceb.zip
cryptsetup-927d0cdfb600bc95325750f96c1dd688b1498ceb.tar.gz
- put programs for initrd into common directory _libdir/initrd
Changed files: cryptsetup.spec -> 1.41
-rw-r--r--cryptsetup.spec5
1 files changed, 3 insertions, 2 deletions
diff --git a/cryptsetup.spec b/cryptsetup.spec
index c3e4300..445fe44 100644
--- a/cryptsetup.spec
+++ b/cryptsetup.spec
@@ -194,7 +194,8 @@ ln -sf /%{_lib}/$(basename $RPM_BUILD_ROOT/%{_lib}/libcryptsetup.so.*.*.*) \
$RPM_BUILD_ROOT%{_libdir}/libcryptsetup.so
%if %{with initrd}
-install cryptsetup-initrd $RPM_BUILD_ROOT%{_sbindir}
+install -d $RPM_BUILD_ROOT%{_libdir}/initrd
+install cryptsetup-initrd $RPM_BUILD_ROOT%{_libdir}/initrd/cryptsetup
%endif
install %{SOURCE1} $RPM_BUILD_ROOT%{_datadir}/initramfs-tools/conf-hooks.d/cryptsetup
@@ -231,7 +232,7 @@ rm -rf $RPM_BUILD_ROOT
%if %{with initrd}
%files initrd
%defattr(644,root,root,755)
-%attr(755,root,root) %{_sbindir}/cryptsetup-initrd
+%attr(755,root,root) %{_libdir}/initrd/cryptsetup
%endif
%files initramfs