Backend: use included busybox to create install environment symlinks
- fixes flashing slowdown in TWRP 3.0.0: TWRP3 (currently) appears to have a bugged busybox/ln command which takes an excessive amount of time, no reason not to use our own instead
This commit is contained in:
1 parent
cbcbc49e13
commit
f0bc44a8db
1 file changed
+1
-1
@@ -69,7 +69,7 @@ fi;
|
|||||||
|
|
||||||
ui_print "Installing kernel...";
|
ui_print "Installing kernel...";
|
||||||
for i in $($bb --list); do
|
for i in $($bb --list); do
|
||||||
ln -s $bb /tmp/anykernel/bin/$i;
|
$bb ln -s $bb /tmp/anykernel/bin/$i;
|
||||||
done;
|
done;
|
||||||
if [ $? != 0 -o -z "$(ls /tmp/anykernel/bin)" ]; then
|
if [ $? != 0 -o -z "$(ls /tmp/anykernel/bin)" ]; then
|
||||||
abort "Recovery busybox setup failed. Aborting...";
|
abort "Recovery busybox setup failed. Aborting...";
|
||||||
|
|||||||
Reference in new issue
Block a user