summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlasdair G Kergon <agk@redhat.com>2015-08-10 00:35:15 +0100
committerAlasdair G Kergon <agk@redhat.com>2015-08-10 00:35:15 +0100
commit41001dbfdd54674ead6051d06a8b89701dce68c5 (patch)
treed81a30888e70337957a053067cf085d763ad139e
parentd62a8d2f1535468c75379b877844bdb7666c8c9e (diff)
downloadlvm2-41001dbfdd54674ead6051d06a8b89701dce68c5.tar.gz
dmsetup: Also install dmstats.
-rw-r--r--spec/packages.inc2
-rw-r--r--tools/Makefile.in2
2 files changed, 4 insertions, 0 deletions
diff --git a/spec/packages.inc b/spec/packages.inc
index 2c0caa8b7..d7810679a 100644
--- a/spec/packages.inc
+++ b/spec/packages.inc
@@ -398,7 +398,9 @@ for the kernel device-mapper.
%defattr(-,root,root,-)
%doc COPYING COPYING.LIB WHATS_NEW_DM VERSION_DM README INSTALL
%attr(755,root,root) %{_sbindir}/dmsetup
+%{_sbindir}/dmstats
%{_mandir}/man8/dmsetup.8.gz
+%{_mandir}/man8/dmstats.8.gz
%if %{enable_udev}
%doc udev/12-dm-permissions.rules
%dir %{_udevbasedir}
diff --git a/tools/Makefile.in b/tools/Makefile.in
index cec74a9e7..d6e54f0ac 100644
--- a/tools/Makefile.in
+++ b/tools/Makefile.in
@@ -204,9 +204,11 @@ install_tools_static: lvm.static
install_dmsetup_dynamic: dmsetup
$(INSTALL_PROGRAM) -D $< $(sbindir)/$(<F)
+ $(LN_S) -f $(<F) $(sbindir)/dmstats
install_dmsetup_static: dmsetup.static
$(INSTALL_PROGRAM) -D $< $(staticdir)/$(<F)
+ $(LN_S) -f $(<F) $(sbindir)/dmstats
install_device-mapper: $(INSTALL_DMSETUP_TARGETS)