mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-24 03:37:58 +00:00
Run copy_preinit_files in run_migrations
This commit is contained in:
parent
c8fe0f5524
commit
a8789073f1
@ -66,7 +66,6 @@ direct_install() {
|
||||
rm -f $1/new-boot.img
|
||||
fix_env $1
|
||||
run_migrations
|
||||
copy_preinit_files
|
||||
|
||||
return 0
|
||||
}
|
||||
@ -232,7 +231,7 @@ app_init() {
|
||||
RAMDISKEXIST=false
|
||||
check_boot_ramdisk && RAMDISKEXIST=true
|
||||
get_flags >/dev/null
|
||||
run_migrations
|
||||
run_migrations >/dev/null
|
||||
SHA1=$(grep_prop SHA1 $MAGISKTMP/.magisk/config)
|
||||
check_encryption
|
||||
|
||||
|
@ -556,6 +556,8 @@ run_migrations() {
|
||||
rm -f $BACKUP
|
||||
gzip -9f $TARGET
|
||||
done
|
||||
|
||||
copy_preinit_files
|
||||
}
|
||||
|
||||
copy_preinit_files() {
|
||||
|
Loading…
x
Reference in New Issue
Block a user