a7xelte: 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)
committerSourajit Karmakar <sourajit.karmakar@gmail.com>
Tue, 7 Jul 2020 16:17:49 +0000 (12:17 -0400)
Change-Id: Ia52b0b1fed021c2d00632da3e2870b0860b65ff1

extract-files.sh

index 2ff16579629a4c1a9e9654f3d940a3eb3b8399b9..f960e1534e0d4a0893cc747f81ca6d79a675d6b6 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"