aboutsummaryrefslogtreecommitdiffstats
path: root/include/package-dumpinfo.mk
diff options
context:
space:
mode:
authorJohn Crispin <blogic@openwrt.org>2014-09-11 12:27:26 +0000
committerJohn Crispin <blogic@openwrt.org>2014-09-11 12:27:26 +0000
commitca5a47c6d5778c5de8e3ed4bd3780bc19fae7fb3 (patch)
treede76e881f3873fdff0f7c7d777c377499fcf5a5e /include/package-dumpinfo.mk
parente548b195e1aa751ac026b27f0dcd465f63c98a9a (diff)
downloadmaster-187ad058-ca5a47c6d5778c5de8e3ed4bd3780bc19fae7fb3.tar.gz
master-187ad058-ca5a47c6d5778c5de8e3ed4bd3780bc19fae7fb3.tar.bz2
master-187ad058-ca5a47c6d5778c5de8e3ed4bd3780bc19fae7fb3.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> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@42469 3c298f89-4303-0410-b956-a3cf2f4a3e73
Diffstat (limited to 'include/package-dumpinfo.mk')
-rw-r--r--include/package-dumpinfo.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/package-dumpinfo.mk b/include/package-dumpinfo.mk
index 9dc847dc1d..0241580522 100644
--- a/include/package-dumpinfo.mk
+++ b/include/package-dumpinfo.mk
@@ -41,7 +41,8 @@ $(if $(VARIANT),Build-Variant: $(VARIANT)
Category: $(CATEGORY)
Title: $(TITLE)
Maintainer: $(MAINTAINER)
-Source: $(PKG_SOURCE)
+$(if $(USERID),Require-User: $(USERID)
+)Source: $(PKG_SOURCE)
Type: $(if $(Package/$(1)/targets),$(Package/$(1)/targets),$(if $(PKG_TARGETS),$(PKG_TARGETS),ipkg))
$(if $(KCONFIG),Kernel-Config: $(KCONFIG)
)$(if $(BUILDONLY),Build-Only: $(BUILDONLY)