2
0
mirror of https://github.com/topjohnwu/Magisk synced 2025-08-31 10:55:11 +00:00

Drop image based Magisk support

This commit is contained in:
topjohnwu
2019-12-15 21:01:12 -05:00
parent 404104208f
commit 06c42d05c3
2 changed files with 9 additions and 48 deletions

View File

@@ -446,23 +446,6 @@ request_zip_size_check() {
reqSizeM=`unzip -l "$1" | tail -n 1 | awk '{ print int(($1 - 1) / 1048576 + 1) }'`
}
##################################
# Backwards Compatibile Functions
##################################
get_outfd() { setup_flashable; }
mount_magisk_img() {
$BOOTMODE && MODULE_BASE=modules_update || MODULE_BASE=modules
MODULEPATH=$NVBASE/$MODULE_BASE
mkdir -p $MODULEPATH 2>/dev/null
ln -s $MODULEPATH $MOUNTPATH
}
unmount_magisk_img() {
rm -f $MOUNTPATH 2>/dev/null
}
boot_actions() { return; }
########