Browse Source

Merge pull request #648 from mstorchak/lvm2

lvm2 improvements
Daniel Golle 10 years ago
parent
commit
21f598178e
1 changed files with 2 additions and 0 deletions
  1. 2
    0
      utils/lvm2/Makefile

+ 2
- 0
utils/lvm2/Makefile View File

@@ -76,9 +76,11 @@ define Package/lvm2/install
76 76
 	$(INSTALL_DIR) $(1)/sbin
77 77
 	$(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/lvm $(1)/sbin
78 78
 	$(INSTALL_DIR) $(1)/etc/lvm
79
+	$(SED) '/^[[:space:]]*\(#\|$$$$\)/d' $(PKG_BUILD_DIR)/conf/example.conf
79 80
 	$(INSTALL_CONF) $(PKG_BUILD_DIR)/conf/example.conf $(1)/etc/lvm/lvm.conf
80 81
 	$(INSTALL_DIR) $(1)/etc/init.d
81 82
 	$(INSTALL_BIN) ./files/lvm2.init $(1)/etc/init.d/lvm2
83
+	$(FIND) $(PKG_INSTALL_DIR)/usr/sbin/ -type l -exec $(CP) -a {} $(1)/sbin/ \;
82 84
 endef
83 85
 
84 86
 define Package/lvm2/conffiles