sm8550-common: init: Override QTI audio rpc daemon service definition

The rpc daemon doesn't support loading ADSP libs from odm partition,
therefore locally set environment variable ADSP_LIBRARY_PATH to allow
that to happen, just like stock does.

Just as a sidenote, during early bringup phase the quick workaround
was to move the relevant blobs from odm to vendor, but then ditched
in favor of copying the stock script. Now, instead of copying it,
simply override the service definition and avoid one duplicate copy
rule.

Change-Id: Ic78536afda4f86ea589e57adf496b4db8256aea1
This commit is contained in:
Bruno Martins
2023-11-16 16:51:29 +00:00
committed by Mezaque Silver
parent 9305a597e2
commit 04419dcc81

View File

@@ -199,3 +199,10 @@ service vendor.audio-hal /vendor/bin/hw/android.hardware.audio.service
ioprio rt 4
task_profiles ProcessCapacityHigh HighPerformance
onrestart restart audioserver
service vendor.audioadsprpcd_audiopd /vendor/bin/audioadsprpcd audiopd
override
class main
user media
group media
setenv ADSP_LIBRARY_PATH ";/system/lib/rfsa/adsp;/system/vendor/lib/rfsa/adsp;/dsp;/vendor/dsp;/odm/lib/rfsa/adsp;/vendor/lib/rfsa/adsp"