set Installed-Size to 0 when preparing control, its substituted by ipkg-build later on
SVN-Revision: 25022
This commit is contained in:
parent
b89c083161
commit
bad3c4865d
1 changed files with 1 additions and 2 deletions
|
@ -90,7 +90,6 @@ ifeq ($(DUMP),)
|
||||||
$(call Package/$(1)/install,$$(IDIR_$(1)))
|
$(call Package/$(1)/install,$$(IDIR_$(1)))
|
||||||
-find $$(IDIR_$(1)) -name 'CVS' -o -name '.svn' -o -name '.#*' | $(XARGS) rm -rf
|
-find $$(IDIR_$(1)) -name 'CVS' -o -name '.svn' -o -name '.#*' | $(XARGS) rm -rf
|
||||||
$(RSTRIP) $$(IDIR_$(1))
|
$(RSTRIP) $$(IDIR_$(1))
|
||||||
SIZE=`cd $$(IDIR_$(1)); du -bs --exclude=./CONTROL . 2>/dev/null | cut -f1`; \
|
|
||||||
( \
|
( \
|
||||||
echo "Package: $(1)"; \
|
echo "Package: $(1)"; \
|
||||||
echo "Version: $(VERSION)"; \
|
echo "Version: $(VERSION)"; \
|
||||||
|
@ -107,7 +106,7 @@ ifeq ($(DUMP),)
|
||||||
echo "Priority: $(PRIORITY)"; \
|
echo "Priority: $(PRIORITY)"; \
|
||||||
echo "Maintainer: $(MAINTAINER)"; \
|
echo "Maintainer: $(MAINTAINER)"; \
|
||||||
echo "Architecture: $(PKGARCH)"; \
|
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'; \
|
echo -n "Description: "; $(SH_FUNC) getvar $(call shvar,Package/$(1)/description) | sed -e 's,^[[:space:]]*, ,g'; \
|
||||||
) > $$(IDIR_$(1))/CONTROL/control
|
) > $$(IDIR_$(1))/CONTROL/control
|
||||||
chmod 644 $$(IDIR_$(1))/CONTROL/control
|
chmod 644 $$(IDIR_$(1))/CONTROL/control
|
||||||
|
|
Loading…
Reference in a new issue