mirror of
git://sourceware.org/git/lvm2.git
synced 2025-01-10 05:18:36 +03:00
Install generated 10-dm.rules from builddir.
Patch just check whether file is generated in builddir otherwise srcdir file is used.
This commit is contained in:
parent
78024e7be6
commit
4aac2c543b
@ -40,7 +40,8 @@ install_device-mapper: $(DM_RULES)
|
||||
@for f in $(DM_RULES); \
|
||||
do \
|
||||
$(RM) $(udevdir)/$$f; \
|
||||
$(INSTALL) -c -D $(OWNER) $(GROUP) -m 644 $(srcdir)/$$f $(udevdir)/$$f; \
|
||||
if test -f $$f; then file=$$f; else file=$(srcdir)/$$f; fi; \
|
||||
$(INSTALL) -c -D $(OWNER) $(GROUP) -m 644 $$file $(udevdir)/$$f; \
|
||||
done
|
||||
|
||||
install: install_lvm2 install_device-mapper
|
||||
|
Loading…
Reference in New Issue
Block a user