1
0
mirror of git://sourceware.org/git/lvm2.git synced 2024-12-21 13:34:40 +03:00

dmsetup: Also install dmstats.

This commit is contained in:
Alasdair G Kergon 2015-08-10 00:35:15 +01:00
parent d62a8d2f15
commit 41001dbfdd
2 changed files with 4 additions and 0 deletions

View File

@ -398,7 +398,9 @@ for the kernel device-mapper.
%defattr(-,root,root,-) %defattr(-,root,root,-)
%doc COPYING COPYING.LIB WHATS_NEW_DM VERSION_DM README INSTALL %doc COPYING COPYING.LIB WHATS_NEW_DM VERSION_DM README INSTALL
%attr(755,root,root) %{_sbindir}/dmsetup %attr(755,root,root) %{_sbindir}/dmsetup
%{_sbindir}/dmstats
%{_mandir}/man8/dmsetup.8.gz %{_mandir}/man8/dmsetup.8.gz
%{_mandir}/man8/dmstats.8.gz
%if %{enable_udev} %if %{enable_udev}
%doc udev/12-dm-permissions.rules %doc udev/12-dm-permissions.rules
%dir %{_udevbasedir} %dir %{_udevbasedir}

View File

@ -204,9 +204,11 @@ install_tools_static: lvm.static
install_dmsetup_dynamic: dmsetup install_dmsetup_dynamic: dmsetup
$(INSTALL_PROGRAM) -D $< $(sbindir)/$(<F) $(INSTALL_PROGRAM) -D $< $(sbindir)/$(<F)
$(LN_S) -f $(<F) $(sbindir)/dmstats
install_dmsetup_static: dmsetup.static install_dmsetup_static: dmsetup.static
$(INSTALL_PROGRAM) -D $< $(staticdir)/$(<F) $(INSTALL_PROGRAM) -D $< $(staticdir)/$(<F)
$(LN_S) -f $(<F) $(sbindir)/dmstats
install_device-mapper: $(INSTALL_DMSETUP_TARGETS) install_device-mapper: $(INSTALL_DMSETUP_TARGETS)