From: jow <jow@3c298f89-4303-0410-b956-a3cf2f4a3e73>
Date: Sat, 2 Oct 2010 04:04:12 +0000 (+0000)
Subject: [include] prime .ipk control files with Status: field to introduce hold for post... 
X-Git-Url: https://git.rohieb.name/openwrt.git/commitdiff_plain/bcb57ac2eae62d3b8e80960f5ee36ae05f8f3f51?ds=inline

[include] prime .ipk control files with Status: field to introduce hold for post flash installed packages


git-svn-id: svn://svn.openwrt.org/openwrt/trunk@23175 3c298f89-4303-0410-b956-a3cf2f4a3e73
---

diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index edee6a4c5..f08cf897c 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -101,6 +101,7 @@ ifeq ($(DUMP),)
 		echo "Provides: $(PROVIDES)"; \
 		echo "Source: $(SOURCE)"; \
 		echo "Section: $(SECTION)"; \
+		echo "Status: install $(if $(filter hold,$(PKG_FLAGS)),hold,ok) not-installed"; \
 		echo "Priority: $(PRIORITY)"; \
 		echo "Maintainer: $(MAINTAINER)"; \
 		echo "Architecture: $(PKGARCH)"; \