diff options
author | Jo-Philipp Wich <jow@openwrt.org> | 2009-07-16 13:39:36 +0000 |
---|---|---|
committer | Jo-Philipp Wich <jow@openwrt.org> | 2009-07-16 13:39:36 +0000 |
commit | 5231811851593982f403e34b6f24bc42e818f4f9 (patch) | |
tree | b99595c94ae24c433c018d65f67d3315dd1b96e2 /target/linux/x86/base-files/lib/upgrade | |
parent | 7bf05123f877df22ab151d86e0827ac536f80426 (diff) | |
download | upstream-5231811851593982f403e34b6f24bc42e818f4f9.tar.gz upstream-5231811851593982f403e34b6f24bc42e818f4f9.tar.bz2 upstream-5231811851593982f403e34b6f24bc42e818f4f9.zip |
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.
SVN-Revision: 16867
Diffstat (limited to 'target/linux/x86/base-files/lib/upgrade')
-rw-r--r-- | target/linux/x86/base-files/lib/upgrade/platform.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/target/linux/x86/base-files/lib/upgrade/platform.sh b/target/linux/x86/base-files/lib/upgrade/platform.sh index 3d15914617..0f79a00cb8 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() { |