mirror of https://github.com/hak5/openwrt-owl.git
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: 42469owl
parent
b05c2aad3c
commit
285012d897
|
@ -53,6 +53,7 @@ define Package/Default
|
|||
HIDDEN:=
|
||||
URL:=
|
||||
VARIANT:=
|
||||
USERID:=
|
||||
endef
|
||||
|
||||
Build/Patch:=$(Build/Patch/Default)
|
||||
|
|
|
@ -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)
|
||||
|
|
|
@ -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)"; ) \
|
||||
|
|
Loading…
Reference in New Issue