base-files: sysupgrade: pass "backup" ubus attribute
authorRafał Miłecki <rafal@milecki.pl>
Fri, 6 Sep 2019 05:10:52 +0000 (07:10 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Mon, 16 Sep 2019 03:56:25 +0000 (05:56 +0200)
commit47a5f5c7e784dde805c530ee8a3870f093ab0a2e
tree8aa85be24a4d05b556ceb77ac8f0146455628f7f
parent0da990b773ca1f1e5bca648fedc05506c8a2da94
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