File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -14,8 +14,8 @@ TMP=$F/tmp;
14
14
$F /busybox rm -rf $TMP 2> /dev/null;
15
15
$F /busybox mkdir -p $TMP ;
16
16
$F /busybox sed -i " /export ZIPFILE=\"\$ 3\" ;/a export STATE=\"\$ 4\" ;\nexport SLOT=\"\$ 5\" ;" $F /update-binary;
17
- $F /busybox sed -i ' s/\[ -e \/dev\/block\/$byname\/system \] || slot=\$(find_slot);/[ -e \/dev\/block\/$byname\/system ] || slot=$SLOT;/' $F /update-binary;
18
- $F /busybox sed -i ' /setup_env;/i sed -i "/is_slot_device=auto/i SLOT_SELECT =$4" anykernel.sh' $F /update-binary;
17
+ # # $F/busybox sed -i 's/\[ -e \/dev\/block\/$byname\/system \] || slot=\$(find_slot);/[ -e \/dev\/block\/$byname\/system ] || slot=$SLOT;/' $F/update-binary;
18
+ $F /busybox sed -i ' /setup_env;/i sed -i "/is_slot_device=auto/i slot_select =$4" anykernel.sh' $F /update-binary;
19
19
$F /busybox sed -i ' /setup_env;/i sed -i ' \' ' s/is_slot_device=auto/is_slot_device=1/' \' ' anykernel.sh' $F /update-binary;
20
20
21
21
# update-binary <RECOVERY_API_VERSION> <OUTFD> <ZIPFILE>
You can’t perform that action at this time.
0 commit comments