diff options
author | John Crispin <blogic@openwrt.org> | 2014-09-11 12:27:26 +0000 |
---|---|---|
committer | John Crispin <blogic@openwrt.org> | 2014-09-11 12:27:26 +0000 |
commit | ca5a47c6d5778c5de8e3ed4bd3780bc19fae7fb3 (patch) | |
tree | de76e881f3873fdff0f7c7d777c377499fcf5a5e /include/package-ipkg.mk | |
parent | e548b195e1aa751ac026b27f0dcd465f63c98a9a (diff) | |
download | upstream-ca5a47c6d5778c5de8e3ed4bd3780bc19fae7fb3.tar.gz upstream-ca5a47c6d5778c5de8e3ed4bd3780bc19fae7fb3.tar.bz2 upstream-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-ipkg.mk')
-rw-r--r-- | include/package-ipkg.mk | 1 |
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)"; ) \ |