Skip to content
Snippets Groups Projects
Unverified Commit e7488488 authored by LuK1337's avatar LuK1337 Committed by Joshua Blanchard
Browse files

beckham: Patch prebuilt P blobs to load libprocessgroup

* The symbol `set_sched_policy` users moved from libcutils
  to libprocessgroup, so change out the dependency.
* Pin the patched HAL, leave patching logic for when we want
  to update it.

Change-Id: I0151324ec561e2c8c1bcd12fb87254de0d92706a
parent 04923d61
No related branches found
No related tags found
No related merge requests found
......@@ -51,3 +51,6 @@ sed -i "s/input/uhid input/" "$FP_SERVICE_RC"
# Correct mods gid
MOD_PERM="$BLOB_ROOT"/etc/permissions/com.motorola.mod.xml
sed -i "s|mot_mod|oem_5020|g" "$MOD_PERM"
AUDIO_HAL="$BLOB_ROOT"/vendor/lib/hw/audio.primary.sdm660.so
patchelf --replace-needed libcutils.so libprocessgroup.so "$AUDIO_HAL"
......@@ -8,7 +8,7 @@ etc/acdbdata/Headset_cal.acdb:vendor/etc/acdbdata/Headset_cal.acdb
etc/acdbdata/Speaker_cal.acdb:vendor/etc/acdbdata/Speaker_cal.acdb
# Audio - Prebuilt
vendor/lib/hw/audio.primary.sdm660.so
vendor/lib/hw/audio.primary.sdm660.so|974ff23c1084f0b5d87d4571ecdbd6ccd0fce33c
vendor/lib/libaudioroute.so
vendor/lib/libmotaudioutils.so
vendor/lib/libsensorndkbridge.so
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment