Hi all,

Sysupgrade for ext2 currently flushes the filesystem buffers after an
image is written to the disk. This should happen before the image is
written.

This has already been fixed in default_do_upgrade in common.sh (see
r16488). Please apply, thanks.

Fabian

Index: target/linux/x86/base-files/lib/upgrade/platform.sh
===================================================================
--- target/linux/x86/base-files/lib/upgrade/platform.sh (revision 16857)
+++ target/linux/x86/base-files/lib/upgrade/platform.sh (working copy)
@@ -13,8 +13,8 @@
 }
 
 platform_do_upgrade() {
+       sync
        get_image "$1" > /dev/hda
-       sync
 }
 
 x86_prepare_ext2() {


_______________________________________________
openwrt-devel mailing list
openwrt-devel@lists.openwrt.org
https://lists.openwrt.org/mailman/listinfo/openwrt-devel

Reply via email to