Skip to content

Commit

Permalink
buildroot: select util-linux-libs, libuuid and pkgconf
Browse files Browse the repository at this point in the history
In order to use login methods `TEEC_LOGIN_USER` and `TEEC_LOGIN_GROUP`,
a user space application must initialize the tokens with the SHA1
hashed UUID of the user or group.

Select host-pkgconf, util-linux and libuuid in order to use `libuuid`
and add supporting libraries to optee_client for this type of ACL based
login initialization.

Signed-off-by: Eero Aaltonen <eero.aaltonen@vaisala.com>
Acked-by: Jerome Forissier <jerome.forissier@linaro.org>
  • Loading branch information
eaaltonen authored and jforissier committed Sep 8, 2022
1 parent 243e570 commit 4a27543
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 0 deletions.
3 changes: 3 additions & 0 deletions br-ext/package/optee_client_ext/Config.in
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
config BR2_PACKAGE_OPTEE_CLIENT_EXT
bool "optee_client"
select BR2_PACKAGE_UTIL_LINUX
select BR2_PACKAGE_UTIL_LINUX_LIBS
select BR2_PACKAGE_UTIL_LINUX_LIBUUID
help
http://github.org/OP-TEE/optee_client

Expand Down
1 change: 1 addition & 0 deletions br-ext/package/optee_client_ext/optee_client_ext.mk
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ OPTEE_CLIENT_EXT_VERSION = 1.0
OPTEE_CLIENT_EXT_SOURCE = local
OPTEE_CLIENT_EXT_SITE = $(BR2_PACKAGE_OPTEE_CLIENT_EXT_SITE)
OPTEE_CLIENT_EXT_SITE_METHOD = local
OPTEE_CLIENT_EXT_DEPENDENCIES = host-pkgconf util-linux-libs
OPTEE_CLIENT_EXT_INSTALL_STAGING = YES

ifeq ($(BR2_PACKAGE_OPTEE_BENCHMARK_EXT),y)
Expand Down

0 comments on commit 4a27543

Please sign in to comment.