base-files: always use staged sysupgrade
authorMatthias Schiffer <mschiffer@universe-factory.net>
Fri, 21 Apr 2017 22:54:50 +0000 (00:54 +0200)
committerMatthias Schiffer <mschiffer@universe-factory.net>
Mon, 29 May 2017 21:50:32 +0000 (23:50 +0200)
commit30f61a34b4cfd2c676fea4a919e089d6a77254e9
tree7871075ece4c004f08f90da8f9a4692d11ae782c
parent393817df5d7046fadf137f9b0a363cb00551d2de
base-files: always use staged sysupgrade

Support for the -d and -p options is dropped; it may be added again at some
point by adding these flags to the ubus sysupgrade call.

A downside of this is that we get a lot less information about the progress
of the upgrade: as soon as the actual upgrade starts, all shell sessions
are killed to allow unmounting the root filesystem.

Signed-off-by: Matthias Schiffer <mschiffer@universe-factory.net>
package/base-files/files/lib/upgrade/common.sh
package/base-files/files/lib/upgrade/nand.sh
package/base-files/files/lib/upgrade/stage2 [new file with mode: 0755]
package/base-files/files/sbin/sysupgrade