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:
Alex Deryskyba 2017-07-09 21:44:49 +02:00
parent a2d26e8a5a
commit c53131c923

View File

@ -440,7 +440,7 @@
if [ -f "$UPDATE_DIR/$2" -a -b "$3" ]; then
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"
echo "${result}"
fi