mirror of
https://github.com/palera1n/palera1n.git
synced 2026-12-05 15:54:30 +01:00
other changes i should have made earlier
This commit is contained in:
1 parent
61e87c3ccf
commit
f6c6a6eb5a
1 file changed
+6
-7
+6
-7
@@ -741,7 +741,7 @@ fi
|
|||||||
# ============
|
# ============
|
||||||
|
|
||||||
# Actually create the boot files
|
# Actually create the boot files
|
||||||
if [ ! -f boot-"$deviceid"/.fsboot ]; then
|
if [ ! -f boot-"$deviceid"/.local ]; then
|
||||||
rm -rf boot-"$deviceid"
|
rm -rf boot-"$deviceid"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
@@ -769,15 +769,15 @@ if [ ! -f boot-"$deviceid"/ibot.img4 ]; then
|
|||||||
"$dir"/iBoot64Patcher iBSS.dec iBSS.patched
|
"$dir"/iBoot64Patcher iBSS.dec iBSS.patched
|
||||||
if [ "$semi_tethered" = "1" ]; then
|
if [ "$semi_tethered" = "1" ]; then
|
||||||
if [ "$verbose" = "1" ]; then
|
if [ "$verbose" = "1" ]; then
|
||||||
"$dir"/iBoot64Patcher ibot.dec ibot.patched -b "-v keepsyms=1 debug=0x2014e rd=disk0s1s${disk}" -l
|
"$dir"/iBoot64Patcher ibot.dec ibot.patched -b "-v rd=disk0s1s${disk}" -l
|
||||||
else
|
else
|
||||||
"$dir"/iBoot64Patcher ibot.dec ibot.patched -b "keepsyms=1 debug=0x2014e rd=disk0s1s${disk}" -l
|
"$dir"/iBoot64Patcher ibot.dec ibot.patched -b "rd=disk0s1s${disk}" -l
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
if [ "$verbose" = "1" ]; then
|
if [ "$verbose" = "1" ]; then
|
||||||
"$dir"/iBoot64Patcher ibot.dec ibot.patched -b '-v keepsyms=1 debug=0x2014e' -l
|
"$dir"/iBoot64Patcher ibot.dec ibot.patched -b '-v' -l
|
||||||
else
|
else
|
||||||
"$dir"/iBoot64Patcher ibot.dec ibot.patched -b 'keepsyms=1 debug=0x2014e' -l
|
"$dir"/iBoot64Patcher ibot.dec ibot.patched -l
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if [ "$os" = 'Linux' ]; then
|
if [ "$os" = 'Linux' ]; then
|
||||||
@@ -789,9 +789,8 @@ if [ ! -f boot-"$deviceid"/ibot.img4 ]; then
|
|||||||
cd ..
|
cd ..
|
||||||
"$dir"/img4 -i work/iBSS.patched -o boot-"$deviceid"/iBSS.img4 -M work/IM4M -A -T ibss
|
"$dir"/img4 -i work/iBSS.patched -o boot-"$deviceid"/iBSS.img4 -M work/IM4M -A -T ibss
|
||||||
"$dir"/img4 -i work/ibot.patched -o boot-"$deviceid"/ibot.img4 -M work/IM4M -A -T `if [[ "$cpid" == *"0x801"* ]]; then echo "ibss"; else echo "ibec"; fi`
|
"$dir"/img4 -i work/ibot.patched -o boot-"$deviceid"/ibot.img4 -M work/IM4M -A -T `if [[ "$cpid" == *"0x801"* ]]; then echo "ibss"; else echo "ibec"; fi`
|
||||||
"$dir"/img4 -i other/bootlogo.im4p -o boot-"$deviceid"/bootlogo.img4 -M work/IM4M -A -T rlgo
|
|
||||||
|
|
||||||
touch boot-"$deviceid"/.fsboot
|
touch boot-"$deviceid"/.local
|
||||||
fi
|
fi
|
||||||
|
|
||||||
# ============
|
# ============
|
||||||
|
|||||||
Reference in new issue
Block a user