Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit a039a46b authored by Volodymyr Zhdanov's avatar Volodymyr Zhdanov Committed by Michael Bestas
Browse files

extract_utils: implement patchelf

Change-Id: I406f70ef1ce9ec7a0998f77439b7d3fa3ec4e62a
parent 3db3630f
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -1264,6 +1264,10 @@ function oat2dex() {
        export CDEXCONVERTER="$LINEAGE_ROOT"/prebuilts/tools-lineage/${HOST}-x86/bin/compact_dex_converter
    fi

    if [ -z "$PATCHELF" ]; then
        export PATCHELF="$LINEAGE_ROOT"/prebuilts/tools-lineage/${HOST}-x86/bin/patchelf
    fi

    # Extract existing boot.oats to the temp folder
    if [ -z "$ARCHES" ]; then
        echo "Checking if system is odexed and locating boot.oats..."