summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJo-Philipp Wich <jow@openwrt.org>2011-01-16 22:18:35 +0000
committerJo-Philipp Wich <jow@openwrt.org>2011-01-16 22:18:35 +0000
commitbad3c4865d0302a10266105bac43af44dd926382 (patch)
tree5dce41528ea6e9936070e5ef413a6e03527a3adb
parentb89c083161ee3fbc85c7306255ab4b77c0648afb (diff)
downloadmtk-20170518-bad3c4865d0302a10266105bac43af44dd926382.zip
mtk-20170518-bad3c4865d0302a10266105bac43af44dd926382.tar.gz
mtk-20170518-bad3c4865d0302a10266105bac43af44dd926382.tar.bz2
set Installed-Size to 0 when preparing control, its substituted by ipkg-build later on
SVN-Revision: 25022
-rw-r--r--include/package-ipkg.mk3
1 files changed, 1 insertions, 2 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index ce979a1..f537fb2 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -90,7 +90,6 @@ ifeq ($(DUMP),)
$(call Package/$(1)/install,$$(IDIR_$(1)))
-find $$(IDIR_$(1)) -name 'CVS' -o -name '.svn' -o -name '.#*' | $(XARGS) rm -rf
$(RSTRIP) $$(IDIR_$(1))
- SIZE=`cd $$(IDIR_$(1)); du -bs --exclude=./CONTROL . 2>/dev/null | cut -f1`; \
( \
echo "Package: $(1)"; \
echo "Version: $(VERSION)"; \
@@ -107,7 +106,7 @@ ifeq ($(DUMP),)
echo "Priority: $(PRIORITY)"; \
echo "Maintainer: $(MAINTAINER)"; \
echo "Architecture: $(PKGARCH)"; \
- echo "Installed-Size: $$$$SIZE"; \
+ echo "Installed-Size: 0"; \
echo -n "Description: "; $(SH_FUNC) getvar $(call shvar,Package/$(1)/description) | sed -e 's,^[[:space:]]*, ,g'; \
) > $$(IDIR_$(1))/CONTROL/control
chmod 644 $$(IDIR_$(1))/CONTROL/control