aboutsummaryrefslogtreecommitdiffstats
path: root/include/package-ipkg.mk
diff options
context:
space:
mode:
authorJohn Crispin <john@openwrt.org>2014-09-11 12:27:26 +0000
committerJohn Crispin <john@openwrt.org>2014-09-11 12:27:26 +0000
commit285012d8972b1891c78d9d77b8a2f7d4e81ae829 (patch)
treedfcf938e14bbfbcb1ba92dda067751f798c7c4f3 /include/package-ipkg.mk
parentb05c2aad3cf60ff9b55de616d310b86f6eac5104 (diff)
downloadupstream-285012d8972b1891c78d9d77b8a2f7d4e81ae829.tar.gz
upstream-285012d8972b1891c78d9d77b8a2f7d4e81ae829.tar.bz2
upstream-285012d8972b1891c78d9d77b8a2f7d4e81ae829.zip
include: add a meta data field for required system user:group
this is in preparation of having services run as !root with ACL'ed access to ubus. Signed-off-by: John Crispin <blogic@openwrt.org> SVN-Revision: 42469
Diffstat (limited to 'include/package-ipkg.mk')
-rw-r--r--include/package-ipkg.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/package-ipkg.mk b/include/package-ipkg.mk
index 5c83b3d58b..1caeaa25b6 100644
--- a/include/package-ipkg.mk
+++ b/include/package-ipkg.mk
@@ -165,6 +165,7 @@ ifeq ($(DUMP),)
$(if $(PKG_LICENSE), echo "License: $(PKG_LICENSE)"; ) \
$(if $(PKG_LICENSE_FILES), echo "LicenseFiles: $(PKG_LICENSE_FILES)"; ) \
echo "Section: $(SECTION)"; \
+ $(if $(USERID),echo "Require-User: $(USERID)"; ) \
$(if $(filter hold,$(PKG_FLAGS)),echo "Status: unknown hold not-installed"; ) \
$(if $(filter essential,$(PKG_FLAGS)), echo "Essential: yes"; ) \
$(if $(MAINTAINER),echo "Maintainer: $(MAINTAINER)"; ) \