a5xelte: patch libsec-ril.so to point to new gpsd location
authorDanny Wood <danwood76@gmail.com>
Fri, 24 Jan 2020 10:16:07 +0000 (10:16 +0000)
committerDanny Wood <danwood76@gmail.com>
Tue, 10 Mar 2020 15:16:40 +0000 (15:16 +0000)
Change-Id: Ia52b0b1fed021c2d00632da3e2870b0860b65ff1

extract-files.sh

index 92d0514df5352539ae97d3079e4602bed871c627..e3acaf2f1ade999a8bf26e37576c87f7f80aea28 100755 (executable)
@@ -69,5 +69,7 @@ extract "${MY_DIR}/proprietary-files.txt" "${SRC}" \
 BLOB_ROOT="$LINEAGE_ROOT"/vendor/"$VENDOR"/"$DEVICE"/proprietary
 patchelf --replace-needed libprotobuf-cpp-full.so libprotobuf-cpp-fl26.so $BLOB_ROOT/lib/libsec-ril.so
 patchelf --replace-needed libprotobuf-cpp-full.so libprotobuf-cpp-fl26.so $BLOB_ROOT/lib/libsec-ril-dsds.so
+(perl -pi -e "s/\/system\/bin\/gpsd/\/vendor\/bin\/gpsd/g" $BLOB_ROOT/lib/libsec-ril.so)
+(perl -pi -e "s/\/system\/bin\/gpsd/\/vendor\/bin\/gpsd/g" $BLOB_ROOT/lib/libsec-ril-dsds.so)
 
 "${MY_DIR}/setup-makefiles.sh"