From: Maxim Storchak Date: Sun, 14 Dec 2014 20:41:04 +0000 (+0200) Subject: lvm2: strip lvm.conf, ipk size down by ~20k X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=c92de8b441461ae7afe4b340b23ccdd985278f0c;p=feed%2Fpackages.git lvm2: strip lvm.conf, ipk size down by ~20k Signed-off-by: Maxim Storchak --- diff --git a/utils/lvm2/Makefile b/utils/lvm2/Makefile index 21d3082545..6f72ee4ead 100644 --- a/utils/lvm2/Makefile +++ b/utils/lvm2/Makefile @@ -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