From 18181c5b0672eb3179f385452f2e9733f3014841 Mon Sep 17 00:00:00 2001 From: jow Date: Sun, 16 Jan 2011 22:26:58 +0000 Subject: [PATCH] [backfire] backport r25022 git-svn-id: svn://svn.openwrt.org/openwrt/branches/backfire@25024 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- include/package-ipkg.mk | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk index 184f53c61..cc1c8eb13 100644 --- a/include/package-ipkg.mk +++ b/include/package-ipkg.mk @@ -104,7 +104,7 @@ ifeq ($(DUMP),) echo "Priority: $(PRIORITY)"; \ echo "Maintainer: $(MAINTAINER)"; \ echo "Architecture: $(PKGARCH)"; \ - echo "Installed-Size: 1"; \ + echo "Installed-Size: 0"; \ echo -n "Description: "; getvar $(call shvar,Package/$(1)/description) | sed -e 's,^[[:space:]]*, ,g'; \ ) >> $$(IDIR_$(1))/CONTROL/control chmod 644 $$(IDIR_$(1))/CONTROL/control @@ -115,8 +115,6 @@ ifeq ($(DUMP),) mkdir -p $(PACKAGE_DIR) -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`; \ - $(SED) "s|^\(Installed-Size:\).*|\1 $$$$SIZE|g" $$(IDIR_$(1))/CONTROL/control ifneq ($$(KEEP_$(1)),) @( \