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