base-files: sysupgrade: pass "backup" ubus attribute
authorRafał Miłecki <rafal@milecki.pl>
Fri, 6 Sep 2019 05:10:52 +0000 (07:10 +0200)
committerRISCi_ATOM <bob@bobcall.me>
Tue, 17 Sep 2019 13:34:59 +0000 (09:34 -0400)
commit11de406764febfa29fce6933d55a3ec763937c1b
tree12050afb7c7dbc001065d933e841c4cc97dffb39
parent45f5f822cf8f216b8645dcd9cccff8bda95aed1e
base-files: sysupgrade: pass "backup" ubus attribute

This explicitly tells procd what backup file should be used during
sysupgrade (if any). It's much more generic this way compared to the
magic /tmp/sysupgrade.tgz file that had to be created before a call.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
(cherry picked from commit c5223b26a40ae61fc7750bf865464048af328ab1)
package/base-files/files/sbin/sysupgrade