s5neolte: 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>
Fri, 24 Jan 2020 11:25:35 +0000 (11:25 +0000)
Change-Id: Ia52b0b1fed021c2d00632da3e2870b0860b65ff1

extract-files.sh

index 92d4f3ea1c1bec855c95d0f5a37bc32834a50ee7..e895bc80c26519f61c275ecc38a34052a7cc9b02 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"