AK3: fix simple multi-partition mode on devices with init_boot but not vendor_kernel_boot
This commit is contained in:
1 parent
6f88dff82b
commit
71e5f44869
2 files changed
+2
-2
No files matched your search
@@ -3,4 +3,4 @@
|
|||||||
# Dummy file; update-binary is a shell script (DO NOT CHANGE)
|
# Dummy file; update-binary is a shell script (DO NOT CHANGE)
|
||||||
#
|
#
|
||||||
#
|
#
|
||||||
# AK_BASE_VERSION=20250518
|
# AK_BASE_VERSION=20260130
|
||||||
+1
-1
@@ -858,7 +858,7 @@ setup_ak() {
|
|||||||
rmdir -p modules patch ramdisk 2>/dev/null;
|
rmdir -p modules patch ramdisk 2>/dev/null;
|
||||||
|
|
||||||
# automate simple multi-partition setup for hdr_v4 boot + init_boot + vendor_kernel_boot (for dtb only until magiskboot supports hdr v4 vendor_ramdisk unpack/repack)
|
# automate simple multi-partition setup for hdr_v4 boot + init_boot + vendor_kernel_boot (for dtb only until magiskboot supports hdr v4 vendor_ramdisk unpack/repack)
|
||||||
if [ -e "/dev/block/bootdevice/by-name/init_boot$SLOT" -a ! -f init_v4_setup ] && [ -f dtb -o -d vendor_ramdisk -o -d vendor_patch ]; then
|
if [ -e "/dev/block/bootdevice/by-name/init_boot$SLOT" -a -e "/dev/block/bootdevice/by-name/vendor_kernel_boot$SLOT" -a ! -f init_v4_setup ] && [ -f dtb -o -d vendor_ramdisk -o -d vendor_patch ]; then
|
||||||
echo "Setting up for simple automatic init_boot flashing..." >&2;
|
echo "Setting up for simple automatic init_boot flashing..." >&2;
|
||||||
(mkdir boot-files;
|
(mkdir boot-files;
|
||||||
mv -f Image* boot-files;
|
mv -f Image* boot-files;
|
||||||
|
|||||||
Reference in new issue
Block a user