mirror of
git://projects.qi-hardware.com/openwrt-xburst.git
synced 2025-04-21 12:27:27 +03:00
[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
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user