mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-12-14 06:45:09 +00:00
Fix scripts
manager.sh + boot_patch.sh: - all listed files from boot_patch.sh header are required for boot patching, but stub.apk was being removed so install_magisk via addon.d.sh would fail without it; leave it in place addon.d.sh: - remove old redundant recovery_actions call (it's also performed by setup_flashable in initialize) - print ABI to match flash_script.sh output boot_patch.sh: - catch and abort on any errors from ramdisk.cpio patching in the future util_functions.sh: - fix hiding of mount_partitions /system_root umount stderr - quote mount_apex .pb DEST name parsing charset for safety even though both work Fixes #6828
This commit is contained in:
@@ -44,7 +44,6 @@ fix_env() {
|
||||
rm -rf $MAGISKBIN/*
|
||||
mkdir -p $MAGISKBIN 2>/dev/null
|
||||
chmod 700 $NVBASE
|
||||
rm $1/stub.apk 2>/dev/null
|
||||
cp_readlink $1 $MAGISKBIN
|
||||
rm -rf $1
|
||||
chown -R 0:0 $MAGISKBIN
|
||||
|
||||
Reference in New Issue
Block a user