From 989900d133e54bba3c9ff89190ae4c25859bee89 Mon Sep 17 00:00:00 2001 From: jow Date: Thu, 16 Jul 2009 13:39:36 +0000 Subject: [PATCH] [PATCH] sysupgrade-ext2 sync before writing image, not after Sysupgrade for ext2 currently flushes the filesystem buffers after an image is written to the disk. This should happen before the image is written. git-svn-id: svn://svn.openwrt.org/openwrt/trunk@16867 3c298f89-4303-0410-b956-a3cf2f4a3e73 --- target/linux/x86/base-files/lib/upgrade/platform.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/target/linux/x86/base-files/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh index 3d1591461..0f79a00cb 100644 --- a/target/linux/x86/base-files/lib/upgrade/platform.sh +++ b/target/linux/x86/base-files/lib/upgrade/platform.sh @@ -13,8 +13,8 @@ platform_check_image() { } platform_do_upgrade() { - get_image "$1" > /dev/hda sync + get_image "$1" > /dev/hda } x86_prepare_ext2() { -- 2.11.0