mirror of
https://github.com/topjohnwu/Magisk.git
synced 2025-04-16 18:01:25 +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
|
rm -f $1/new-boot.img
|
||||||
fix_env $1
|
fix_env $1
|
||||||
run_migrations
|
run_migrations
|
||||||
copy_preinit_files
|
|
||||||
|
|
||||||
return 0
|
return 0
|
||||||
}
|
}
|
||||||
@ -232,7 +231,7 @@ app_init() {
|
|||||||
RAMDISKEXIST=false
|
RAMDISKEXIST=false
|
||||||
check_boot_ramdisk && RAMDISKEXIST=true
|
check_boot_ramdisk && RAMDISKEXIST=true
|
||||||
get_flags >/dev/null
|
get_flags >/dev/null
|
||||||
run_migrations
|
run_migrations >/dev/null
|
||||||
SHA1=$(grep_prop SHA1 $MAGISKTMP/.magisk/config)
|
SHA1=$(grep_prop SHA1 $MAGISKTMP/.magisk/config)
|
||||||
check_encryption
|
check_encryption
|
||||||
|
|
||||||
|
@ -556,6 +556,8 @@ run_migrations() {
|
|||||||
rm -f $BACKUP
|
rm -f $BACKUP
|
||||||
gzip -9f $TARGET
|
gzip -9f $TARGET
|
||||||
done
|
done
|
||||||
|
|
||||||
|
copy_preinit_files
|
||||||
}
|
}
|
||||||
|
|
||||||
copy_preinit_files() {
|
copy_preinit_files() {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user