From: Danny Wood Date: Fri, 24 Jan 2020 10:16:07 +0000 (+0000) Subject: a5xelte: patch libsec-ril.so to point to new gpsd location X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=0713f0224670c18f7ebf7383bfb7cfcce012a9d0;p=GitHub%2FLineageOS%2Fandroid_device_samsung_a5xelte.git a5xelte: patch libsec-ril.so to point to new gpsd location Change-Id: Ia52b0b1fed021c2d00632da3e2870b0860b65ff1 --- diff --git a/extract-files.sh b/extract-files.sh index 92d0514..e3acaf2 100755 --- a/extract-files.sh +++ b/extract-files.sh @@ -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"