lvm2: strip lvm.conf, ipk size down by ~20k 648/head
authorMaxim Storchak <m.storchak@gmail.com>
Sun, 14 Dec 2014 20:41:04 +0000 (22:41 +0200)
committerMaxim Storchak <m.storchak@gmail.com>
Sun, 14 Dec 2014 21:00:03 +0000 (23:00 +0200)
Signed-off-by: Maxim Storchak <m.storchak@gmail.com>
utils/lvm2/Makefile

index 21d3082545cb4650e4560274d607492f41342795..6f72ee4eadfea056d4a2a72752a009969a98e19e 100644 (file)
@@ -76,6 +76,7 @@ define Package/lvm2/install
        $(INSTALL_DIR) $(1)/sbin
        $(INSTALL_BIN) $(PKG_BUILD_DIR)/tools/lvm $(1)/sbin
        $(INSTALL_DIR) $(1)/etc/lvm
+       $(SED) '/^[[:space:]]*\(#\|$$$$\)/d' $(PKG_BUILD_DIR)/conf/example.conf
        $(INSTALL_CONF) $(PKG_BUILD_DIR)/conf/example.conf $(1)/etc/lvm/lvm.conf
        $(INSTALL_DIR) $(1)/etc/init.d
        $(INSTALL_BIN) ./files/lvm2.init $(1)/etc/init.d/lvm2