Fix .rc file for keymint-service.nonsecure

This target was using the same `.rc` as the keymint-service target,
though it had a different name.

Bug: 331474817
Test: LOCAL_KEYMINT_PRODUCT_PACKAGE=android.hardware.security.keymint-service.nonsecure m && launch_cvd --noresume --secure_hals=keymint,oemlock
Change-Id: I0f744b75e451f6780d8f6c9bddbd5ea80c579a20
This commit is contained in:
A. Cody Schuffelen
2024-03-26 15:40:37 -07:00
parent cfa68a1fbb
commit ddc6a8dbdf
2 changed files with 4 additions and 1 deletions

View File

@@ -50,7 +50,7 @@ rust_binary {
name: "android.hardware.security.keymint-service.nonsecure",
relative_install_path: "hw",
vendor: true,
init_rc: ["android.hardware.security.keymint-service.rc"],
init_rc: ["android.hardware.security.keymint-service.nonsecure.rc"],
vintf_fragments: [
"android.hardware.security.keymint-service.xml",
"android.hardware.security.sharedsecret-service.xml",

View File

@@ -0,0 +1,3 @@
service vendor.keymint-default /vendor/bin/hw/android.hardware.security.keymint-service.nonsecure
class early_hal
user nobody