From c53131c9232fb15ae32f561bb86a453c82efccc4 Mon Sep 17 00:00:00 2001 From: Alex Deryskyba Date: Sun, 9 Jul 2017 21:44:49 +0200 Subject: [PATCH] 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. --- packages/sysutils/busybox/scripts/init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/sysutils/busybox/scripts/init b/packages/sysutils/busybox/scripts/init index 20f8651fd7..aa605c4634 100755 --- a/packages/sysutils/busybox/scripts/init +++ b/packages/sysutils/busybox/scripts/init @@ -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