mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
busybox: init: do not use dd option conv=fsync when updating kernel on a block device
Makes updates much faster for NAND installations on Amlogic-based devices.
This commit is contained in:
parent
a2d26e8a5a
commit
c53131c923
@ -440,7 +440,7 @@
|
|||||||
|
|
||||||
if [ -f "$UPDATE_DIR/$2" -a -b "$3" ]; then
|
if [ -f "$UPDATE_DIR/$2" -a -b "$3" ]; then
|
||||||
StartProgress spinner "Updating $1... "
|
StartProgress spinner "Updating $1... "
|
||||||
result="$(dd if="$UPDATE_DIR/$2" of="$3" conv=fsync 2>&1)"
|
result="$(dd if="$UPDATE_DIR/$2" of="$3" 2>&1)"
|
||||||
StopProgress "done"
|
StopProgress "done"
|
||||||
echo "${result}"
|
echo "${result}"
|
||||||
fi
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user