1
0
mirror of https://git.openwrt.org/openwrt/openwrt.git synced 2024-10-02 00:51:21 +02:00

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
This commit is contained in:
Jo-Philipp Wich 2009-07-16 13:39:36 +00:00
parent 7bf05123f8
commit 5231811851

@ -13,8 +13,8 @@ platform_check_image() {
}
platform_do_upgrade() {
get_image "$1" > /dev/hda
sync
get_image "$1" > /dev/hda
}
x86_prepare_ext2() {