Merge r16867 to 8.09
authorJo-Philipp Wich <jow@openwrt.org>
Thu, 16 Jul 2009 13:40:50 +0000 (13:40 +0000)
committerJo-Philipp Wich <jow@openwrt.org>
Thu, 16 Jul 2009 13:40:50 +0000 (13:40 +0000)
SVN-Revision: 16868

target/linux/x86/base-files/lib/upgrade/platform.sh

index 3d15914..0f79a00 100644 (file)
@@ -13,8 +13,8 @@ platform_check_image() {
 }
 
 platform_do_upgrade() {
 }
 
 platform_do_upgrade() {
-       get_image "$1" > /dev/hda
        sync
        sync
+       get_image "$1" > /dev/hda
 }
 
 x86_prepare_ext2() {
 }
 
 x86_prepare_ext2() {