vendor: change vendor to lineage
Change-Id: I2df13091f5d62b552ef434aef1a389f4fe1249e0
This commit is contained in:
committed by
Michael Bestas
parent
b0ea62a5df
commit
91f7620c4d
@@ -685,8 +685,8 @@ function oat2dex() {
|
||||
local OAT=
|
||||
|
||||
if [ -z "$BAKSMALIJAR" ] || [ -z "$SMALIJAR" ]; then
|
||||
export BAKSMALIJAR="$CM_ROOT"/vendor/cm/build/tools/smali/baksmali.jar
|
||||
export SMALIJAR="$CM_ROOT"/vendor/cm/build/tools/smali/smali.jar
|
||||
export BAKSMALIJAR="$CM_ROOT"/vendor/lineage/build/tools/smali/baksmali.jar
|
||||
export SMALIJAR="$CM_ROOT"/vendor/lineage/build/tools/smali/smali.jar
|
||||
fi
|
||||
|
||||
# Extract existing boot.oats to the temp folder
|
||||
@@ -837,7 +837,7 @@ function extract() {
|
||||
# If OTA is block based, extract it.
|
||||
elif [ -a "$DUMPDIR"/system.new.dat ]; then
|
||||
echo "Converting system.new.dat to system.img"
|
||||
python "$CM_ROOT"/vendor/cm/build/tools/sdat2img.py "$DUMPDIR"/system.transfer.list "$DUMPDIR"/system.new.dat "$DUMPDIR"/system.img 2>&1
|
||||
python "$CM_ROOT"/vendor/lineage/build/tools/sdat2img.py "$DUMPDIR"/system.transfer.list "$DUMPDIR"/system.new.dat "$DUMPDIR"/system.img 2>&1
|
||||
rm -rf "$DUMPDIR"/system.new.dat "$DUMPDIR"/system
|
||||
mkdir "$DUMPDIR"/system "$DUMPDIR"/tmp
|
||||
echo "Requesting sudo access to mount the system.img"
|
||||
|
Reference in New Issue
Block a user