rpmb_dev: add rpmb_dev package

rpmb_dev is a mock implementation of rpmb for storageproxy.
It is used on emulation platforms where we don't have
real rpmb support in ufs.

Change-Id: I7a0d9e3ae2fef4c7652df9558c1d0aaaea328949
Test: storageproxyd
Bug: 328769740
Signed-off-by: Yurii Shutkin <shutkin@google.com>
This commit is contained in:
Yurii Shutkin 2024-03-13 10:37:40 +01:00
parent c44cfe952d
commit f02f35fa9c
3 changed files with 9 additions and 0 deletions

View file

@ -0,0 +1,3 @@
BOARD_VENDOR_SEPOLICY_DIRS += device/google/gs-common/trusty/rpmb_dev/sepolicy
PRODUCT_PACKAGES += rpmb_dev

View file

@ -0,0 +1,2 @@
# Binaries
/vendor/bin/rpmb_dev u:object_r:rpmb_dev_exec:s0

View file

@ -0,0 +1,4 @@
type rpmb_dev, domain;
type rpmb_dev_exec, vendor_file_type, exec_type, file_type;
init_daemon_domain(rpmb_dev)