Support GKIs without ramdisk

Fix #5819
This commit is contained in:
topjohnwu
2022-05-12 03:04:55 -07:00
parent 622e09862a
commit 985249c3d0
3 changed files with 17 additions and 2 deletions

View File

@ -111,7 +111,7 @@ if [ -e ramdisk.cpio ]; then
./magiskboot cpio ramdisk.cpio test
STATUS=$?
else
# Stock A only system-as-root
# Stock A only legacy SAR, or some Android 13 GKIs
STATUS=0
fi
case $((STATUS & 3)) in