ubox: run logd non-root as user logd

Signed-off-by: Daniel Golle <daniel@makrotopia.org>
This commit is contained in:
Daniel Golle 2020-10-19 21:37:38 +01:00
parent 472a06f707
commit bd8c3314fb

View File

@ -1,13 +1,13 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=ubox PKG_NAME:=ubox
PKG_RELEASE:=4 PKG_RELEASE:=1
PKG_SOURCE_PROTO:=git PKG_SOURCE_PROTO:=git
PKG_SOURCE_URL=$(PROJECT_GIT)/project/ubox.git PKG_SOURCE_URL=$(PROJECT_GIT)/project/ubox.git
PKG_SOURCE_DATE:=2019-12-31 PKG_SOURCE_DATE:=2020-10-25
PKG_SOURCE_VERSION:=0e34af143373126fc62b43612233a158694ec643 PKG_SOURCE_VERSION:=9ef886819dd48303d8ced4cdbc9afbf32682535c
PKG_MIRROR_HASH:=8ad36b252419a88d1018addec84900f9601ef5aece39bd0171c918d0817688c9 PKG_MIRROR_HASH:=e2d93b798b91de98cb003f7b3be97d3d8a2413c8612b527d096c86ac5365cbdd
CMAKE_INSTALL:=1 CMAKE_INSTALL:=1
PKG_LICENSE:=GPL-2.0 PKG_LICENSE:=GPL-2.0
@ -44,6 +44,7 @@ define Package/logd
CATEGORY:=Base system CATEGORY:=Base system
DEPENDS:=+libubox +libubus +libblobmsg-json +USE_GLIBC:librt DEPENDS:=+libubox +libubus +libblobmsg-json +USE_GLIBC:librt
TITLE:=OpenWrt system log implementation TITLE:=OpenWrt system log implementation
USERID:=logd=514:logd=514
endef endef
define Package/getrandom/install define Package/getrandom/install