mirror of https://github.com/hak5/openwrt-owl.git
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: 16867owl
parent
7bf05123f8
commit
5231811851
|
@ -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() {
|
||||||
|
|
Loading…
Reference in New Issue