sysupgrade: support "backup" attribute
authorRafał Miłecki <rafal@milecki.pl>
Wed, 11 Sep 2019 06:58:15 +0000 (08:58 +0200)
committerRafał Miłecki <rafal@milecki.pl>
Wed, 11 Sep 2019 06:58:15 +0000 (08:58 +0200)
commitb8238df0fb9585b5ec9acbc0f4285dad953f2192
tree1f9be41a5fbcdcf818f561bc266c83aab6c2ff97
parent0f3c1366bb927e483abfae23dee0d15e26f87064
sysupgrade: support "backup" attribute

This new attribute allows passing path of the backup archive. It
provides much more flexibility than hardcoding /tmp/sysupgrade.tgz. It
may help avoiding some cp/mv for user-provided backup archive.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
initd/preinit.c
system.c
sysupgrade.c
sysupgrade.h