Skip to contentSkip to conversation

multipath-tools/kpartx Makefile kpartx.conf

PATCH [email protected] 1 participant 1 message Oct 22, 2007 Device mapper

lore
Share & tools
lore
#0 lore raw

CVSROOT: /cvs/dm
Module name: multipath-tools
Branch: RHEL4_FC5
Changes by: [email protected] 2007-10-22 18:44:31

Modified files:
kpartx : Makefile
Added files:
kpartx : kpartx.conf

Log message:
add default kpartx.conf.

Patches:
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/kpartx/kpartx.conf.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=NONE&r2=1.1.2.1
http://sourceware.org/cgi-bin/cvsweb.cgi/multipath-tools/kpartx/Makefile.diff?cvsroot=dm&only_with_tag=RHEL4_FC5&r1=1.5.2.1&r2=1.5.2.2

kpartx/Makefile +3 -0
@@ -43,6 +43,9 @@
 	install -m 755 $(EXEC).static $(DESTDIR)$(bindir)
 	install -d $(DESTDIR)$(mandir)
 	install -m 644 $(EXEC).8 $(DESTDIR)$(mandir)
+	@if [ ! -e $(DESTDIR)/etc/kpartx.conf ]; then \
+		install -m 644 kpartx.conf $(DESTDIR)/etc/kpartx.conf; \
+	fi
 
 uninstall:
 	rm -f $(DESTDIR)$(bindir)/$(EXEC)