Align with OpenWrt code
Format the code to be aligned with OpenWrt. Move cleaning of overlay to platform_do_upgrade to enable checking if we have a tarball to happen in do_stage2.
Format the code to be aligned with OpenWrt. Move cleaning of overlay to platform_do_upgrade to enable checking if we have a tarball to happen in do_stage2.