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