Merge pull request #40 from kafeg/main

Sonoma recovery download fix (800M -> 1450M)
This commit is contained in:
Gabriel Luchina 2024-11-04 19:56:42 -03:00 committed by GitHub
commit 59b7e70d7d
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

2
setup
View File

@ -1413,7 +1413,7 @@ do
if [ ! -e ${ISODIR}/recovery-sonoma.iso ]
then
fallocate -l 800M ${TMPDIR}/recovery-sonoma.iso > ${LOGFILE} 2>> ${LOGFILE}
fallocate -l 1450M ${TMPDIR}/recovery-sonoma.iso > ${LOGFILE} 2>> ${LOGFILE}
mkfs.msdos -F 32 ${TMPDIR}/recovery-sonoma.iso -n SONOMA >> ${LOGFILE} 2>> ${LOGFILE}
LOOPDEV=`losetup -f --show ${TMPDIR}/recovery-sonoma.iso 2>> ${LOGFILE}`
mkdir -p /mnt/APPLE >> ${LOGFILE} 2>> ${LOGFILE}